Perl PPM cannot install MinGW

I am trying to run a Perl script that uses a module Archive::Extract

to extract a file .zip

. The problem is that every time I run it I get the following error:

Example:

perl -e "use Archive::Extract"

It looks like you don't have a C compiler on your PATH, so you won't be able to compile C or XS extension modules. You can install GCC from MinGW using Perl Package Manager: ppm install MinGW


Then, when I try to fix this error by running the following command, I get this:

ppm install MinGW

Loading package of packages repository package ActiveState ... failed 500 Unable to connect to ppm4.activestate.com:80 (10060)

ppm install failed: Can't find package that MinGW provides


I looked online to find a solution to this problem, but everyone says it is a proxy problem and you need to set an environment variable http_proxy

to fix it. The problem is I can't find any of my proxy settings (the PCs I work on are pretty locked down with security).

I did some research here and I found one command that gave me the result, but I'm not sure if it judges exactly from the comments below the answer.

The command gives me the following results:

netsh winhttp show proxy

Current WinHTTP proxy settings:

Direct access (no proxy server).


How can I get this to connect properly?

+3


source to share





All Articles