Skip Menu |

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

Report information
The Basics
Id: 8968
Status: new
Priority: 0/
Queue: Math-Pari

People
Owner: Nobody in particular
Requestors: nicolas.ynesta [...] ca-sits.com
Cc:
AdminCc:

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



Subject: Problem with exporter/Heavy.pm Math/Pari.pm
Hi all, Got an unsolvable problem (for me). Try to compile on sparc Ultra5 Here's my perl version. i was trying to add Net:SSH:Perl, so need some crypt module, and for this I need Pari.pm. Compile Pari 2.1.6, with no option and then try with machine=no. I manage to compile Math::Pari, but when i try to use it, got Pari module don't export functions. I guess it's a problem with the exporter, see sthing on the net about this, but can't get a patch usable. (Need to admit i'm not good enough to correct it myself !) After installing Pari, Math::Pari.pm, get this with a crypt module: bash# /usr/local/perl5.6/bin/perl -V Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=solaris, osvers=2.6, archname=sun4-solaris uname='sunos ultra-62 5.6 generic_105181-21 sun4u sparc sunw,ultra-5_10 ' config_args='-Dcc=gcc -Dprefix=/usr/local/perl5.6 -Uinstallusrbinperl -d' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='gcc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O', cppflags='-fno-strict-aliasing' ccversion='', gccversion='2.95.2 19991024 (release)', gccosandvers='solaris2.6' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib ' libpth=/usr/local/lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -lgdbm -ldl -lm -lc perllibs=-lsocket -lnsl -ldl -lm -lc libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under solaris Compiled at Jan 14 2002 20:48:51 @INC: /usr/local/perl5.6/lib/5.6.1/sun4-solaris /usr/local/perl5.6/lib/5.6.1 /usr/local/perl5.6/lib/site_perl/5.6.1/sun4-solaris /usr/local/perl5.6/lib/site_perl/5.6.1 /usr/local/perl5.6/lib/site_perl . bash# make test PERL_DL_NONLAZY=1 /usr/local/perl5.6/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/perl5.6/lib/5.6.1/sun4-solaris -I/usr/local/perl5.6/lib/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/generator..........`floor' is not a Pari function name at /usr/local/perl5.6/lib/site_perl/5.6.1/sun4-solaris/Math/Pari.pm line 1110. `Mod' is not a Pari function name at /usr/local/perl5.6/lib/site_perl/5.6.1/sun4-solaris/Math/Pari.pm line 1110. `lift' is not a Pari function name at /usr/local/perl5.6/lib/site_perl/5.6.1/sun4-solaris/Math/Pari.pm line 1110. "floor" is not exported by the Math::Pari module at blib/lib/Crypt/Random.pm line 14 "Mod" is not exported by the Math::Pari module at blib/lib/Crypt/Random.pm line 14 "lift" is not exported by the Math::Pari module at blib/lib/Crypt/Random.pm line 14 Can't continue after import errors at blib/lib/Crypt/Random.pm line 14 BEGIN failed--compilation aborted at blib/lib/Crypt/Random.pm line 14. Compilation failed in require at blib/lib/Crypt/Random/Generator.pm line 12. BEGIN failed--compilation aborted at blib/lib/Crypt/Random/Generator.pm line 12. Compilation failed in require at t/generator.t line 12. BEGIN failed--compilation aborted at t/generator.t line 12. t/generator..........dubious Test returned status 255 (wstat 65280, 0xff00) t/makerandom_itv.....`floor' is not a Pari function name at /usr/local/perl5.6/lib/site_perl/5.6.1/sun4-solaris/Math/Pari.pm line 1110. `Mod' is not a Pari function name at /usr/local/perl5.6/lib/site_perl/5.6.1/sun4-solaris/Math/Pari.pm line 1110. `lift' is not a Pari function name at /usr/local/perl5.6/lib/site_perl/5.6.1/sun4-solaris/Math/Pari.pm line 1110. "floor" is not exported by the Math::Pari module at blib/lib/Crypt/Random.pm line 14 "Mod" is not exported by the Math::Pari module at blib/lib/Crypt/Random.pm line 14 "lift" is not exported by the Math::Pari module at blib/lib/Crypt/Random.pm line 14 Can't continue after import errors at blib/lib/Crypt/Random.pm line 14 BEGIN failed--compilation aborted at blib/lib/Crypt/Random.pm line 14. Compilation failed in require at t/makerandom_itv.t line 10. BEGIN failed--compilation aborted at t/makerandom_itv.t line 10. t/makerandom_itv.....dubious Test returned status 255 (wstat 65280, 0xff00) t/octet_string.......`floor' is not a Pari function name at /usr/local/perl5.6/lib/site_perl/5.6.1/sun4-solaris/Math/Pari.pm line 1110. `Mod' is not a Pari function name at /usr/local/perl5.6/lib/site_perl/5.6.1/sun4-solaris/Math/Pari.pm line 1110. `lift' is not a Pari function name at /usr/local/perl5.6/lib/site_perl/5.6.1/sun4-solaris/Math/Pari.pm line 1110. "floor" is not exported by the Math::Pari module at blib/lib/Crypt/Random.pm line 14 "Mod" is not exported by the Math::Pari module at blib/lib/Crypt/Random.pm line 14 "lift" is not exported by the Math::Pari module at blib/lib/Crypt/Random.pm line 14 Can't continue after import errors at blib/lib/Crypt/Random.pm line 14 BEGIN failed--compilation aborted at blib/lib/Crypt/Random.pm line 14. Compilation failed in require at t/octet_string.t line 12. BEGIN failed--compilation aborted at t/octet_string.t line 12. t/octet_string.......dubious Test returned status 255 (wstat 65280, 0xff00) t/pari_misfeature....`floor' is not a Pari function name at /usr/local/perl5.6/lib/site_perl/5.6.1/sun4-solaris/Math/Pari.pm line 1110. `Mod' is not a Pari function name at /usr/local/perl5.6/lib/site_perl/5.6.1/sun4-solaris/Math/Pari.pm line 1110. `lift' is not a Pari function name at /usr/local/perl5.6/lib/site_perl/5.6.1/sun4-solaris/Math/Pari.pm line 1110. "floor" is not exported by the Math::Pari module at lib/Crypt/Random.pm line 14 "Mod" is not exported by the Math::Pari module at lib/Crypt/Random.pm line 14 "lift" is not exported by the Math::Pari module at lib/Crypt/Random.pm line 14 Can't continue after import errors at lib/Crypt/Random.pm line 14 BEGIN failed--compilation aborted at lib/Crypt/Random.pm line 14. Compilation failed in require at t/pari_misfeature.t line 14. BEGIN failed--compilation aborted at t/pari_misfeature.t line 14. t/pari_misfeature....dubious Test returned status 255 (wstat 65280, 0xff00) t/random.............`floor' is not a Pari function name at /usr/local/perl5.6/lib/site_perl/5.6.1/sun4-solaris/Math/Pari.pm line 1110. `Mod' is not a Pari function name at /usr/local/perl5.6/lib/site_perl/5.6.1/sun4-solaris/Math/Pari.pm line 1110. `lift' is not a Pari function name at /usr/local/perl5.6/lib/site_perl/5.6.1/sun4-solaris/Math/Pari.pm line 1110. "floor" is not exported by the Math::Pari module at lib/Crypt/Random.pm line 14 "Mod" is not exported by the Math::Pari module at lib/Crypt/Random.pm line 14 "lift" is not exported by the Math::Pari module at lib/Crypt/Random.pm line 14 Can't continue after import errors at lib/Crypt/Random.pm line 14 BEGIN failed--compilation aborted at lib/Crypt/Random.pm line 14. Compilation failed in require at t/random.t line 13. BEGIN failed--compilation aborted at t/random.t line 13. t/random.............dubious Test returned status 255 (wstat 65280, 0xff00) FAILED--5 test scripts could be run, alas--no output ever seen make: *** [test_dynamic] Error 2 Any Suggestions ?