Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Building a module from CPAN on a Win32 machine.

by dasgar (Deacon)
on Jan 12, 2013 at 14:45 UTC ( #1013044=note: print w/ replies, xml ) Need Help??


in reply to Building a module from CPAN on a Win32 machine.

...a message box appears that states The application failed to load because perl514.dll could not be found...

Is that still the exact error message you get after moving to ActivePerl 5.16.2? If so, your uninstall and install didn't work too well. ActivePerl 5.16.2 shouldn't be looking for the perl514.dll file.

As for installing modules directly from CPAN, ActivePerl does not fully support that right away after install. If you're using a 32-bit version of ActivePerl, use ppm to install mingw and dmake from ActiveState's repository and then you can install modules directly from CPAN. For 64-bit versions, I believe that there maybe a few more steps and gotchas, but it's been over a years since I last looked into that situation and I don't remember all of the details. If you're not needing the 64-bit features (i.e. 64-bit integers), I'd recommend sticking with 32-bit Perl since it works fine on both 32-bit and 64-bit Windows.

In contrast, Strawberry Perl already comes with mingw and dmake installed. That means immediately after installing Strawberry Perl, you can start installing modules directly from CPAN.


Comment on Re: Building a module from CPAN on a Win32 machine.
Re^2: Building a module from CPAN on a Win32 machine.
by CountZero (Bishop) on Jan 12, 2013 at 19:45 UTC
    As for installing modules directly from CPAN, ActivePerl does not fully support that right away after install. If you're using a 32-bit version of ActivePerl, use ppm to install mingw and dmake from ActiveState's repository and then you can install modules directly from CPAN.
    Activestate fully supports installing modules from CPAN and has done so already for many years. The only "catch" was that modules that have XS-components and need some compilation failed to install. But that is only a minority of the modules available.

    Nowadays, ppm indeed allow you to install the necessary compilers and attendant tools.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

    My blog: Imperial Deltronics

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (14)
As of 2014-11-26 16:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (172 votes), past polls