Dear list,
I'm trying to use Net::SSH::Perl, but it requires the Math::GMP module. I
have installed a GMP library (required for Math::GMP) but when I try to
install Math::GMP I get an error. Here's the transcript. May someone shed
some light?
perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Math::GMP
-----
make
cp lib/Math/GMP.pm blib/lib/Math/GMP.pm
AutoSplitting blib/lib/Math/GMP.pm (blib/lib/auto/Math/GMP)
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap GMP.xs > GMP.xsc
&& mv GMP.xsc GMP.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"2.06\"
-DXS_VERSION=\"2.06\" -fPIC
"-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" GMP.c
GMP.xs: In function âconstantâ:
GMP.xs:49: warning: label ânot_thereâ defined but not used
GMP.c: At top level:
GMP.xs:35: warning: ânot_hereâ defined but not used
Running Mkbootstrap for Math::GMP ()
chmod 644 GMP.bs
rm -f blib/arch/auto/Math/GMP/GMP.so
LD_RUN_PATH="/usr/lib64" gcc -shared -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic GMP.o -o
blib/arch/auto/Math/GMP/GMP.so \
-lgmp \
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.3pm
-----
make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_signature.t ... skipped: Test skipped unless environment variable
RELEASE_TESTING is set
t/01_gmppm.t ....... Can't load
'/root/temp/Math-GMP-2.06/blib/arch/auto/Math/GMP/GMP.so' for module
Math::GMP: libgmp.so.10: cannot open shared object file: No such file or
directory at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
at t/01_gmppm.t line 6
Compilation failed in require at t/01_gmppm.t line 6.
BEGIN failed--compilation aborted at t/01_gmppm.t line 6.
t/01_gmppm.t ....... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/99_perlcritic.t .. skipped: Test skipped unless environment variable
RELEASE_TESTING is set
t/99_pod.t ......... skipped: Test skipped unless environment variable
RELEASE_TESTING is set
t/99_spellcheck.t .. skipped: Test skipped unless environment variable
RELEASE_TESTING is set
t/99_yaml.t ........ skipped: Test skipped unless environment variable
RELEASE_TESTING is set
Test Summary Report
-------------------
t/01_gmppm.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=6, Tests=0, 0 wallclock secs ( 0.04 usr 0.02 sys + 0.09 cusr
0.03 csys = 0.18 CPU)
Result: FAIL
Failed 1/6 test programs. 0/0 subtests failed.
make: *** [test_dynamic] Error 255
Many thanks,
--
Dave Tang
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/