Wireshark-dev: Re: [Wireshark-dev] Issues with Installing Libraries (Win32)

From: "Wasiq md" <wasiq.md@xxxxxxxxx>
Date: Thu, 16 Oct 2008 10:32:33 -0500
Hi Ramesh,
 
You need to set environment variable HTTP_PROXY to the proxy if at you have any. Just go to internet explorer->tools->internet options->connection (tab)->click on "Lan Settings" tab->get the proxy server address and port.
 
Now go to command prompt and type:
set HTTP_PROXY=<ip address/host name>:<port>
 
Now, continue what ever you were doing. I hope this will solve your problem. Actually there is a file win32-setup.sh in tools directory which will be called by the setup target in Makefile.nmake. This file will check for this env variable.
 
Thanks,
Wasiq

On Thu, Oct 16, 2008 at 7:47 AM, Ramesh Sankaranarayanan <jdolly@xxxxxxxxx> wrote:
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

 

 


_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
https://wireshark.org/mailman/listinfo/wireshark-dev