Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Installing Math::Pari module on Windows 2008

by salva (Abbot)
on Oct 11, 2012 at 07:54 UTC ( #998385=note: print w/replies, xml ) Need Help??

in reply to Installing Math::Pari module on Windows 2008

Net::SSH::Perl is old and unmaintained.

Nowadays, on Windows, Net::SSH2 is a much better option and easier to install.

  • Comment on Re: Installing Math::Pari module on Windows 2008

Replies are listed 'Best First'.
Re^2: Installing Math::Pari module on Windows 2008
by syphilis (Chancellor) on Oct 11, 2012 at 08:38 UTC
    Net::SSH2 is even available via ppm from the sisyphusion repo, and it also ships with the recent Strawberry Perl builds.


      Thanks everyone for your replies. I am trying to install Net::SSH2 module now on windows 2008 R2 OS.

      As per the instruction provided in the building guide for Win32, I am kind of stuck in step which build libssh2.

      BUILDING_WIN32 document suggests the following approach for building libssh2:

      ============================================================ * Build libssh2 Download the latest libssh2 from: Unpack it and go into it: tar zxvf libssh2-1.4.2.tar.gz cd libssh2-1.4.2 Note the directories where you built OpenSSL and zlib, I will use mine + in the following example. Build libssh2: ./buildconf ./configure --with-openssl --with-libz \ --with-libssl-prefix=/c/Users/rkitover/src/openssl-1.0.1c \ --with-libz-prefix=/c/Users/rkitover/src/zlib-1.2.7 \ --disable-examples-build make -j3 The libssh2.a will be in src/.libs . ===========================================================

      when I try to perform ./buildconf on CMD prompt shell, I ended up with below error:

      C:\libssh2-1.4.2>sh buildconf which: libtoolize: unknown command which: glibtoolize: unknown command Neither libtoolize nor glibtoolize could be found!

      Later I manually intalled libtooltize tool using 'libtool-1.5.26-setup.exe' and now ending up with below error:

      C:\libssh2-1.4.2>sh buildconf buildconf: line 15: aclocal: command not found buildconf: line 16: autoheader: command not found buildconf: line 21: autoconf: command not found buildconf: line 22: automake: command not found C:\libssh2-1.4.2>
      I tried installing autoconf and automake similarly but again ending up with multiple compilations issues.
      Can anyone suggest how to overcome this issue?
      MinGw and MinGW_64 is already configured on host and running fine.
      I've successfully done all the previous steps as suggested in document


        I'm not sure what distribution of Perl that you're using. I'd recommend taking a look at Strawberry Perl, which includes the compiler tools needed to allow you to immediately install modules from CPAN.

        Strawberry Perl 5.16.1 32-bit already includes the Math::Pari and Net::SSH2 modules. Strawberry Perl 5.16.1 64-bit already includes the Net::SSH2 module.

        Rather than trying to "fix" your current Perl install, I think that it might be quicker and less painful to move to Strawberry Perl, which already has the module that you're wanting installed and has the compiler tools to allow module installation directly from CPAN.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2018-06-19 18:37 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (114 votes). Check out past polls.