Wireshark-dev: Re: [Wireshark-dev] Issues with Installing Libraries (Win32)
From: "Anders Broman" <anders.broman@xxxxxxxxxxxx>
Date: Thu, 16 Oct 2008 15:01:31 +0200
Hi,
I guess you haven't got all the Cygwin tools installed, what does:
nmake -f makefile.nmake verify_tools say?
regards
Ansders


From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Ramesh Sankaranarayanan
Sent: den 16 oktober 2008 14:48
To: wireshark-dev@xxxxxxxxxxxxx
Subject: [Wireshark-dev] Issues with Installing Libraries (Win32)

Hi
 
I am a newbie in Wireshark Development and would like to build a custom dissector.
 
I am using Microsoft Visual Studio 6 , and have used the following link for a Step-by-Step Win32 setup.
 
In Section 2.2.8 - Install Libraries step(http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html#id4733887), when I run "nmake -f Makefile.nmake setup" , I get the following error:
....
....
...

****** c-ares-1.5.3ws.zip ******
No HTTP proxy specified (http_proxy and HTTP_PROXY are empty).
Downloading c-ares-1.5.3ws.zip into C:\WIRESH~2, installing into .
--2008-10-16 06:17:16--  http://anonsvn.wireshark.org/wireshark-win32-libs/tags/2008-10-01/packages//c-ares-1.5.3ws.zip
Resolving anonsvn.wireshark.org... 67.228.110.124
Connecting to anonsvn.wireshark.org|67.228.110.124|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 838284 (819K) [application/octet-stream]
Saving to: `c-ares-1.5.3ws.zip'

100%[===================================================================================>] 838,284     23.0K/s   in 35s

2008-10-16 06:17:52 (23.1 KB/s) - `c-ares-1.5.3ws.zip' saved [838284/838284]

Extracting C:\WIRESH~2/c-ares-1.5.3ws.zip into C:\WIRESH~2/.

ERROR: Couldn't unpack C:\WIRESH~2/c-ares-1.5.3ws.zip

NMAKE : fatal error U1077: 'bash' : return code '0x1'
Stop.

/***/

Can anyone provide feedback on why I am getting this error?

I have tried the following things:

- Deleted "c:\wireshark-win32-libs" directory, recreated it and ran the above command multiple times (I get the same error everytime)

- I edited the Makefile.nmake file in "c:\wireshark" to remove the following lines in "process_libs" section (to continue with other libs):

!IFDEF C_ARES_DIR
 @$(SH) tools\win32-setup.sh "$(WIN32_SETUP_OPT)" "$(WIRESHARK_LIBS)" \
  . c-ares-1.5.3ws.zip
!ENDIF.

When I run the setup command again, I get a similar error for "zlib123"  as well.

 

'Apppreciate any help that I can get on this.

Thanks

Sunny