samuelalfred has asked for the wisdom of the Perl Monks concerning the following question:

Hello!

I want to install some perl modules on my WinXP machine with ActivePerl already installed. Since I'm inside a corporate network the ppm utility does not work (I guess it's due to firewalls etc) so I have to do it the manual way.

The problem is that when I execute the first command (perl Makefile.pl) I first got an error message telling me that I don't have a compiler installed. This issue was however solved by installing cygwin and the gcc compiler. Now, the error message states that I don't have nmake or dmake in my path. So I download nmake and put it in the C:\Perl\bin which is in my path. Still, I get the same error when trying the execute the makefile. Any ideas what to do? I don't know how to get a hold of dmake and it shouldn't be neccesary since I already have nmake.

Thank you in advance!

Best regards, Samuel
  • Comment on Problems when installing Perl modules WinXP

Replies are listed 'Best First'.
Re: Problems when installing Perl modules WinXP
by Corion (Patriarch) on Mar 29, 2011 at 12:52 UTC
Re: Problems when installing Perl modules WinXP
by stefbv (Priest) on Mar 29, 2011 at 15:40 UTC

    Download ppmx packages from the ActiveState CPAN PPM Repository for the desired modules (http://ppm4.activestate.com) then install the packages on the command line with:

    % ppm install <file-name.ppmx>
Re: Problems when installing Perl modules WinXP
by Anonymous Monk on Mar 29, 2011 at 12:52 UTC
    you can configure ppm to get through firewall

      You can use this command it will automatically install what needed.

      Perl -MCPAN -e shell

      it will install the c compiler...

      and then type

      install Class::Date(Your module)

        Is it really that easy? It's never worked that way for me.


        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.