Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Communication between Windows and Linux via Perl

by hbm (Hermit)
on Apr 10, 2013 at 15:41 UTC ( #1028002=note: print w/replies, xml ) Need Help??


in reply to Communication between Windows and Linux via Perl

Evidently Math::Pari failed to install. I ran into this recently, and:

  1. Copied .cpan/sources/authors/id/I/IL/ILYAZ/modules/Math-Pari-2.01080605.tar.gz into a working directory.
  2. Untar'd it, and changed into the uncompressed Math-Pari directory.
  3. Fetched and untar'd http://megrez.math.u-bordeaux.fr/pub/pari/unix/OLD/pari-2.1.7.tgz.
  4. perl Makefile.PL; make; make install

For #4, on Windows, you'll probably use some other 'make'. See what 'perl -V:make' says.

  • Comment on Re: Communication between Windows and Linux via Perl

Replies are listed 'Best First'.
Re^2: Communication between Windows and Linux via Perl
by B-Man (Acolyte) on Apr 10, 2013 at 16:57 UTC

      "You don't have a Perl Package Manager you can use to install Math::Pari? That's how I get my packages. It even notes any dependencies you need for packages you want to install and automatically installs those as well, preventing problems like this."

      Both ActiveState and Strawberry Perl have shipped with PPM and cpan for several years now. ActiveState doesn't ship with a C compiler or build tools, though they can be installed via ppm MinGW though currently only for the 32bit platform (note OP is using a 64bit perl), if you want to work with ActiveState 64bit you have to install this yourself.

      With a little effort installing modules and their dependencies via cpan is reasonably straightforward. IMHO any automated system for module installation is going to have it's short comings, and for cpan that (again, IMHO) is the level of verbose output you get on failure. It seems simply to confuse those who aren't used to software compilation. In other words those who are new, and this can be very discouraging. Perhaps we can work on that.

      Some of the popular PPM repos have been reported to me as 'out of date' or 'behind the times' recently. Part of that is perhaps due to them being run by individuals. I'm currently drafting a module installation tutorial covering modern module installation methods, and a FAQ on the subject. This will be posted for critique in the usual place before it makes it to tutorials.

        hi,

        Thank you so much and the tutorials is so good :)

        I use Active Perl to compile and execute perl script. Active Perl has pre-insall the PPM, but there is no Net::SSH::Perl module in PPM.

        I download the Net::SSH::Perl from CPAN and install it on my Windows platform. But I don't know I should install Math::Pari module. Thank you for you reminder :). I'll install this module and try again.

        Br, Wei

      Hi,

      thank you :). I try to download a nmake application, but to my surprise, I didn't find it from Micorsoft Website, while I didn't use Visual Studio. Fortunately, I found the dmake application and it can be used to install the perl module.

      according to so many warm-hearted friends' advise, I found I didn't install the Net::SSH::Perl module correctly. I'm planning to re-install this module.

      Thank you so much

      Br, Wei
Re^2: Communication between Windows and Linux via Perl
by zhonghua (Novice) on Apr 11, 2013 at 14:14 UTC

    Thank you, I have installed dmake to compile and isntall the Net::SSH::Perl module.

    Maybe I need to re-install it. Thank you.

    Br, Wei

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1028002]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2021-09-28 14:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?