pinkshirt / firebreath

Automatically exported from code.google.com/p/firebreath
0 stars 0 forks source link

http_proxy variable ignored by wget during prep2008.cmd when trying to download boost #152

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
"What steps will reproduce the problem?"
1. Download and unpack firebreath on a network that requires a proxy
2. Set the http_proxy variable for wget
3. Run the prep2008.cmd on 

"What is the expected output? What do you see instead?:"

I expected to see boost being downloaded by wget, instead it hangs on syn sent, 
blatently ignoring my proxy env variable. I tried all sorts of obscure tweaks 
to get it to work before it finally dawned on me that the https_proxy variable 
needs to be set instead of the http_proxy variable. 

Most, if not all documentation on the web states to set the environmental 
http_proxy variable to get wget to work with a proxy server. A cmake message 
indicating that the https_proxy variable must be set instead would be a welcome 
aid to others in similar situations.

I'm using 64 bit windows 7, Visual Studio 2008.

Original issue reported on code.google.com by gearoid....@gmail.com on 25 Feb 2011 at 12:07

GoogleCodeExporter commented 9 years ago
good to know! Proxy issues are always hard to predict.  I'll add a check, 
thanks!

Original comment by richarda...@gmail.com on 25 Feb 2011 at 3:28

GoogleCodeExporter commented 9 years ago
This will probably have to wait for next week; I will get to it, though.

Original comment by taxilian on 26 Feb 2011 at 7:11

GoogleCodeExporter commented 9 years ago
I have attempted to fix this in the latest head; could you verify if it works 
ASAP and let me know?  I can't really test it myself, since I don't have a 
setup that produces the issue.

Original comment by taxilian on 2 Mar 2011 at 6:24

GoogleCodeExporter commented 9 years ago
Ok, will do, I'm off the next 2 days, so it'll be Monday before I can get
back to you.

Original comment by gearoid....@gmail.com on 2 Mar 2011 at 6:58

GoogleCodeExporter commented 9 years ago
Ok, I've tested the proxy detection script, there were some problems, cmake
is very fussy about how to test the presence or absence of environmental
variables, had to make a few small adjustments. I'm not sure what the
correct procedure is for uploading code changes, so I'll just attach the
modified "common.cmake" file.

This works for wget, haven't tested curl.

On Wed, Mar 2, 2011 at 6:57 PM, Gearoid Murphy
<gearoid.p.murphy@gmail.com>wrote:

Original comment by gearoid....@gmail.com on 8 Mar 2011 at 11:37

GoogleCodeExporter commented 9 years ago
Great! Curl would be a different issue; I'll wait 'til someone complains :-P 
(it probably works too, I'm guessing)

Original comment by taxilian on 14 Mar 2011 at 6:10