Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^3: cpan dies for bad dlltool & dmake.exe

by dasgar (Priest)
on Jan 18, 2013 at 00:12 UTC ( #1013916=note: print w/replies, xml ) Need Help??

in reply to Re^2: cpan dies for bad dlltool & dmake.exe
in thread cpan dies for bad dlltool & dmake.exe

ActiveState and Strawberry Perl take two different approaches to same problem: Windows does not have a C compiler (and make tool) that is part of the OS distribution like Linux operating systems do.

ActiveState takes the approach of using repositories of prebuilt/precompiled modules. The advantage of that approach is the end user does not need to worry about setting up a C compiler and that if there's a module available in a PPM repository, you're almost guaranteed that it will install without any issues. Unfortunately, you might also notice that in many cases the version of modules in the repository are older than the latest version available from CPAN. So if you're using ActiveState's ActivePerl, it's in your best interest to check PPM repositories for a desired module first and then install from CPAN only if you can't find it in a PPM repository.

Strawberry Perl takes another approach. They bundle all of the necessary tools needed to directly install modules from CPAN. The idea is that if you're used to installing modules in Linux, then you can do the same thing on Windows with Strawberry Perl. However, you don't have the level of guarantee of successful module install like you do with PPM repositories for ActivePerl. Although Strawberry Perl does have a ppm utility, I personally have never used it myself.

  • Comment on Re^3: cpan dies for bad dlltool & dmake.exe

Replies are listed 'Best First'.
Re^4: cpan dies for bad dlltool & dmake.exe
by bulk88 (Priest) on Jan 18, 2013 at 09:21 UTC
    Installed the free Platform SDK will get you MS's C compiler/other C tools if you don't want to pay for Visual Studio. It will be enough to compile all code that AS's PPM offers. AS's PPM archive does a good job in building thing within a 1-3 days of releasing a module, but anything that requires Unix d/make syntax, manual cmd line parameters, 3rd party .lib/.a files, POSIX APIs, Configure, user interactive setup during, won't build on AS's PPM system. is a good website also to see if anyone can automated build/install the module.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1013916]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2018-05-22 01:16 GMT
Find Nodes?
    Voting Booth?