in reply to Re^2: ActiveState PPM, no Tk present
in thread ActiveState PPM, no Tk present

You are correct that it is possible to install the MinGW environment into ActiveState. For the sake of completeness, to do so, start CMD.EXE and run (assuming ActivePerl is installed in C:\perl)
c:\perl\bin\ppm install MinGW
However, this alone is not going to be sufficient. In my experience that a user would then also have to add update their %PATH% environment variable to
path C:\perl\bin;C:\perl\site\bin;%PATH%
Then, the user would have to find and install nMake (i.e. http://download.microsoft.com/download/vc15/patch/1.52/w95/en-us/nmake15.exe) into some directory in their %PATH% (i.e. c:\perl\bin). Only then can they use CPAN safely.

The alternative to that long winded solution is Strawberry Perl, where all of that rigamarole is done automatically for the user. Hence, my suggestion ;-)

Replies are listed 'Best First'.
Re^4: ActiveState PPM, no Tk present
by dasgar (Priest) on Nov 15, 2011 at 05:37 UTC

    Sounds like we've got different experiences with ActivePerl.

    From my experience, I've always have seen ActiveState's installer add the perl.exe location into the PATH environment variable. In fact, I've gotten into the bad habit of just typing script.pl instead of perl script.pl to run my scripts since the installer also sets up some file assocations.

    Also, I've mainly run PPM in the GUI mode. After installing MinGW and dmake using PPM, I'm able to pull up a command prompt and run cpan install commands with no extra work needed. The combination of MinGW and dmake has allowed me to install modules directly from CPAN that require compilation, such PAR::Packer.

    So my experience is that getting ActivePerl to the point of installing CPAN modules is a very simple one time process.

    Of course, syphilis pointed out that I did overlook the fact that OP was using 64-bit ActivePerl. It's been a while since I've tried the 64-bit version, but I do remember there was some issues/challenges to getting a compiler setup for it to install CPAN modules requiring compilation.