Error in loading module Math::Pari 2.010709
Dear All, I'm trying to install the module Math::Pari under windows platform. But it is giving error. C:\usr\cpan\build\Math-Pari-2.010701>perl Makefile.PL Did not find GP/PARI build directory around. Do you want to me to fetch GP/PARI automatically? (If you do not, you will need to fetch it manually, and/or direct me to the directory with GP/PARI source via the command-line option paridir=/dir) Make sure you have a large scrollback buffer to see the messages. Fetch? (y/n, press Enter) y Getting GP/PARI from ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/ Cannot create FTP object: Unknown error at utils/Math/PariBuild.pm line 190, <ST DIN> line 1. Can't fetch file with Net::FTP, now trying with LWP::UserAgent... Can't fetch directory listing from ftp://megrez.math.u-bordeaux.fr/pub/pari/unix /: 500 LWP::Protocol::MyFTP: connect: Unknown error Client-Date: Thu, 27 Dec 2007 09:40:36 GMT C:\usr\cpan\build\Math-Pari-2.010701> Could any body tell how to install this module? Thanx in advance Arnab -- View this message in context: http://www.nabble.com/Error-in-loading-module-Math%3A%3APari-2.010709-tp1451... Sent from the Koha - Discuss mailing list archive at Nabble.com.
Hi Arnab, Are you using activestate perl? If so, you need to get your module in a ppm format package from activestate instead of from cpan. If you want to manually download a module, you can get it from one of the activestate repositories at http://ppm.activestate.com/PPMPackages/zips/ However, if you are using activeperl 5.8.8.820 or later, you should have a shortcut for Perl Package Manager (ppm) on your windows start menu that you can use to install and update modules. When you run ppm, go under the View menu and change it to show All Packages instead of just Installed Packages, and you should see Math::Pari on the list. Right click, mark it for install, and then click the green arrow to Run Marked Actions. That should do it for you. Of course, you need a working internet connection. You should avoid using activeperl 5.8.8.818 or 5.8.8.819 because they had some bugs in the Package Manager. For activeperl 5.8.8.817 and earlier, I think you had to run the package manager from a command line. Check the documentation for how to set a repository and install a module. Or you could manually download the module, unzip it to a folder (I use c:\usr\site\lib\ppm-conf for the w32 install packages), and then run "ppm install Math-Pari.ppd" from a command line in that folder. Each module you download will have a readme with the exact syntax to use to install. Hope this helps. Rob arnab wrote:
Dear All,
I'm trying to install the module Math::Pari under windows platform. But it is giving error. .... Could any body tell how to install this module?
Thanx in advance
Arnab
participants (2)
-
arnab -
Rob Weir