How shall I solve it? asked 18 Nov ‘14, 13:18 aman edited 19 Nov ‘14, 01:23 grahamb ♦ showing 5 of 6 show 1 more comments |
2 Answers:
Haven't we been here before? unzip: /cygdrive/c/oraclexe/app/oracle/product/11.2.0/server/bin/unzip You have to remove that (broken) Oracle version of unzip from your path. answered 20 Nov '14, 07:20 grahamb ♦ I fixed the unzip error, but I am not seeing flex:/usr/bin/flex in verify_tools. How to fix that? (20 Nov '14, 08:41) aman (20 Nov '14, 09:20) Pascal Quantin I fixed that out but while executing all command I get NMAKE : fatal error U1073: don't know how to make '../../tools/make-dissector-reg' what is this due to? (21 Nov '14, 10:33) aman You'll need to add some more context of the output preceding this error. (21 Nov '14, 14:36) grahamb ♦ NMAKE : fatal error U1073: don't know how to make '../../tools/make-dissector-re g' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0 \VC\BIN\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0 \VC\BIN\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0 \VC\BIN\nmake.exe"' : return code '0x2' Stop. (24 Nov '14, 06:39) aman That's the output after, we need whatever came immediately before. (24 Nov '14, 06:52) grahamb ♦
NMAKE : fatal error U1073: don't know how to make '../../tools/make-dissector-re g' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0 \VC\BIN\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0 \VC\BIN\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0 \VC\BIN\nmake.exe"' : return code '0x2' Stop.
(24 Nov '14, 07:19) aman You're building a plugin that has an older makefile and is still referring to the shell based version of make-dissector-reg. That's gone and only the Python version is supported now. Edit your makefile.nmake, find the line that calls (24 Nov '14, 08:20) grahamb ♦ showing 5 of 8 show 3 more comments |
I got this problem because of the Qt path. I followed the instructions here - https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html and one step includes setting the Qt path as:
However, the correct setting for Qt in my case was:
Changing the set corrected the problem for me. answered 30 Oct '15, 03:19 PaulOfford You will likely have to adjust the paths as per the preceding statement in the developers guide: Set the following environment variables, using paths and values suitable for your installation: regardless, this isn't really an answer to the somewhat old question, but a separate build environment config issue (30 Oct '15, 03:48) grahamb ♦ Hi Graham, Yes don't get me wrong - I'm not complaining about the setup guide, I'm just recording the reason why I got the error in the subject line. Best regards...Paul (30 Oct '15, 03:58) PaulOfford Plus I made the same error as reported elsewhere and downloaded the 32 bit version of Qt on my 64 bit machine. So the correct QT5_BASE_DIR set is: set QT5_BASE_DIR=C:\Qt\Qt5.5.1\5.5\msvc2013_64 More easily done than you think because if you click on the Download Now button on the Qt website, it downloads the 32 bit version. (30 Oct '15, 05:23) PaulOfford |
Did the download of the bundle succeed? If not you may have to down load it manually. If you are behind I proxy you may have to fix the proxy settings.
i.e. Do you have the file gtk+-bundle_2 .24.23-1.1_win32ws.zip in C:\Development\Wireshark\Wireshark-win32-libs?
@grahamb: ya I have the gtk+-bundle_2 .24.23-1.1_win32ws.zip in C:\Development\Wireshark\Wireshark-win32-libs folder but still its showing the error in unpacking..
@anders: I tried to do it the way you suggested, but it gets stuck in this step.
Ok, back to the beginning, what do you get for
nmake -f Makefile.nmake verify_tools
?This is what I get for verify_tools
Checking for required applications: cl: /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/VC/BIN/cl link: /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/VC/BIN/link nmake: /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/VC/BIN/nmake bash: /usr/bin/bash bison: /usr/bin/bison 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 C:\Qt\5.3\msvc2013_64\bin\qmake: /cygdrive/c/Qt/5.3/msvc2013_64/bin/qmake sed: /usr/bin/sed unzip: /cygdrive/c/oraclexe/app/oracle/product/11.2.0/server/bin/unzip wget: /usr/bin/wget
This may be a problem
I think it should be unzip from the cygwin package