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

failed to install libraries

0

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's gravatar image

Konstantin
1122
accept rate: 0%

edited 11 Jan '11, 09:29

Jaap's gravatar image

Jaap ♦
11.7k16101


5 Answers:

0

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's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%

0

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:

   d:\doc\projects\my\wireshark-1.4.2>nmake /f Makefile.nmake verify_tools

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

Checking for required applications:

cl: /cygdrive/d/Program Files/Microsoft Visual Studio 8/VC/BIN/cl
link: /cygdrive/d/Program Files/Microsoft Visual Studio 8/VC/BIN/link
nmake: /cygdrive/d/Program Files/Microsoft Visual Studio 8/VC/BIN/nmake
mt: /cygdrive/d/Program Files/Microsoft Visual Studio 8/VC/BIN/mt
bash: /usr/bin/bash
bison: /cygdrive/c/Program Files/Common Files/Symbian/tools/bison
flex: /cygdrive/c/Program Files/Common Files/Symbian/tools/flex
env: /usr/bin/env
grep: /usr/bin/grep
/usr/bin/find: /usr/bin/find
perl: /cygdrive/d/Perl/bin/perl
C:\Python27\python.exe: /cygdrive/c/Python27/python.exe
sed: /usr/bin/sed
unzip: /cygdrive/c/Program Files/Common Files/Symbian/tools/unzip
wget: /usr/bin/wget</code></pre></div><div class="answer-controls post-controls"></div><div class="post-update-info-container"><div class="post-update-info post-update-info-user"><p>answered <strong>12 Jan '11, 00:39</strong></p><img src="https://secure.gravatar.com/avatar/6f0e2c60007c8ec9f855fbfdcdbfe5e8?s=32&amp;d=identicon&amp;r=g" class="gravatar" width="32" height="32" alt="Konstantin&#39;s gravatar image" /><p><span>Konstantin</span><br />

1122
accept rate: 0%

edited 12 Jan ‘11, 01:21

1

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

(12 Jan ‘11, 04:17) Jaap ♦

0

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's gravatar image

Konstantin
1122
accept rate: 0%

edited 13 Jan '11, 00:00

0

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's gravatar image

Konstantin
1122
accept rate: 0%

edited 13 Jan '11, 01:46

0

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's gravatar image

Konstantin
1122
accept rate: 0%

edited 13 Jan '11, 01:54