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

nmake -f Makefile.nmake setup Fails

1

Anyone know what I'm missing to cause the uzip err during the make setup?

>nmake -f Makefile.nmake setup

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

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: /cygdrive/c/Program Files/Microsoft Visual Studio 10.0/VC/bin/nmake
    mt: /cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0A/bin/mt
    bash: /usr/bin/bash
    bison: /cygdrive/c/Program Files/GnuWin32/bin/bison
    flex: /cygdrive/c/Program Files/GnuWin32/bin/flex
    env: /usr/bin/env
    grep: /usr/bin/grep
    /usr/bin/find: /usr/bin/find
    perl: /cygdrive/c/Perl/bin/perl
    C:\Python27\python.exe: /cygdrive/c/Python27/python.exe
    sed: /usr/bin/sed
    unzip: /cygdrive/c/oracle/product/10.2.0/client_2/bin/unzip
    wget: /cygdrive/c/wget/wget
    cd C:\wireshark-win32-libs-1.6
    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 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 gtk2
    rm -r -f gtk+
    rm -r -f gtk-wimp
    rm -r -f kfw-2.5
    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 libsmi-0.4.5
    rm -r -f libsmi-0.4.8
    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 user-guide
    rm -r -f WpdPack
    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 zlib123
    rm -r -f zlib-1.2.5
    rm -r -f zlib123-dll
    rm -r -f upx301w
    rm -r -f upx303w
    rm -r -f GeoIP-1.4.5ws
    rm -r -f GeoIP-1.4.6-win??ws
    cd "C:\Documents and Settings\mwoscek\My Documents\Develop\wireshark\wireshark-1.6.2"

****** gtk+-bundle_2.22.1-20101227_win32.zip ****** No HTTP proxy specified (http_proxy and HTTP_PROXY are empty). Downloading gtk+-bundle_2.22.1-20101227_win32.zip into /cygdrive/c/wireshark-win 32-libs-1.6, installing into gtk2 File `gtk+-bundle_2.22.1-20101227_win32.zip' already there; not retrieving.

Extracting /cygdrive/c/wireshark-win32-libs-1.6/gtk+-bundle_2.22.1-20101227_win3 2.zip into /cygdrive/c/wireshark-win32-libs-1.6/gtk2 unzip: cannot find either /cygdrive/c/wireshark-win32-libs-1.6/gtk+-bundle_2.22 .1-20101227_win32.zip or /cygdrive/c/wireshark-win32-libs-1.6/gtk+-bundle_2.22.1 -20101227_win32.zip.zip.

ERROR: Couldn't unpack /cygdrive/c/wireshark-win32-libs-1.6/gtk+-bundle_2.22.1-2 0101227_win32.zip

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

asked 16 Oct ‘11, 16:36

marwos's gravatar image

marwos
16112
accept rate: 0%

edited 16 Oct ‘11, 17:20

helloworld's gravatar image

helloworld
3.1k42041


One Answer:

6
unzip:/cygdrive/c/oracle/product/10.2.0/client_2/bin/unzip

Looks like your path is such that a different unzip than the cygwin unzip is being invoked.

cl: /cygdrive/c/Program Files/Microsoft VisualStudio 10.0/VC/bin/cl
link: /cygdrive/c/Program Files/Microsoft Visual Studio 10.0/VC/bin/link
nmake: /cygdrive/c/Program Files/Microsoft Visual Studio 10.0/VC/bin/nmake
mt: /cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0A/bin/mt
bash:/usr/bin/bash
bison: /cygdrive/c/Program Files/GnuWin32/bin/bison
flex: /cygdrive/c/Program Files/GnuWin32/bin/flex
env: /usr/bin/env
grep: /usr/bin/grep
/usr/bin/find: /usr/bin/find
perl: /cygdrive/c/Perl/bin/perl
C:Python27python.exe: /cygdrive/c/Python27/python.exe
sed: /usr/bin/sed
unzip:/cygdrive/c/oracle/product/10.2.0/client_2/bin/unzip
wget: /cygdrive/c/wget/wget

answered 16 Oct '11, 16:57

Bill%20Meier's gravatar image

Bill Meier ♦♦
3.2k1850
accept rate: 17%

I dont have cygwin's unzip, only:

ls /usr/bin/unzip /usr/bin/bunzip2.exe /usr/bin/gunzip

I suppose a reinstall of cygwin is needed?

(17 Oct '11, 12:15) marwos

OK -Have to manually select packages needed from the cygwin install. Done...

(17 Oct '11, 12:27) marwos

Answers converted to comments in keeping with the style of a "Q&A" site.

Please see the FAQ for info.

(17 Oct '11, 13:15) Bill Meier ♦♦

Issue with mt version and VC10? zlib1.dll.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified. NMAKE : fatal error U1077: '"C:Program FilesMicrosoft SDKsWindowsv7.0Abinmt.exe"' : return code '0x1f' Stop.

(17 Oct '11, 13:44) marwos

it sounds like you need to adjust MSC_VARIANT in config.nmake to indicate that you're using VC10 (VS 2010). The default is VC9 (VS2008).

Please see http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html#ChSetupMSVC

and follow the instructions therein.

(17 Oct '11, 14:10) Bill Meier ♦♦

Bill -Thanks!

(17 Oct '11, 15:00) marwos

what are all your environment variables?

(30 May '14, 07:38) aman

@aman: Just a small hint: This is a very old question (Oct '11) and the OP (@marwos) was seen the last time on 14 Sep '12. So, chances are pretty bad, that he/she will ever answer your question.

In most of the cases it does not make sense to update questions older than a few months, especially if there is a valid answer, like here ;-))

If you have a similar problem, feel free to ask your own question!

(30 May '14, 07:43) Kurt Knochner ♦
showing 5 of 8 show 3 more comments