Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Error while setting up check-out of code

From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Tue, 07 Oct 2008 11:42:08 -0700
Peter Johansson wrote:
> 2008/10/7 Peter Johansson <peterjohansson73@xxxxxxxxx
> <mailto:peterjohansson73@xxxxxxxxx>>
> 
>     2008/10/2 Gerald Combs <gerald@xxxxxxxxxxxxx
>     <mailto:gerald@xxxxxxxxxxxxx>>
> 
>         Peter Johansson wrote:
>         > Reading the registry using regedit I find that:
>         > ProxyEnable is 1 (as expected since my IE settings indicate to
>         use a proxy).
>         > ProxyServer is set to the proxy setting made in IE settings.
>         >
>         > Are you sure that you are able to read the information
>         correctly from
>         > the registry?
>         >
>         > When I try the lines you sent in the mail I get an error:
>         > regtool get
>         >
>         /HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Internet\
>         > Settings/ProxyEnable
>         > Error (2): The system cannot find the file specified.
>         >
>         > However, when adding quotation marks to the registry key I get the
>         > expected result.
>         > regtool get
>         >
>         "/HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Internet\
>         > Settings/ProxyEnable"
>         > 1
> 
>         The commands run fine on my system. Did you run them from a
>         Cygwin bash prompt?
>         win32-setup.sh runs under bash, not cmd.exe. Using
>         spaces-enclosed-in-quotes vs
>         spaces-preceded-by-backslashes _shouldn't_ make a difference.
> 
>      
>     Sorry for the delay Gerald, this is what I get if I run the commands
>     from a Cygwin bash prompt:
>     bash-3.2$ ./regtool get 
>     /HKCU/Software/Microsoft/Windows/CurrentVersion/Internet\
>     Settings/ProxyEnable
>     1
>     bash-3.2$ ./regtool get
>     /HKCU/Software/Microsoft/Windows/CurrentVersion/Internet\
>     Settings/ProxyServer
>     <the proxy setting from IE settings, that is hostname.domain:proxyport>
>      
>     Regards, Peter
> 
> 
> What I then get from "nmake -f makefile.nmake setup" is the following
> when the download fails (where hostname.domain:proxyport is the correct
> proxy server and proxy port number):
> ****** lua5_1_4_Win32_dll9_lib.zip ******
> Using Internet Explorer proxy settings.
> HTTP proxy (hostname.domain:proxyport) has been specified and will be used.
> Downloading lua5_1_4_Win32_dll9_lib.zip into C:\WIRESH~3, installing
> into lua5.1.4
> --20:02:50-- 
> http://anonsvn.wireshark.org/wireshark-win32-libs/tags/2008-10-01/packages//lua5_1_4_Win32_dll9_lib.zip
>            => `lua5_1_4_Win32_dll9_lib.zip'
> Resolving anonsvn.wireshark.org... 67.228.110.124 <http://67.228.110.124>
> Connecting to anonsvn.wireshark.org
> <http://anonsvn.wireshark.org>|67.228.110.124
> <http://67.228.110.124>|:80... failed: Connection timed out.
> Retrying.
>  
> After 12 unsuccessful retries I terminated the operation.

Can you try changing line 62 of tools/win32-setup.sh from

		http_proxy=`regtool get [...]

to

		export http_proxy=`regtool get [...]