Wireshark-dev: Re: [Wireshark-dev] Error while setting up check-out of code
From: "Peter Johansson" <peterjohansson73@xxxxxxxxx>
Date: Tue, 7 Oct 2008 21:13:47 +0200
2008/10/7 Gerald Combs <gerald@xxxxxxxxxxxxx>
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 [...]

 
 
Great, that change fixes the problem, altough I applied it to line 47 since that's where http_proxy='... resides (at least in my version, 26329, of win32-setup.sh).
 
Regards, Peter