in reply to Net::SSH::Perl, Math::Pari

If you're willing to switch off of ActivePerl to go to Strawberry Perl, you might have an easier time with some of this stuff.

In your other thread, I offered up a suggestion and pointed out that Strawberry Perl comes with Net::SSH2 already installed (Re^6: threads, forks and SSH). Also, RonW pointed out that Net::SSH2 is included with Strawberry Perl in his post. I know that you stated in that thread that you are stuck with ActivePerl. However, you should be able to download and use Strawberry Perl's portable editions. And if using portable Strawberry Perl directly isn't desirable for your final solution for your code, you could install Par::Packer and use its pp utility to bundle your code into a stand alone executable.

And if you really want/need just Math::Pari, the latest 32-bit builds of 5.20 and 5.22 versions of Strawberry Perl already come with Math::Pari. (NOTE: Math::Pari is not included in the latest 64-bit builds of Strawberry Perl. But that shouldn't be an issue unless you need 64-bit Perl.)

In my opinion, moving to Strawberry Perl will make your life easier and let you do what you want without fighting to get modules installed. I haven't used it myself, but another alternative to ActivePerl on Windows systems is Citrus Perl. Basically, I think if you can get yourself out of the box that you're finding yourself in, you might find things are no where nearly as bad you currently think that they are.

Replies are listed 'Best First'.
Re^2: Net::SSH::Perl, Math::Pari
by syphilis (Archbishop) on Dec 17, 2015 at 23:20 UTC
    If you're willing to switch off of ActivePerl ...

    Not necessary regarding Net::SSH2:

    ppm install http://www.sisyphusion.tk/ppm/Net-SSH2.ppd --force

    Cheers,
    Rob
Re^2: Net::SSH::Perl, Math::Pari
by ralph2014 (Initiate) on Dec 17, 2015 at 23:39 UTC
    thanks for the response yeh, i hear you about strawberry, but its a company policy to have activestate. perhaps the portable could be an option. or perhaps plink in batch file, i could loop through an ip list i suppose, but i think that will be slow I just think this issue could do with tidying up, I have emailed the guy who maintains it, see if he responds i guess

      Thanks to syphilis we know that AS Perl is now compiled using MinGW.

      Use perl -V to get detailed version info, including compiler version and options.

      Once you know how Perl was built, you should be able ti install the correct version of MinGW and then use that to help build modules from CPAN.