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

Trying to install win32 perl. Installed the latest perl via ActiveState. Created and rana simple a.pl using core perl. Now I'm up to DBI. Not using PPm for networking issues. Downloaded latest DBI (1.51) from CPAN and unzipped. Did the perl Makefile.PL. cool. Then started with make. It did two pm modules then errored out with "don't know how to make c:\Perl\libConfig.pm". This seems to be so basic I would think I screwed up the installation. Looking at the error message I would think there's a syntactical eror in that I would think it wants to make c:\Perl\lib\Config.pm. Any suggestions? JonL

Replies are listed 'Best First'.
Re: installing win32
by Herkum (Parson) on Jun 16, 2006 at 20:09 UTC

    If you are using cpan to install modules with ActivePerl you will need to install the tools that cpan uses; for example, tar, gzip and make (actually for Windows use nmake). Get those tools installed first before you start worrying about problems with the cpan utility itself.

    PS: It can be alot of work, but it can definitely be worth it.

      thanks, I know I have tar and nmake. I will download a gzip but do you really think that is the problem?

        I am not sure if that specifically is your problem, but if you don't have gzip, cpan is not going to work. You will still have to enter the file path (use Windows short names for directories and files) to the utility.

Re: installing win32
by jdhedden (Deacon) on Jun 16, 2006 at 20:20 UTC
    Get rid of what you're doing and just use CamelPack. It'll set up everything you need. You'll just have to do the CPAN config the first time you run it, but everything else should work just fine.

    Remember: There's always one more bug.
Re: installing win32
by BrowserUk (Patriarch) on Jun 16, 2006 at 21:59 UTC

    Strange. I just pulled DBI-1.51 from cpan and it built and tested clean first time using AS811/nmake v7.00.9466/Microsoft (R) 32-bit C/C++ Standard Compiler Version 13.00.9466.

    Perhaps you can compare the steps you followed to the log of my build below and see where things went wrong?


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.