I tried to setup the build environment for Windows XP. I have installed Visual Studio 2005 ver.8, cygwin and python 27. Since I had problems with downloading the libraries, I did it manually by SVN. I put them into wireshark lib directory, which was specified in config.nmake file, and run "nmake -f Makefile.nmake setup". The following errors happen: " .... File `gtk+-bundle_2.16.6-20100207_win32.zip' already there; not retrieving. Extracting D:\doc\projects\myWIRESH~1.2\libs/gtk+-bundle_2.16.6-20100207_win32. zip into D:\doc\projects\myWIRESH~1.2\libs/gtk2 Can't open perl script "C:\Program": No such file or directory ERROR: Couldn't unpack D:\doc\projects\myWIRESH~1.2\libs/gtk+-bundle_2.16.6-201 00207_win32.zip NMAKE : fatal error U1077: 'd:\cygwin\bin\bash.EXE' : return code '0x1' Stop." Could you help to solve this issue please? What the perl script is mentioned above? Thank you in advance. asked 11 Jan '11, 06:44 Konstantin edited 11 Jan '11, 09:29 Jaap ♦ |
5 Answers:
it's win-setup.sh that's executing and it seems cygwins unzip you're missing. Try to make the verify_tools target first. You can find all the details you need in the Wireshark Developer's Guide. answered 11 Jan '11, 09:33 Jaap ♦ |
thank you for advise. I used the Dev Guide and unzip was installed and can read the lib archives. I expect that problem is in some perl script which was mentioned in the log. But the name of this script is truncated and I don't know what script exactly should be updated. verify_tools results are ok:
edited 12 Jan ‘11, 01:21 |
Oh my god! Symbian! Pardon! I have just checked a presence of a tool but I didn't read the path completely. answered 12 Jan '11, 23:59 Konstantin edited 13 Jan '11, 00:00 |
Thank you very much for help. I have setup the environment successfully. However I can't still build the wireshark. answered 13 Jan '11, 01:31 Konstantin edited 13 Jan '11, 01:46 |
SUCCESS :) Thank you. There is small bug in GeoIP-1.4.6-win32ws\test\Makefile.vc (for win32). It is necessary to add -DSRCDIR="GeoIP_src_path" as following: CFLAGS=-DWIN32 -MD -nologo -DSRCDIR=\"d:\doc\projects\my\wireshark-1.4.2\libs\GeoIP-1.4.6-win32ws\" answered 13 Jan '11, 01:48 Konstantin edited 13 Jan '11, 01:54 |
Yet verify_tools is distinctly different from the results in the Developer Guide[1]
[1] http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html#ChToolsWin32Verify