in reply to Installing modules on Windows 7 when FTP is blocked.

Usually, you can (re)configure CPAN to use HTTP instead.

cpan > o conf urllist

Alternatively, you can install the cpanminus script by downloading and running it from http://cpanmin.us.

If you don't have dmake installed on your server, that is fairly weird because Strawberry Perl comes with everything. If you're using ActiveState Perl, you can install the nmake executable. If you're using Cygwin Perl, I recommend against that, but there your system administrator should also install the make package.

Replies are listed 'Best First'.
Re^2: Installing modules on Windows 7 when FTP is blocked.
by dasgar (Priest) on Feb 26, 2016 at 20:01 UTC

    If the OP is using Strawberry Perl, it already comes with the cpanm tool from App::cpanminus.

    For the more recent versions of ActiveState's ActivePerl, you can use PPM to install MinGW and dmake from ActiveState's repository, which will let you install modules directly from CPAN. I can't say definitely when they started providing those two in their repository and there's also the catch that their repositories for older builds are now only available to those who have purchased support from them.

    The above is true for their 32-bit ActivePerl. I'm not sure if the same holds for the 64-bit ActivePerl. I want to say that there were some more steps needed and/or you need some stuff from Visual Studio to get 64-bit ActivePerl to have the compiler and tools needed to install directly modules from CPAN.

    I haven't used ActiveState's ActivePerl for at least a few years (been using Strawberry Perl instead), but thought I'd share what details I could remember in case it might help others.