This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Hi,

When I was running " nmake -f Makefile.nmake setup " at command prompt I am facing error with the unzip. But I think it is taking the unzip from cygwin path only. In the earlier versions this command was working. Your help is valuable.

C:\Wireshark_1.12.0\wireshark-1.12.0>nmake -f Makefile.nmake setup

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

ERROR: The contents of 'C:\Wireshark-win32-libs-1.12\current_tag.txt' is (unknown).
It should be 2014-06-19.

Can't find Qt. This will become a problem at some point.
Checking for required applications:
        cl: /cygdrive/c/Program Files/Microsoft Visual Studio 10.0/VC/BIN/cl
        link: /cygdrive/c/Program Files/Microsoft Visual Studio 10.0/VC/BIN/link
        nmake: nmake
        bash: /usr/bin/bash
        bison: /usr/bin/bison
        flex: /usr/bin/flex
        env: /usr/bin/env
        grep: /usr/bin/grep
        /usr/bin/find: /usr/bin/find
        peflags: /usr/bin/peflags
        perl: /usr/bin/perl
        C:\Python27\python.exe: /cygdrive/c/Python27/python.exe
        sed: /usr/bin/sed
        unzip: /usr/bin/unzip
        wget: /usr/bin/wget
        cd "C:\Wireshark-win32-libs-1.12"
        rm -r -f adns-1.0-win32-05ws
        rm -r -f c-ares-1.5.3ws
        rm -r -f c-ares-1.6.0ws
        rm -r -f c-ares-1.7.0-win??ws
        rm -r -f c-ares-1.7.1-win??ws
        rm -r -f c-ares-1.9.1-1-win??ws
        rm -r -f gettext-0.14.5
        rm -r -f gettext-runtime-0.17
        rm -r -f gettext-runtime-0.17-1
        rm -r -f gettext-0.17-1            # win64
        rm -r -f glib
        rm -r -f gnutls-2.8.1-1
        rm -r -f gnutls-2.8.5-*-win??ws
        rm -r -f gnutls-2.10.3-*-win??ws
        rm -r -f gnutls-2.12.18-*-win??ws
        rm -r -f gnutls-3.1.22-*-win??ws
        rm -r -f gtk2
        rm -r -f gtk+
        rm -r -f gtk-wimp
        rm -r -f kfw-2.5
        rm -r -f kfw-3-2-2-final
        rm -r -f kfw-3.2.2-ws1
        rm -r -f kfw-3-2-2-i386-ws-vc6
        rm -r -f libiconv-1.9.1.bin.woe32
        rm -r -f lua5.1
        rm -r -f lua5.1.4
        rm -r -f lua5.2.?
        rm -r -f libsmi-0.4.5
        rm -r -f libsmi-0.4.8
        rm -r -f libsmi-svn-40773-win??ws
        rm -r -f nasm-2.00
        rm -r -f nasm-2.02
        rm -r -f nasm-2.09.08
        rm -r -f pcre-6.4
        rm -r -f pcre-7.0
        rm -r -f portaudio_v19
        rm -r -f portaudio_v19_2
        rm -r -f upx301w
        rm -r -f upx303w
        rm -r -f user-guide
        rm -r -f zlib123
        rm -r -f zlib125
        rm -r -f zlib-1.2.5
        rm -r -f zlib123-dll
        rm -r -f AirPcap_Devpack_1_0_0_594
        rm -r -f AirPcap_Devpack_4_0_0_1480
        rm -r -f AirPcap_Devpack_4_1_0_1622
        rm -r -f GeoIP-1.4.5ws
        rm -r -f GeoIP-1.4.6-win??ws
        rm -r -f GeoIP-1.4.8-win??ws
        rm -r -f GeoIP-1.4.8-*-win??ws
        rm -r -f GeoIP-1.5.1-*-win??ws
        rm -r -f WinSparkle-0.3-44-g2c8d9d3-win??ws
        rm -r -f WpdPack
        cd "C:\Wireshark_1.12.0\wireshark-1.12.0"

****** WinPcap_4_1_3.exe ******
No HTTP proxy specified (http_proxy and HTTP_PROXY are empty).
Downloading WinPcap_4_1_3.exe into '/cygdrive/c/Wireshark-win32-libs-1.12', installing into .
File `WinPcap_4_1_3.exe' already there; not retrieving.

Extracting '/cygdrive/c/Wireshark-win32-libs-1.12/WinPcap_4_1_3.exe' into '/cygdrive/c/Wireshark-win32-libs-1.12/.'

****** gtk+-bundle_2.24.23-1.1_win32ws.zip ******
No HTTP proxy specified (http_proxy and HTTP_PROXY are empty).
Downloading gtk+-bundle_2.24.23-1.1_win32ws.zip into '/cygdrive/c/Wireshark-win32-libs-1.12', installing into gtk2
File `gtk+-bundle_2.24.23-1.1_win32ws.zip' already there; not retrieving.

Extracting '/cygdrive/c/Wireshark-win32-libs-1.12/gtk+-bundle_2.24.23-1.1_win32ws.zip' into '/cygdrive/c/Wireshark-win32
-libs-1.12/gtk2'
[/cygdrive/c/Wireshark-win32-libs-1.12/gtk+-bundle_2.24.23-1.1_win32ws.zip]
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /cygdrive/c/Wireshark-win32-libs-1.12/gtk+-bundle_2.24.23-1.1_win32ws.zi
p or
        /cygdrive/c/Wireshark-win32-libs-1.12/gtk+-bundle_2.24.23-1.1_win32ws.zip.zip, and cannot find /cygdrive/c/Wires
hark-win32-libs-1.12/gtk+-bundle_2.24.23-1.1_win32ws.zip.ZIP, period.

ERROR: Couldn't unpack '/cygdrive/c/Wireshark-win32-libs-1.12/gtk+-bundle_2.24.23-1.1_win32ws.zip'

NMAKE : fatal error U1077: 'C:\cygwin\bin\bash.EXE' : return code '0x1'
Stop.

asked 01 Aug '14, 02:50

phaniin's gravatar image

phaniin
11225
accept rate: 0%

edited 01 Aug '14, 03:08

grahamb's gravatar image

grahamb ♦
19.8k330206


Looks like your gtk2 bundle zip file is corrupted. Try deleting C:\Wireshark-win32-libs-1.12\gtk+-bundle_2.24.23-1.1_win32ws.zip and then re-running setup.

permanent link

answered 01 Aug '14, 03:12

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

Thanks for your answer. I tried that. Result is still the same.

(01 Aug '14, 04:07) phaniin

Works perfectly for me. Can you delete the file again and post the output of the setup run again?

(01 Aug '14, 05:05) grahamb ♦

Extracting '/cygdrive/c/Wireshark-win32-libs-1.12/WinPcap_4_1_3.exe' into '/cygdrive/c/Wireshark-win32-libs-1.12/.'

gtk+-bundle_2.24.23-1.1_win32ws.zip No HTTP proxy specified (http_proxy and HTTP_PROXY are empty). Downloading gtk+-bundle_2.24.23-1.1_win32ws.zip into '/cygdrive/c/Wireshark-win32-libs-1.12', installing into gtk2 --2014-08-01 17:55:51-- http://anonsvn.wireshark.org/wireshark-win32-libs/tags/2014-06-19/packages//gtk+-bundle_2.24.23-1.1_win32ws.zip Resolving anonsvn.wireshark.org (anonsvn.wireshark.org)... 174.137.42.70 Connecting to anonsvn.wireshark.org (anonsvn.wireshark.org)|174.137.42.70|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1009 [text/html] Saving to: gtk+-bundle_2.24.23-1.1_win32ws.zip'</p> <p>100%[==========================================================&gt;] 1,009 --.-K/s in 0s</p> <p>2014-08-01 17:55:52 (27.5 MB/s) -gtk+-bundle_2.24.23-1.1_win32ws.zip' saved [1009/1009]

Extracting '/cygdrive/c/Wireshark-win32-libs-1.12/gtk+-bundle_2.24.23-1.1_win32ws.zip' into '/cygdrive/c/Wireshark-win32 -libs-1.12/gtk2' [/cygdrive/c/Wireshark-win32-libs-1.12/gtk+-bundle_2.24.23-1.1_win32ws.zip] End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of /cygdrive/c/Wireshark-win32-libs-1.12/gtk+-bundle_2.24.23-1.1_win32ws.zip or /cygdrive/c/Wireshark-win32-libs-1.12/gtk+-bundle_2.24.23-1.1_win32ws.zip.zip, and cannot find /cygdrive/c/Wireshark-win32-libs-1.12/gtk+-bundle_2.24.23-1.1_win32ws.zip.ZIP, period.

ERROR: Couldn't unpack '/cygdrive/c/Wireshark-win32-libs-1.12/gtk+-bundle_2.24.23-1.1_win32ws.zip'

NMAKE : fatal error U1077: 'C:\cygwin\bin\bash.EXE' : return code '0x1' Stop.

(01 Aug '14, 05:42) phaniin
1

Here's what I got:

gtk+-bundle_2.24.23-1.1_win32ws.zip No HTTP proxy specified (http_proxy and HTTP_PROXY are empty). Downloading gtk+-bundle_2.24.23-1.1_win32ws.zip into '/cygdrive/e/Wireshark/Wireshark-win32-libs', installing into gtk2 --2014-08-01 12:19:12-- http://anonsvn.wireshark.org/wireshark-win32-libs/tags/2014-07-27/packages/gtk+-bundle_2.24.23-1.1_win32ws.zip Resolving anonsvn.wireshark.org (anonsvn.wireshark.org)... 174.137.42.70 Connecting to anonsvn.wireshark.org (anonsvn.wireshark.org)|174.137.42.70|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 27843575 (27M) [application/zip] Saving to: 'gtk+-bundle_2.24.23-1.1_win32ws.zip'

100%[=============================================================>] 27,843,575 253KB/s in 2m 19s

2014-08-01 12:21:33 (195 KB/s) - 'gtk+-bundle_2.24.23-1.1_win32ws.zip' saved [27843575/27843575]

Extracting '/cygdrive/e/Wireshark/Wireshark-win32-libs/gtk+-bundle_2.24.23-1.1_win32ws.zip' into '/cygdrive/e/Wireshark/Wireshark-win32-libs/gtk2'

Your download looks wrong, you have 1009 bytes instead of 27,843,575

Note I'm downloading from a different tag directory (I'm building from 'master'). but I did download your tag version via my browser and it was OK.

Maybe you have an upstream caching proxy? Try downloading the file manually via your browser and putting the file in the expected place.

(01 Aug '14, 06:18) grahamb ♦
1

Are you able to manually download the file by following this link: htt://anonsvn.wireshark.org/wireshark-win32-libs/tags/2014-06-19/packages//gtk+-bundle_2.24.23-1.1_win32ws.zip

If yes, can you unzip it?

(01 Aug '14, 06:18) Pascal Quantin

Looks like you have some proxy interfering. When I'm downloading the gtk bundle, I get:

****** gtk+-bundle_2.24.23-1.1_win32ws.zip ******
No HTTP proxy specified (http_proxy and HTTP_PROXY are empty).
Downloading gtk+-bundle_2.24.23-1.1_win32ws.zip into '/cygdrive/d/dev/Wireshark-
win32-libs-1.12', installing into gtk2
--2014-08-01 15:21:15--  http://anonsvn.wireshark.org/wireshark-win32-libs/tags/2014-06-19/packages//gtk+-bundle_2.24.23-1.1_win32ws.zip
Resolving anonsvn.wireshark.org (anonsvn.wireshark.org)... 174.137.42.70
Connecting to anonsvn.wireshark.org (anonsvn.wireshark.org)|174.137.42.70|:80...
 connected.
HTTP request sent, awaiting response... 200 OK
Length: 27843575 (27M) [application/zip]
Saving to: `gtk+-bundle_2.24.23-1.1_win32ws.zip'

=> the reported length is 27843575 bytes [application/zip] while you get 1009 [text/html]

(01 Aug '14, 06:23) Pascal Quantin

Thanks to both of you( Graham Bloice and Pascal Quantin ).Will check tomorrow once I go to office.

(01 Aug '14, 07:49) phaniin

As you said, it is the problem with file download only. I tried to download manually from this link. http://anonsvn.wireshark.org/wireshark-win32-libs/tags/2014-06-19/packages//gtk+-bundle_2.24.23-1.1_win32ws.zip But unable to download. It seems there is a limit on the size of download in our office and some proxy issues also affecting the download.

Then I copied the file manually to the corresponding folder and now every thing works. Thanks a lot to both of you(Graham Bloice and Pascal Quantin).

(04 Aug '14, 06:11) phaniin

If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.

(04 Aug '14, 06:23) grahamb ♦
showing 5 of 9 show 4 more comments
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×21
×13

question asked: 01 Aug '14, 02:50

question was seen: 2,902 times

last updated: 04 Aug '14, 06:23

p​o​w​e​r​e​d by O​S​Q​A