Operating System - Linux
1827443 Members
6217 Online
109965 Solutions
New Discussion

installing perl module MATH::PARI-2.010703

 
rashmi R
Advisor

installing perl module MATH::PARI-2.010703

HI :
I am installing a perl module MATH::PARI-2.010703 from cpan on HP UX 11.11 with perl 5.6.1. Iam getting errors while trying to install this. i used "perl Makefile.PL". and then make install. I have attached the error file with this.
4 REPLIES 4
Arunvijai_4
Honored Contributor

Re: installing perl module MATH::PARI-2.010703

Hi Rashmi,

Try with "gcc" as against you tried with Bundled CC which doesn't have some features. Before start, # export CC=/usr/loca/bin/gcc

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
rashmi R
Advisor

Re: installing perl module MATH::PARI-2.010703

i did this
#export CC=/usr/loca/bin/gcc
# perl Makefile.PL
#make install

Iam getting the same errors :(
Arunvijai_4
Honored Contributor

Re: installing perl module MATH::PARI-2.010703

Hi Rashmi,

You need to clean the makefiles generated, probably, "gmake clean" and "gmake distclean" might help. Or, deleting the entire directory, unzip|untar will help.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
rashmi R
Advisor

Re: installing perl module MATH::PARI-2.010703

HI:

I compiled using
#perl Makefile.PL CPP='gcc -E'
#make install

this got compiled. but when i try to run a example am gettin this error

Can't locate Math/Pari.pm in @INC (@INC contains: /opt/perl_32/lib/5.8.7/PA-RISC1.1-thread-multi /opt/perl_32/lib/5.8.7 /opt/perl_32/lib/site_perl/5.8.7/PA-RISC1.1-thread-multi /opt/perl_32/lib/site_perl/5.8.7 /opt/perl_32/lib/site_perl /opt/perl_32/lib/vendor_perl/5.8.7/PA-RISC1.1-thread-multi /opt/perl_32/lib/vendor_perl/5.8.7 /opt/perl_32/lib/vendor_perl .) at /opt/perl_32/lib/site_perl/5.8.7/Net/SSH/Perl/Util/SSH2MP.pm line 6, line 1.
BEGIN failed--compilation aborted at /opt/perl_32/lib/site_perl/5.8.7/Net/SSH/Perl/Util/SSH2MP.pm line 6, line 1.
Compilation failed in require at /opt/perl_32/lib/site_perl/5.8.7/Net/SSH/Perl/Util.pm line 56, line 1.
BEGIN failed--compilation aborted at /opt/perl_32/lib/site_perl/5.8.7/Net/SSH/Perl/Kex/DH1.pm line 10, line 1.
Compilation failed in require at /opt/perl_32/lib/site_perl/5.8.7/Net/SSH/Perl/Kex.pm line 6, line 1.
BEGIN failed--compilation aborted at /opt/perl_32/lib/site_perl/5.8.7/Net/SSH/Perl/Kex.pm line 6, line 1.
Compilation failed in require at /opt/perl_32/lib/site_perl/5.8.7/Net/SSH/Perl/SSH2.pm line 6, line 1.
BEGIN failed--compilation aborted at /opt/perl_32/lib/site_perl/5.8.7/Net/SSH/Perl/SSH2.pm line 6, line 1.
Compilation failed in require at /opt/perl_32/lib/site_perl/5.8.7/Net/SSH/Perl.pm line 51, line 1.

Regards,
Rashmi