HI David, I am using the latest perl v5.8.8, But even though its failing in "Make test". please let me know the solution for this.
Regards, Santosh. [EMAIL PROTECTED] # perl -v This is perl, v5.8.8 built for sun4-solaris Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. [EMAIL PROTECTED] # perl Makefile.PL Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lgmp Writing Makefile for Math::GMP [EMAIL PROTECTED] # make cp lib/Math/GMP.pm blib/lib/Math/GMP.pm AutoSplitting blib/lib/Math/GMP.pm (blib/lib/auto/Math/GMP) /usr/local/bin/perl /BSR/tools/local/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /BSR/tools/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap GMP.xs > GMP.xsc && mv GMP.xsc GMP.c /opt/SUNWspro/bin/cc -c -I/usr/local/include -I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.04\" -DXS_VERSION=\"2.04\" -KPIC "-I/BSR/tools/local/lib/perl5/5.8.8/sun4-solaris/CORE" GMP.c "GMP.xs", line 384: warning: implicit function declaration: mpz_fib_ui "GMP.xs", line 409: warning: implicit function declaration: mpz_xor "GMP.xs", line 455: warning: implicit function declaration: mpz_tstbit Running Mkbootstrap for Math::GMP () chmod 644 GMP.bs rm -f blib/arch/auto/Math/GMP/GMP.so /opt/SUNWspro/bin/cc -G -L/usr/lib -L/usr/ccs/lib -L/vol/apxtools/SUNStudio10/SUNWspro/prod/lib/v8plus -L/vol/apxtools/SUNStudio10/SUNWspro/prod/lib -L/lib -L/usr/local/lib -L/opt/gnu/lib GMP.o -o blib/arch/auto/Math/GMP/GMP.so \ \ chmod 755 blib/arch/auto/Math/GMP/GMP.so cp GMP.bs blib/arch/auto/Math/GMP/GMP.bs chmod 644 blib/arch/auto/Math/GMP/GMP.bs Manifying blib/man3/Math::GMP.3 [EMAIL PROTECTED] # make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/gmppm....Can't load '/export/santosh/Math-GMP-2.04/blib/arch/auto/Math/GMP/GMP.so' for module Math::GMP: ld.so.1: perl: fatal: relocation error: file /export/santosh/Math-GMP-2.04/blib/arch/auto/Math/GMP/GMP.so: symbol mpz_init_set_str: referenced symbol not found at /BSR/tools/local/lib/perl5/5.8.8/sun4-solaris/DynaLoader.pm line 230. at t/gmppm.t line 7 Compilation failed in require at t/gmppm.t line 7. BEGIN failed--compilation aborted at t/gmppm.t line 7. t/gmppm....dubious Test returned status 2 (wstat 512, 0x200) FAILED--1 test script could be run, alas--no output ever seen make: *** [test_dynamic] Error 2 ----- Forwarded by Santosh Shivalingaiah/BLR/HSS on 01/23/2007 03:26 PM ----- Aravind Saundatti Raghavendra/BLR/HSS 01/23/2007 03:09 PM Aricent-Private To Santosh Shivalingaiah/BLR/[EMAIL PROTECTED] cc Subject Fw: Error while trying to install Math-GMP-2.04 package FYI ----- Forwarded by Aravind Saundatti Raghavendra/BLR/HSS on 01/23/2007 03:16 PM ----- David Landgren <[EMAIL PROTECTED]> 01/18/2007 09:08 PM To Aravind Saundatti Raghavendra/BLR/[EMAIL PROTECTED] cc [email protected] Subject Re: Error while trying to install Math-GMP-2.04 package [EMAIL PROTECTED] wrote: > > Hello, > > We are facing the error while trying to install *Math-GMP-2.04 package, > *please help if you have any solutions. > > Below is the Snapshot of the error...... > > *bsrvob01#* cd /tmp/Math-GMP-2.04/ > > *bsrvob01#* ls > COPYING.LIB INSTALL Makefile.PL gmp.h typemap > Changes LICENSE Makefile.old lib > GMP.c MANIFEST README pm_to_blib > GMP.xs Makefile blib t You appear to be using a perl interpreter (5.005_03) that was released nearly 8 years ago. It is highly likely that the code in Math::GMP makes assumptions that don't work on such an old interpreter. Are you sure you don't have a more recent Perl installed, for instance in /usr/local or /opt ? If that is the case, you will have to set up the build by running the Makefile.PL with the desired interpreter. This would be something like # clean up make distclean # set up /usr/local/bin/perl Makefile.PL # or maybe something like /opt/perl/bin/perl Makefile.PL # build and test and install if everything works make all test && make install Hope this helps, David Landgren > *bsrvob01#* make > cc -c -xO3 -xdepend -DVERSION=\"2.04\" -DXS_VERSION=\"2.04\" > -KPIC -I/usr > /perl5/5.00503/sun4-solaris/CORE GMP.c > "GMP.xs", line 384: warning: implicit function declaration: mpz_fib_ui > "GMP.xs", line 409: warning: implicit function declaration: mpz_xor > "GMP.xs", line 455: warning: implicit function declaration: mpz_tstbit > Running Mkbootstrap for Math::GMP () > chmod 644 GMP.bs > LD_RUN_PATH="" cc -o blib/arch/auto/Math/GMP/GMP.so -G GMP.o > chmod 755 blib/arch/auto/Math/GMP/GMP.so > cp GMP.bs blib/arch/auto/Math/GMP/GMP.bs > chmod 644 blib/arch/auto/Math/GMP/GMP.bs > Manifying blib/man3/Math::GMP.3 > > *bsrvob01# *make test > PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib > -I/usr/perl5/5.00503/sun4 > -solaris -I/usr/perl5/5.00503 -e 'use Test::Harness qw(&runtests > $verbose); $ver > bose=0; runtests @ARGV;' t/*.t > t/gmppm.............Can't load 'blib/arch/auto/Math/GMP/GMP.so' for > module Math: > :GMP: ld.so.1: perl: fatal: relocation error: file > blib/arch/auto/Math/GMP/GMP.s > o: symbol mpz_init_set_str: referenced symbol not found at > /usr/perl5/5.00503/su > n4-solaris/DynaLoader.pm line 169. > > at t/gmppm.t line 7 > BEGIN failed--compilation aborted at t/gmppm.t line 7. > dubious > Test returned status 255 (wstat 65280, 0xff00) > FAILED--1 test script could be run, alas--no output ever seen > *** Error code 2 > make: Fatal error: Command failed for target `test_dynamic' > > > *********************** Aricent-Unclassified *********************** > > "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of > the individual to whom it is addressed. It may contain privileged or confidential information and should not be > circulated or used for any purpose other than for what it is intended. If you have received this message in error, > please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly > prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for > loss or damage arising from the use of the information transmitted by this email including damage from virus." > *********************** Aricent-Private *********************** *********************** Aricent-Private *********************** "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."
jpgXVEXqfDMoT.jpg
Description: JPEG image
