|
Posted by msafford@gmail.com on August 16, 2006, 1:30 pm
Please log in for more thread options
Of course, now the issue is getting the pari library to build
correctly. Why do so many modules depend on such a problematic package?
msafford@gmail.com wrote:
> I believe I've found the problem - the pari library doesn't build
> correctly. Here's the output of a "make test-all" against pari-2.3.0:
>
> * Testing objets for gp-sta..TIME=2 for gp-dyn..TIME=2
> * Testing analyz for gp-sta..TIME=40 for gp-dyn..TIME=40
> * Testing number for gp-sta..TIME=38 for gp-dyn..TIME=37
> * Testing polyser for gp-sta..TIME=10 for gp-dyn..TIME=11
> * Testing linear for gp-sta..TIME=17 for gp-dyn..TIME=16
> * Testing elliptic for gp-sta..TIME=31 for gp-dyn..TIME=32
> * Testing sumiter for gp-sta..TIME=25 for gp-dyn..TIME=26
> * Testing graph for gp-sta..TIME=15 for gp-dyn..TIME=13
> * Testing program for gp-sta..TIME=41 for gp-dyn..TIME=39
> * Testing trans for gp-sta..TIME=114 for gp-dyn..TIME=115
> * Testing nfields for gp-sta..TIME=261 for gp-dyn..TIME=265
> * Testing compat for gp-sta..TIME=459 for gp-dyn..TIME=467
> * Testing ellglobalred for gp-sta..BUG [2] for gp-dyn..BUG [10]
> * Testing galois for gp-sta..BUG [1797] for gp-dyn..BUG [1795]
> * Testing intnum for gp-sta..TIME=35266 for gp-dyn..TIME=37662
> * Testing qfbsolve for gp-sta..TIME=3428 for gp-dyn..TIME=3268
> * Testing rfrac for gp-sta..TIME=18589 for gp-dyn..TIME=19413
> * Testing round4 for gp-sta..TIME=20733 for gp-dyn..TIME=20667
> * Testing stark for gp-sta..TIME=51001 for gp-dyn..TIME=50909
> +++ [BUG] Total bench for gp-sta is 131660
> +++ [BUG] Total bench for gp-dyn is 134575
>
> PROBLEMS WERE NOTED. The following files list them in diff format:
> Directory: /data01/home/msafford/paristuff/pari-2.3.0/Olinux-i686
> ellglobalred-sta.dif
> galois-sta.dif
> ellglobalred-dyn.dif
> galois-dyn.dif
> make[1]: *** [test-all] Error 1
> make[1]: Leaving directory
> `/data01/home/msafford/paristuff/pari-2.3.0/Olinux-i686'
> make: *** [test-all] Error 2
>
>
> msafford@gmail.com wrote:
> > Sisyphus wrote:
> > > .
> > > .
> > > > [[DELETED]@[DELETED] bin]$ sshtest
> > > > Can't locate loadable object for module Math::Pari in @INC
> > > .
> > > .
> > > >
> > > > Near as I can tell, it's looking for the Pari.so object, which I just
> > > > tried dumping directly into an @INC-listed directory:
> > > >
> > >
> > > Yep - it's looking for Pari.so, but why did you dump it "directly into an
> > > @INC-listed directory" ?
> > > Normally the installation of any module is handled by running (as root)
> > > 'make install'.
> > >
> > > If Pari.so is located where you've reported, and if its permissions are set
> > > appropriately, then perl should be able to find it.
> > >
> > > Were there any problems with 'make test' ?
> > >
> > > Cheers,
> > > Rob
> >
> > I manually dumped it there mainly as a desparation move. As far as the
> > 'make test' goes, I had to install this as an RPM due to system control
> > policies. When I manually compile and test it, I get this:
> >
> > cd libPARI && make LIB="" LIBPERL_A="libperl.a" LINKTYPE="dynamic"
> > PREFIX="" OPTIMIZE="-O2 -g -pipe -m32 -march=i386 -mtune=pentium4"
> > PASTHRU_DEFINE="" PASTHRU_INC=""
> > make[1]: Entering directory
> > `/data01/home/msafford/paristuff/Math-Pari-2.010706/libPARI'
> > make[1]: Leaving directory
> > `/data01/home/msafford/paristuff/Math-Pari-2.010706/libPARI'
> > make[1]: Entering directory
> > `/data01/home/msafford/paristuff/Math-Pari-2.010706/libPARI'
> > make[1]: Nothing to be done for `all'.
> > make[1]: Leaving directory
> > `/data01/home/msafford/paristuff/Math-Pari-2.010706/libPARI'
> > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> > t/00_Pari............dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/55_analyz..........dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/55_ellglobalred....dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/55_elliptic........dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/55_galois..........dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/55_graph...........dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/55_intnum..........dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/55_linear..........dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/55_nfields.........dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/55_number..........dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/55_objets..........dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/55_ploth...........dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/55_polyser.........dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/55_program.........dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/55_qfbsolve........dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/55_rfrac...........dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/55_round4..........dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/55_stark...........dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/55_sumiter.........dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/55_trans...........dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/PlotRect...........dubious
> > Test returned status 0 (wstat 11, 0xb)
> > t/zz_leak............dubious
> > Test returned status 0 (wstat 11, 0xb)
> > FAILED--22 test scripts could be run, alas--no output ever seen
> > make: *** [test_dynamic] Error 255
|