Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
more useful options
 
PerlMonks  

Problem installing module through cpan on Windows ActivePerl

by sagarkha (Acolyte)
on Sep 21, 2010 at 11:31 UTC ( #861044=perlquestion: print w/ replies, xml ) Need Help??
sagarkha has asked for the wisdom of the Perl Monks concerning the following question:

I have done the proxy setting on the cpan using these commands, still i am not able to install modules
o conf http_proxy http://192.168.64.1:80 o conf proxy_user XYZ o conf proxy_pass **** o conf commit cpan> install Net::Netmask Running install for module 'Net::Netmask' Running make for M/MU/MUIR/modules/Net-Netmask-1.9015.tar.gz Checksum for C:\Perl\cpan\sources\authors\id\M\MU\MUIR\modules\Net-Net +mask-1.901 5.tar.gz ok Net-Netmask-1.9015/ Net-Netmask-1.9015/Netmask.pod Net-Netmask-1.9015/META.yml Net-Netmask-1.9015/t/ Net-Netmask-1.9015/t/sortspeed-blocks.t Net-Netmask-1.9015/t/netmasks.t Net-Netmask-1.9015/t/badnets.t Net-Netmask-1.9015/t/sortspeed-ip.t Net-Netmask-1.9015/Netmask.pm Net-Netmask-1.9015/CHANGELOG Net-Netmask-1.9015/MANIFEST Net-Netmask-1.9015/Makefile.PL Net-Netmask-1.9015/README CPAN.pm: Going to build M/MU/MUIR/modules/Net-Netmask-1.9015.tar.gz It looks like you don't have a C compiler and make utility installed. + Trying to install dmake and the MinGW gcc compiler using the Perl Package Man +ager. This may take a a few minutes... ppm.bat install failed: Can't find any package that provides MinGW It looks like the installation of dmake and MinGW has failed. You wil +l not be able to run Makefile commands or compile C extension code. Please che +ck your internet connection and your proxy settings! Checking if your kit is complete... Looks good Writing Makefile for Net::Netmask 'nmake' is not recognized as an internal or external command, operable program or batch file. MUIR/modules/Net-Netmask-1.9015.tar.gz nmake -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: MUIR/modules/Net-Netmask-1.9015.tar.gz : make NO

Comment on Problem installing module through cpan on Windows ActivePerl
Download Code
Re: Problem installing module through cpan on Windows ActivePerl
by marto (Chancellor) on Sep 21, 2010 at 11:56 UTC

    Exit cpan. Run PPM from the command prompt and type:

    install mingw

    This will install everything you should need. Exit PPM and restart cpan.

      When i type PPM from command promt, it opens a seperate PPM window and 'install mingw' doesnt work there...
        You can, however, search for the mingw-package and install it.

        From the command prompt try:

        c:\ppm install MinGW

        Type:

        c:\>ppm-shell ppm> install mingw

        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.
        I have same problems..
      ppm install failed:can't find any package that provides mingw
Re: Problem installing module through cpan on Windows ActivePerl
by ahmad (Hermit) on Sep 22, 2010 at 03:57 UTC

    You don't need mingw or anything else.

    just run this in your cmd windows: ppm install Net-Netmask and you're done.

      You're awesome, this solved my problem instantly =)
      ppm install failed:can't find any package that provides Net-Netmas

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://861044]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2014-04-23 10:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (541 votes), past polls