Ilya Zakharevich wrote: > On Fri, May 04, 2007 at 05:11:33AM -0700, [EMAIL PROTECTED] wrote: >> Output from '/usr/bin/make test': > > This is not what I need. See ./INSTALL for format of bug reports.
I'm sorry, but that's the automated failure report from CPAN::Reporter. I was
doing an automated install. I don't see anything in INSTALL about the format
of bug reports, so I'll just attach the whole build process.
Math-Pari-build.out is just the output of my building the module normally. I
was behind a firewall at the time so I had to download pari-2.1.7 manually
after first getting 2.3.2 and deciding against using it because of the warning
message.
The second, nm-check.out, is my building pari, doing the nm check and then
trying to build the module again. I'm sorry to be so verbose, but I don't
really know pari or C.
I did dig out the instructions for undefined hiremainder symbols at the bottom
and tried the suggested nm checks.
0 windhund /private/var/local/cpan_shell/build/Math-Pari-2.010709-G4nBzu$ nm
pari-2.1.7/Odarwin-none/kernel.o
000004cc S ___i686.get_pc_thunk.bx
000004c8 S ___i686.get_pc_thunk.cx
00000000 T _addll
00000022 T _addllx
0000016d T _addmul
000001f6 T _bfffo
0000023d T _divll
00000010 C _hiremainder
0000010a T _mulll
00000010 C _overflow
U _pari_err
000000b4 T _shiftl
000000df T _shiftlr
00000058 T _subll
0000007a T _subllx
00000460 d _tabshi.8314
0 windhund /private/var/local/cpan_shell/build/Math-Pari-2.010709-G4nBzu$ nm
libPARI/kernel.o
nm: no name list
Poking through the build process I noticed this:
cpp -I. -I .././pari-2.1.7/src -I.././pari-2.1.7/src/headers
-I.././pari-2.1.7/src/graph -I. -I.././pari-2.1.7/src/kernel/ix86/
-Derr=pari_err -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING
.././pari-2.1.7/src/kernel/ix86/l0asm.c | perl -ne "s/%\s+/%/g; print unless
/^\s*#/" > kernel1.s
i686-apple-darwin8-gcc-4.0.1: c: No such file or directory
cc -c -I .././pari-2.1.7/src -I.././pari-2.1.7/src/headers
-I.././pari-2.1.7/src/graph -I. -I/sw/include -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/opt/local/include -O3 -DVERSION=\"\" -DXS_VERSION=\"\" -o kernel.o
kernel1.s
>> t/00_Pari........Can't load
>> '/private/var/local/cpan_shell/build/Math-Pari-2.010709-yLi4he/blib/arch/auto/Math/Pari/Pari.bundle'
>> for module Math::Pari:
>> dlopen(/private/var/local/cpan_shell/build/Math-Pari-2.010709-yLi4he/blib/arch/auto/Math/Pari/Pari.bundle,
>> 2): Symbol not found: _hiremainder
>> Referenced from:
>> /private/var/local/cpan_shell/build/Math-Pari-2.010709-yLi4he/blib/arch/auto/Math/Pari/Pari.bundle
>> Expected in: dynamic lookup
>> at t/00_Pari.t line 15
>
> I do not know the semantic of this "Pari.bundle"... Can't say more
> without a proper bug report...
.bundle is just the extension for a shared library on OS X. Pari.bundle is
the shared library just built for Math::Pari. It looks like its missing the
function _hiremainder.
Math-Pari-build.out.gz
Description: application/tar-gz
nm-build.out.gz
Description: application/tar-gz
