Subject: | Can not install with CPAN this module |
In addition MANIFEST Does not show a gmp.h file and one not downloaded
install Math::GMP
CPAN: Storable loaded ok
Going to read /usr/perl/5.8.7/dev_perl/.cpan/Metadata
Database was generated on Tue, 11 Oct 2005 10:01:19 GMT
Running install for module Math::GMP
Running make for C/CH/CHIPT/Math-GMP-2.04.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /usr/perl/5.8.7/dev_perl/.cpan/sources/authors/id/C/CH/CHIPT/Math-GMP-2.04.tar.gz ok
Scanning cache /usr/perl/5.8.7/dev_perl/.cpan/build for sizes
x Math-GMP-2.04
x Math-GMP-2.04/Changes, 1058 bytes, 3 media blocks.
x Math-GMP-2.04/COPYING.LIB, 25275 bytes, 50 media blocks.
x Math-GMP-2.04/MANIFEST, 105 bytes, 1 media blocks.
x Math-GMP-2.04/typemap, 289 bytes, 1 media blocks.
x Math-GMP-2.04/GMP.xs, 6948 bytes, 14 media blocks.
x Math-GMP-2.04/t
x Math-GMP-2.04/t/gmppm.t, 8790 bytes, 18 media blocks.
x Math-GMP-2.04/lib
x Math-GMP-2.04/lib/Math
x Math-GMP-2.04/lib/Math/GMP.pm, 8910 bytes, 18 media blocks.
x Math-GMP-2.04/INSTALL, 359 bytes, 1 media blocks.
x Math-GMP-2.04/Makefile.PL, 335 bytes, 1 media blocks.
x Math-GMP-2.04/README, 473 bytes, 1 media blocks.
x Math-GMP-2.04/LICENSE, 947 bytes, 2 media blocks.
Removing previously used /usr/perl/5.8.7/dev_perl/.cpan/build/Math-GMP-2.04
CPAN.pm: Going to build C/CH/CHIPT/Math-GMP-2.04.tar.gz
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lgmp
Writing Makefile for Math::GMP
cp lib/Math/GMP.pm blib/lib/Math/GMP.pm
AutoSplitting blib/lib/Math/GMP.pm (blib/lib/auto/Math/GMP)
/usr/perl/5.8.7/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" => "Math::GMP", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);'
/usr/perl/5.8.7/bin/perl /usr/perl/5.8.7/lib/ExtUtils/xsubpp -typemap /usr/perl/5.8.7/lib/ExtUtils/typemap -typemap typemap GMP.xs > GMP.xsc && mv GMP.xsc GMP.c
cc_r -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -I/usr/local/include -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"2.04\" -DXS_VERSION=\"2.04\" "-I/usr/perl/5.8.7/lib/aix-thread-multi/CORE" GMP.c
1506-507 (W) No licenses available. Contact your program supplier to add additional users. Compilation will proceed shortly.
"GMP.xs", line 4.10: 1506-296 (S) #include file "gmp.h" not found.
"GMP.c", line 91.9: 1506-045 (S) Undeclared identifier mpz_t.
"GMP.c", line 91.17: 1506-045 (S) Undeclared identifier RETVAL.
"GMP.c", line 111.9: 1506-045 (S) Undeclared identifier mpz_t.
"GMP.c", line 111.17: 1506-045 (S) Undeclared identifier RETVAL.
"GMP.c", line 129.9: 1506-045 (S) Undeclared identifier mpz_t.
"GMP.c", line 129.17: 1506-045 (S) Undeclared identifier n.
"GMP.c", line 133.25: 1506-275 (S) Unexpected text ')' encountered.
"GMP.c", line 133.30: 1506-277 (S) Syntax error: possible missing ')' or ','?
"GMP.c", line 152.9: 1506-045 (S) Undeclared identifier mpz_t.
"GMP.c", line 152.17: 1506-045 (S) Undeclared identifier n.
"GMP.xs", line 98.5: 1506-275 (S) Unexpected text 'int' encountered.
"GMP.xs", line 98.9: 1506-045 (S) Undeclared identifier len.
"GMP.c", line 157.5: 1506-276 (S) Syntax error: possible missing ':'?
"GMP.c", line 161.25: 1506-275 (S) Unexpected text ')' encountered.
"GMP.c", line 161.30: 1506-277 (S) Syntax error: possible missing ')' or ','?
"GMP.xs", line 106.7: 1506-045 (S) Undeclared identifier RETVAL.
"GMP.c", line 188.9: 1506-045 (S) Undeclared identifier mpz_t.
"GMP.c", line 188.17: 1506-045 (S) Undeclared identifier n.
"GMP.c", line 189.9: 1506-275 (S) Unexpected text 'int' encountered.
"GMP.c", line 189.17: 1506-045 (S) Undeclared identifier b.
"GMP.xs", line 119.5: 1506-275 (S) Unexpected text 'int' encountered.
"GMP.xs", line 119.9: 1506-045 (S) Undeclared identifier len.
"GMP.c", line 194.5: 1506-276 (S) Syntax error: possible missing ':'?
"GMP.c", line 198.25: 1506-275 (S) Unexpected text ')' encountered.
"GMP.c", line 198.30: 1506-277 (S) Syntax error: possible missing ')' or ','?
"GMP.xs", line 127.9: 1506-045 (S) Undeclared identifier RETVAL.
"GMP.c", line 225.9: 1506-045 (S) Undeclared identifier mpz_t.
"GMP.c", line 225.17: 1506-045 (S) Undeclared identifier n.
"GMP.c", line 226.9: 1506-275 (S) Unexpected text 'int' encountered.
"GMP.c", line 226.17: 1506-045 (S) Undeclared identifier b.
"GMP.c", line 227.9: 1506-275 (S) Unexpected text 'int' encountered.
"GMP.c", line 227.17: 1506-045 (S) Undeclared identifier RETVAL.
"GMP.c", line 228.9: 1506-276 (S) Syntax error: possible missing ':'?
"GMP.c", line 228.9: 1506-275 (S) Unexpected text ')' encountered.
"GMP.c", line 232.25: 1506-275 (S) Unexpected text ')' encountered.
"GMP.c", line 232.30: 1506-277 (S) Syntax error: possible missing ')' or ','?
"GMP.c", line 239.13: 1506-045 (S) Undeclared identifier targ.
"GMP.c", line 251.9: 1506-045 (S) Undeclared identifier mpz_t.
"GMP.c", line 251.17: 1506-045 (S) Undeclared identifier n.
"GMP.c", line 252.9: 1506-046 (S) Syntax error.
"GMP.c", line 252.25: 1506-045 (S) Undeclared identifier RETVAL.
"GMP.c", line 253.9: 1506-275 (S) Unexpected text ')' encountered.
make: 1254-004 The error code from the last command is 1.
Stop.
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
= = = = = = = = = = = = = = = = = = = = = = = = = = = == = = = = = = =
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=aix, osvers=5.1.0.51, archname=aix-thread-multi
uname='aix cmtgvapp01 1 5 00066c0a4c00 '
config_args='-Dmksymlinks -Uinstallusrbinperl -Dprefix=/usr/perl/5.8.7 -Dsiteprefix=/usr/perl/5.8.7/site_perl -Dusethreads -Duseithreads'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc_r', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -I/usr/local/include -q32 -D_LARGE_FILES -qlonglong',
optimize='-O',
cppflags=''
ccversion='5.0.2.9', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -brtl -bdynamic -bmaxdata:0x80000000 -L/usr/local/lib -b32'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lpthreads -lc -lbsd
perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lpthreads -lc -lbsd
libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -bE:/usr/perl/5.8.7/lib/aix-thread-multi/CORE/perl.exp'
cccdlflags=' ', lddlflags='-bhalt:4 -bexpall -G -bnoentry -lpthreads -lc -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
Built under aix
Compiled at Oct 10 2005 16:59:46
%ENV:
PERL="/usr/perl/5.8.7/bin/perl"
PERL5LIB="/usr/perl/5.8.7/dev_perl/lib/aix-thread-multi:/usr/perl/5.8.7/dev_perl/lib:/usr/perl/5.8.7/lib/aix-thread-multi:/usr/perl/5.8.7/lib:/usr/perl/5.8.7/site_perl/lib/aix-thread-multi:/usr/perl/5.8.7/site_perl/lib:."
@INC:
/usr/perl/5.8.7/dev_perl/lib/aix-thread-multi
/usr/perl/5.8.7/dev_perl/lib/aix-thread-multi
/usr/perl/5.8.7/dev_perl/lib
/usr/perl/5.8.7/lib/aix-thread-multi
/usr/perl/5.8.7/lib/aix-thread-multi
/usr/perl/5.8.7/lib
/usr/perl/5.8.7/site_perl/lib/aix-thread-multi
/usr/perl/5.8.7/site_perl/lib/aix-thread-multi
/usr/perl/5.8.7/site_perl/lib
.
/usr/perl/5.8.7/lib/aix-thread-multi
/usr/perl/5.8.7/lib
/usr/perl/5.8.7/site_perl/lib/aix-thread-multi
/usr/perl/5.8.7/site_perl/lib
/usr/perl/5.8.7/site_perl/lib
.