On Tuesday 12 October 2010 23:48:17 LM wrote:
> I finally had the opportunity to try out the mingw-get tool at a
> place of business. I downloaded and ran mingw-get-inst-20100909. As
> I feared, it was unable to install the compiler. The Internet
> connection was behind a firewall and I'm wondering if the code that
> does the retrieval doesn't take that into account.
If what you really mean is "behind an authenticating proxy", then it
does. It uses Microsoft's own wininet.dll, with resolution of proxy
settings determined by INTERNET_OPEN_TYPE_PRECONFIG, so if you have
configured Internet Explorer's proxy settings correctly on the local
host, then it should just work.
OTOH, if you really do mean "behind a firewall", and that is blocking
access to the required internet sites, then you will need to take the
issue up with your system administrator, because that firewall is doing
its job as configured, and there's not a lot mingw-get can do to bypass
it, if it is correctly configured.
> With Activestate
> Perl or wget, I set the environment variable http_proxy (similar to
> set http_proxy=http://zz.zzz.zz.zz:zzzz) and it works fine behind
> firewalls. I tried that with mingw-get, but got an error message.
I too have access from behind an authenticating proxy (squid). I've
never needed to set any environment variables, to kludge around proxy
settings which aren't inherited from Internet Explorer; mingw-get does
WJFFM, (discounting the occasional transient network glitch).
> Is there a way to use mingw-get through a firewall? Many
> corporations and educational institutions have some type of
> protection like this set up by default and won't be willing to take
> it down just so employees or students can download a compiler.
It should work just fine, with a properly configured proxy, when
Internet Explorer is appropriately configured for the user, on the
local host. It does WJFFM, in precisely this scenario. Thus, I have
no immediate plans to change it; if you believe you can improve it,
patches will be gratefully considered.
> Here's the output from when I tried to run mingw-get:
> ...
> Load catalogue:
> C:\MinGW\var/lib/mingw-get/data/mingw-developer-toolkit.xml Load
> catalogue: C:\MinGW\var/lib/mingw-get/data/msys-system-builder.xml
> C:\MinGW\bin\mingw-get.exe: *** ERROR *** Get package:
> http://prdownloads.sourceforge.net/mingw/
> libgmp-5.0.1-1-mingw32-dll-10.tar.lzma?download:
> download failed
Were you really only trying to install libgmp-dll? Or have you elided
more of the diagnostic output than is apparent? If not, this looks
more like a transient network glitch than a proxy configuration issue.
Making mingw-get more robust, in its handling of such glitches, is one
of the many items on my to-do list. In respect of this, once again,
patches will be gratefully considered.
--
Regards,
Keith.
|