Skip Menu |

This queue is for tickets about the Math-BigInt-GMP CPAN distribution.

Report information
The Basics
Id: 130506
Status: open
Priority: 0/
Queue: Math-BigInt-GMP

People
Owner: Nobody in particular
Requestors: elatllat [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: GMP.xs:4:10: fatal error: gmp.h: No such file or directory
Date: Sat, 14 Sep 2019 22:28:02 -0400
To: bug-Math-BigInt-GMP [...] rt.cpan.org
From: Tim <elatllat [...] gmail.com>
#Fresh Ubuntu 18.04 base arm64 perl -MCPAN -e shell install Math::Prime::Util ... All tests successful. Files=166, Tests=61231, 200 wallclock secs (43.41 usr 2.79 sys + 191.88 cusr 5.90 csys = 243.98 CPU) Result: PASS PJACKLAM/Math-BigInt-1.999816.tar.gz /usr/bin/make test -- OK Running make install Manifying 4 pod documents Installing /usr/local/share/perl/5.26.1/Math/BigInt.pm Installing /usr/local/share/perl/5.26.1/Math/BigFloat.pm Installing /usr/local/share/perl/5.26.1/Math/BigInt/Lib.pm Installing /usr/local/share/perl/5.26.1/Math/BigInt/Calc.pm Installing /usr/local/man/man3/Math::BigInt::Lib.3pm Installing /usr/local/man/man3/Math::BigInt::Calc.3pm Installing /usr/local/man/man3/Math::BigInt.3pm Installing /usr/local/man/man3/Math::BigFloat.3pm Appending installation info to /usr/local/lib/aarch64-linux-gnu/perl/5.26.1/perllocal.pod PJACKLAM/Math-BigInt-1.999816.tar.gz /usr/bin/make install -- OK PJACKLAM/Math-BigInt-GMP-1.6006.tar.gz Has already been unwrapped into directory /root/.cpan/build/Math-BigInt-GMP-1.6006-0 PJACKLAM/Math-BigInt-GMP-1.6006.tar.gz Has already been prepared Running make for P/PJ/PJACKLAM/Math-BigInt-GMP-1.6006.tar.gz cp lib/Math/BigInt/GMP.pm blib/lib/Math/BigInt/GMP.pm Running Mkbootstrap for GMP () chmod 644 "GMP.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- GMP.bs blib/arch/auto/Math/BigInt/GMP/GMP.bs 644 "/usr/bin/perl" "/usr/share/perl/5.26/ExtUtils/xsubpp" -typemap '/usr/share/perl/5.26/ExtUtils/typemap' -typemap '/root/.cpan/build/Math-BigInt-GMP-1.6006-0/typemap' GMP.xs > GMP.xsc mv GMP.xsc GMP.c aarch64-linux-gnu-gcc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.6006\" -DXS_VERSION=\"1.6006\" -fPIC "-I/usr/lib/aarch64-linux-gnu/perl/5.26/CORE" GMP.c GMP.xs:4:10: fatal error: gmp.h: No such file or directory #include "gmp.h" ^~~~~~~ compilation terminated. Makefile:340: recipe for target 'GMP.o' failed make: *** [GMP.o] Error 1 PJACKLAM/Math-BigInt-GMP-1.6006.tar.gz /usr/bin/make -- NOT OK Failed during this command: (optional) DANAJ/Math-Prime-Util-GMP-0.51.tar.gz: writemakefile NO -- No 'Makefile' created (optional) PJACKLAM/Math-BigInt-GMP-1.6006.tar.gz: make NO
On Sun Sep 15 03:28:33 2019, elatllat@gmail.com wrote: Show quoted text
> #Fresh Ubuntu 18.04 base arm64 > perl -MCPAN -e shell > install Math::Prime::Util > ... > All tests successful. > Files=166, Tests=61231, 200 wallclock secs (43.41 usr 2.79 sys + 191.88 > cusr 5.90 csys = 243.98 CPU) > Result: PASS > PJACKLAM/Math-BigInt-1.999816.tar.gz > /usr/bin/make test -- OK > Running make install > Manifying 4 pod documents > Installing /usr/local/share/perl/5.26.1/Math/BigInt.pm > Installing /usr/local/share/perl/5.26.1/Math/BigFloat.pm > Installing /usr/local/share/perl/5.26.1/Math/BigInt/Lib.pm > Installing /usr/local/share/perl/5.26.1/Math/BigInt/Calc.pm > Installing /usr/local/man/man3/Math::BigInt::Lib.3pm > Installing /usr/local/man/man3/Math::BigInt::Calc.3pm > Installing /usr/local/man/man3/Math::BigInt.3pm > Installing /usr/local/man/man3/Math::BigFloat.3pm > Appending installation info to > /usr/local/lib/aarch64-linux-gnu/perl/5.26.1/perllocal.pod > PJACKLAM/Math-BigInt-1.999816.tar.gz > /usr/bin/make install -- OK > PJACKLAM/Math-BigInt-GMP-1.6006.tar.gz > Has already been unwrapped into directory > /root/.cpan/build/Math-BigInt-GMP-1.6006-0 > PJACKLAM/Math-BigInt-GMP-1.6006.tar.gz > Has already been prepared > Running make for P/PJ/PJACKLAM/Math-BigInt-GMP-1.6006.tar.gz > cp lib/Math/BigInt/GMP.pm blib/lib/Math/BigInt/GMP.pm > Running Mkbootstrap for GMP () > chmod 644 "GMP.bs" > "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- GMP.bs > blib/arch/auto/Math/BigInt/GMP/GMP.bs 644 > "/usr/bin/perl" "/usr/share/perl/5.26/ExtUtils/xsubpp" -typemap > '/usr/share/perl/5.26/ExtUtils/typemap' -typemap > '/root/.cpan/build/Math-BigInt-GMP-1.6006-0/typemap' GMP.xs > GMP.xsc > mv GMP.xsc GMP.c > aarch64-linux-gnu-gcc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv > -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.6006\" > -DXS_VERSION=\"1.6006\" -fPIC "-I/usr/lib/aarch64-linux-gnu/perl/5.26/CORE" > GMP.c > GMP.xs:4:10: fatal error: gmp.h: No such file or directory > #include "gmp.h" > ^~~~~~~ > compilation terminated. > Makefile:340: recipe for target 'GMP.o' failed > make: *** [GMP.o] Error 1 > PJACKLAM/Math-BigInt-GMP-1.6006.tar.gz > /usr/bin/make -- NOT OK > Failed during this command: > (optional) DANAJ/Math-Prime-Util-GMP-0.51.tar.gz: writemakefile NO -- No > 'Makefile' created > > (optional) PJACKLAM/Math-BigInt-GMP-1.6006.tar.gz: make NO
You may not have libgmp-dev installed, or it may be installed in a non-standard location: https://metacpan.org/source/PJACKLAM/Math-BigInt-GMP-1.6006/README#L12 For me apt install libgmp-dev before using cpanm to install was successful