- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Perl - GMP errors
Operating System - Linux
1753964
Members
7232
Online
108811
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2007 10:03 AM
02-16-2007 10:03 AM
Perl - GMP errors
I am trying to install Math::GMP ( eventually trying to install SFTP,SSH & DBD::Oracle) . I'm using Merijn's Perl 5.8.8 build with gcc 3.4.3 (also installed) and am having the following problems. When I first ran the make on GMP, it had a problem finding the gmp.h and libgmp.sl so I'm trying to create that make file with the following command
perl Makefile.PL INC="-I/usr/local/include" LIBS="-L/usr/local/lib/hpux64 -lgmp"
Output of Make --->
cp lib/Math/GMP.pm blib/lib/Math/GMP.pm
AutoSplitting blib/lib/Math/GMP.pm (blib/lib/auto/Math/GMP)
/opt/perl/bin/perl /opt/perl64/lib/5.8.8/ExtUtils/xsubpp -typemap /opt/perl64/lib/5.8.8/ExtUtils/typemap -typemap typemap GMP.xs > GMP.xsc && mv GMP.xsc GMP.c
gcc64 -c -I/usr/local/include -mpa-risc-2-0 -DDEBUGGING -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/pa20_64/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -DVERSION=\"2.04\" -DXS_VERSION=\"2.04\" -fPIC "-I/opt/perl64/lib/5.8.8/PA-RISC2.0-LP64/CORE" GMP.c
Running Mkbootstrap for Math::GMP ()
chmod 644 GMP.bs
rm -f blib/arch/auto/Math/GMP/GMP.sl
LD_RUN_PATH="/usr/local/lib/hpux64" /usr/bin/ld -b -L/usr/local/pa20_64/lib -L/usr/local/lib/pa20_64 -L/usr/lib/pa20_64 -L/usr/local/lib -L/pro/local/lib -L/lib/pa20_64 GMP.o -o blib/arch/auto/Math/GMP/GMP.sl \
-L/usr/local/lib/hpux64 -lgmp \
Warning: Some debug info sections were missing.
PXDB aborted.
chmod 755 blib/arch/auto/Math/GMP/GMP.sl
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
Output of make test ------>
PERL_DL_NONLAZY=1 /opt/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/gmppm....# Test 278 got: "9999999999" (t/gmppm.t at line 118 fail #278)
# Expected: "1410065407"
# t/gmppm.t line 118 is: print "# Tried '$try'\n" if !ok("$ans1",$ans); # need "$ans1" due to bug
# Test 279 got: "99999999999" (t/gmppm.t at line 118 fail #279)
# Expected: "1215752191"
# Test 280 got: "999999999999" (t/gmppm.t at line 118 fail #280)
# Expected: "3567587327"
t/gmppm....ok 1/350# Test 285 got: "9999999999" (t/gmppm.t at line 118 fail #285)
# Expected: "1410065407"
t/gmppm....FAILED tests 278-280, 285
Failed 4/350 tests, 98.86% okay
Failed Test Stat Wstat Total Fail List of Failed
--------------------------------------------------------------------------------------------------------------------------------
t/gmppm.t 350 4 278-280 285
Failed 1/1 test scripts. 4/350 subtests failed.
Files=1, Tests=350, 2 wallclock secs ( 0.28 cusr + 0.05 csys = 0.33 CPU)
Failed 1/1 test programs. 4/350 subtests failed.
*** Error exit code 255
Stop.
So I'm not really sure what's going wrong at this point. Any help would be appreciated
perl Makefile.PL INC="-I/usr/local/include" LIBS="-L/usr/local/lib/hpux64 -lgmp"
Output of Make --->
cp lib/Math/GMP.pm blib/lib/Math/GMP.pm
AutoSplitting blib/lib/Math/GMP.pm (blib/lib/auto/Math/GMP)
/opt/perl/bin/perl /opt/perl64/lib/5.8.8/ExtUtils/xsubpp -typemap /opt/perl64/lib/5.8.8/ExtUtils/typemap -typemap typemap GMP.xs > GMP.xsc && mv GMP.xsc GMP.c
gcc64 -c -I/usr/local/include -mpa-risc-2-0 -DDEBUGGING -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/pa20_64/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -DVERSION=\"2.04\" -DXS_VERSION=\"2.04\" -fPIC "-I/opt/perl64/lib/5.8.8/PA-RISC2.0-LP64/CORE" GMP.c
Running Mkbootstrap for Math::GMP ()
chmod 644 GMP.bs
rm -f blib/arch/auto/Math/GMP/GMP.sl
LD_RUN_PATH="/usr/local/lib/hpux64" /usr/bin/ld -b -L/usr/local/pa20_64/lib -L/usr/local/lib/pa20_64 -L/usr/lib/pa20_64 -L/usr/local/lib -L/pro/local/lib -L/lib/pa20_64 GMP.o -o blib/arch/auto/Math/GMP/GMP.sl \
-L/usr/local/lib/hpux64 -lgmp \
Warning: Some debug info sections were missing.
PXDB aborted.
chmod 755 blib/arch/auto/Math/GMP/GMP.sl
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
Output of make test ------>
PERL_DL_NONLAZY=1 /opt/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/gmppm....# Test 278 got: "9999999999" (t/gmppm.t at line 118 fail #278)
# Expected: "1410065407"
# t/gmppm.t line 118 is: print "# Tried '$try'\n" if !ok("$ans1",$ans); # need "$ans1" due to bug
# Test 279 got: "99999999999" (t/gmppm.t at line 118 fail #279)
# Expected: "1215752191"
# Test 280 got: "999999999999" (t/gmppm.t at line 118 fail #280)
# Expected: "3567587327"
t/gmppm....ok 1/350# Test 285 got: "9999999999" (t/gmppm.t at line 118 fail #285)
# Expected: "1410065407"
t/gmppm....FAILED tests 278-280, 285
Failed 4/350 tests, 98.86% okay
Failed Test Stat Wstat Total Fail List of Failed
--------------------------------------------------------------------------------------------------------------------------------
t/gmppm.t 350 4 278-280 285
Failed 1/1 test scripts. 4/350 subtests failed.
Files=1, Tests=350, 2 wallclock secs ( 0.28 cusr + 0.05 csys = 0.33 CPU)
Failed 1/1 test programs. 4/350 subtests failed.
*** Error exit code 255
Stop.
So I'm not really sure what's going wrong at this point. Any help would be appreciated
- Tags:
- Perl
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2007 06:01 AM
02-17-2007 06:01 AM
Re: Perl - GMP errors
cpp: "GMP.xs", line 4: error 4036: Can't open include file 'gmp.h'.
So I cannot test personally.
Some small questions, as I don't think it is perl's fault
Which perl did you use? The first or the second build?
The first accidentally had a wrong define in the configuration causing some strange failures somewhere. The second was a rebuild from the ground up. See the remarks on my site:
--8<--- (on the site this is formatted :)
5.8.8 02-02-2006 gcc-4.0.2
gcc-3.4.6 DBI-1.50, Tk-804.027
DBI-1.53, Tk-804.027 The builds on 11.11 (11iv1) are with gcc-3.4.5, because 4.0.2/64 still causes major trouble.
The builds on 11.11 (11iv1) do not include SSL modules.
First build was accidentally created with -DPERL_DONT_CREATE_GVSV. A new build has been uploaded.
-->8---
11.00 or 11.11?
As the most recent version from Math::GMP is from 28 Sep 2004, it is also likely that it has not been fully tested against 64bit builds, which you are using.
Look here if you can spot similarities between failures on 64bit machines and your box:
http://cpantesters.perl.org/show/Math-GMP.html#Math-GMP-2.04
And here to see the reported bugs for this module:
http://rt.cpan.org/Public/Dist/Display.html?Name=Math-GMP
And BINGO:
http://rt.cpan.org/Public/Bug/Display.html?id=5960
#5960: Math::GMP tests fail on 64-bit platforms
So, not your fault/problem, nor mine. Read that last link. If I'm not mistaken, a solution/workaround is posted.
Enjoy, Have FUN! H.Merijn
So I cannot test personally.
Some small questions, as I don't think it is perl's fault
Which perl did you use? The first or the second build?
The first accidentally had a wrong define in the configuration causing some strange failures somewhere. The second was a rebuild from the ground up. See the remarks on my site:
--8<--- (on the site this is formatted :)
5.8.8 02-02-2006 gcc-4.0.2
gcc-3.4.6 DBI-1.50, Tk-804.027
DBI-1.53, Tk-804.027 The builds on 11.11 (11iv1) are with gcc-3.4.5, because 4.0.2/64 still causes major trouble.
The builds on 11.11 (11iv1) do not include SSL modules.
First build was accidentally created with -DPERL_DONT_CREATE_GVSV. A new build has been uploaded.
-->8---
11.00 or 11.11?
As the most recent version from Math::GMP is from 28 Sep 2004, it is also likely that it has not been fully tested against 64bit builds, which you are using.
Look here if you can spot similarities between failures on 64bit machines and your box:
http://cpantesters.perl.org/show/Math-GMP.html#Math-GMP-2.04
And here to see the reported bugs for this module:
http://rt.cpan.org/Public/Dist/Display.html?Name=Math-GMP
And BINGO:
http://rt.cpan.org/Public/Bug/Display.html?id=5960
#5960: Math::GMP tests fail on 64-bit platforms
So, not your fault/problem, nor mine. Read that last link. If I'm not mistaken, a solution/workaround is posted.
Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP