Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: steven.klass [...] nsc.com
Cc:
AdminCc:

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



Subject: Math-Pari on Darwin OSX 10.3 (Pather)
Download (untitled) / with headers
text/plain 4.7k
Hi, I cannot get Math::Pari to pass any tests. I have had to do quite a bit to get both readline (Version 4.3) and Math::Pari (Version 2.1.5) to work without any problems - I can do a make dobench from within the Pari src tree and it will produce output. Furthermore I can run gp just fine and play with it. I can compile both versions (2.1.5 and 2.2.7.alpha) of Pari and both will work. For the purposes of this I have trimmed it down to simply 2.1.5. What I did was followed some instructions here ( http://www.boksa.de/tutorials/pari_macosx.mpp ) Before I did his second compile of Pari.c here is a snippet of the output from make.test. --<snip>-- Test returned status 0 (wstat 5, 0x5) t/number......dyld: /usr/bin/perl Undefined symbols: /Users/steven/Downloads/perl-ssh/Math-Pari-2.010500/blib/arch/auto/Math/Pari/Pari.bundle undefined reference to _hiremainder expected to be defined in a dynamic image /Users/steven/Downloads/perl-ssh/Math-Pari-2.010500/blib/arch/auto/Math/Pari/Pari.bundle undefined reference to _overflow expected to be defined in a dynamic image t/number......dubious --<snip>-- Clearly this is due to an "extern" problem with _hiremainder and _overflow. Now after I run the second compile using this code [code] cc -c -I../pari-2.1.5/src/headers -I../pari-2.1.5/src -I/usr/local/include/pari \ -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -O3 -DVERSION=\"2.010500\" \ -DXS_VERSION=\"2.010500\" "-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" \ -DPARI_VERSION_EXP=2001005 -DDEBUG_PARI -DLSB_in_U32=3 -Derr=pari_err -DGCC_INLINE Pari.c cc -flat_namespace -bundle -undefined suppress Pari.o -o blib/arch/auto/Math/Pari/Pari.bundle /usr/local/lib/libpari.a -lm [/code] I get the following snippet from "make test" --<snip>-- Test returned status 0 (wstat 5, 0x5) t/sumiter.....dyld: /usr/bin/perl Undefined symbols: _functions_highlevel _helpmessages_highlevel _init_graph _set_term_funcp3 _v_set_term_ftable t/sumiter.....dubious --<snip>-- Clearly this is not the right thing.. So now I am stumped.. Here is some info from "perl -V" --<cut>-- $ perl -V Summary of my perl5 (revision 5.0 version 8 subversion 1 RC3) configuration: Platform: osname=darwin, osvers=7.0, archname=darwin-thread-multi-2level uname='darwin hampsten 7.0 darwin kernel version 6.0: fri jul 25 16:58:41 pdt 2003; root:xnu-344.frankd.rootsxnu-344.frankd~objrelease_ppc power macintosh powerpc ' config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=-Dman3ext=3pm -Duseithreads -Duseshrplib' 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', ccflags ='-g -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include', optimize='-Os', cppflags='-no-cpp-precomp -g -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build 1495)', 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='MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='-L/usr/local/lib' libpth=/usr/local/lib /usr/lib libs=-ldbm -ldl -lm -lc perllibs=-ldl -lm -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib gnulibc_version='' Dynamic Linking: dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-bundle -undefined dynamic_lookup -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: RC3 Built under darwin Compiled at Sep 12 2003 19:50:49 @INC: /System/Library/Perl/5.8.1/darwin-thread-multi-2level /System/Library/Perl/5.8.1 /Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 /Library/Perl /Network/Library/Perl/5.8.1/darwin-thread-multi-2level /Network/Library/Perl/5.8.1 /Network/Library/Perl --<cut>-- Other helpful information: uname -v Darwin Kernel Version 7.2.0: Thu Dec 11 16:20:23 PST 2003; root:xnu/xnu-517.3.7.obj~1/RELEASE_PPC I would be happy to set you up so you can ssh into me to help me debug this - or I can follow any direction you give. Thanks so much.
From: Steven.Klass [...] nsc.com
Download (untitled) / with headers
text/plain 5.1k
[guest - Tue Jan 13 10:21:02 2004]: Show quoted text
> Hi, > > I cannot get Math::Pari to pass any tests. I have had to do quite a > bit to get both readline (Version 4.3) and Math::Pari (Version > 2.1.5) to work without any problems - I can do a make dobench from > within the Pari src tree and it will produce output. Furthermore I > can run gp just fine and play with it. I can compile both versions > (2.1.5 and 2.2.7.alpha) of Pari and both will work. For the > purposes of this I have trimmed it down to simply 2.1.5. What I > did was followed some instructions here ( > http://www.boksa.de/tutorials/pari_macosx.mpp ) Before I did his > second compile of Pari.c here is a snippet of the output from > make.test. > --<snip>-- > Test returned status 0 (wstat 5, 0x5) > t/number......dyld: /usr/bin/perl Undefined symbols: > /Users/steven/Downloads/perl-ssh/Math-Pari- > 2.010500/blib/arch/auto/Math/Pari/Pari.bundle undefined reference > to _hiremainder expected to be defined in a dynamic image > /Users/steven/Downloads/perl-ssh/Math-Pari- > 2.010500/blib/arch/auto/Math/Pari/Pari.bundle undefined reference > to _overflow expected to be defined in a dynamic image > t/number......dubious > --<snip>-- > Clearly this is due to an "extern" problem with _hiremainder and > _overflow. Now after I run the second compile using this code > [code] > cc -c -I../pari-2.1.5/src/headers -I../pari-2.1.5/src > -I/usr/local/include/pari \ > -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -O3 > -DVERSION=\"2.010500\" \ > -DXS_VERSION=\"2.010500\" "-I/System/Library/Perl/5.8.1/darwin-thread- > multi-2level/CORE" \ > -DPARI_VERSION_EXP=2001005 -DDEBUG_PARI -DLSB_in_U32=3 -Derr=pari_err > -DGCC_INLINE Pari.c > > cc -flat_namespace -bundle -undefined suppress Pari.o -o > blib/arch/auto/Math/Pari/Pari.bundle /usr/local/lib/libpari.a -lm > [/code] > > I get the following snippet from "make test" > --<snip>-- > Test returned status 0 (wstat 5, 0x5) > t/sumiter.....dyld: /usr/bin/perl Undefined symbols: > _functions_highlevel > _helpmessages_highlevel > _init_graph > _set_term_funcp3 > _v_set_term_ftable > t/sumiter.....dubious > --<snip>-- > Clearly this is not the right thing.. So now I am stumped.. > > Here is some info from "perl -V" > --<cut>-- > $ perl -V > Summary of my perl5 (revision 5.0 version 8 subversion 1 RC3) > configuration: > Platform: > osname=darwin, osvers=7.0, archname=darwin-thread-multi-2level > uname='darwin hampsten 7.0 darwin kernel version 6.0: fri jul 25 > 16:58:41 pdt 2003; root:xnu-344.frankd.rootsxnu- > 344.frankd~objrelease_ppc power macintosh powerpc ' > config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe > -Dldflags=-Dman3ext=3pm -Duseithreads -Duseshrplib' > 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', ccflags ='-g -pipe -pipe -fno-common -DPERL_DARWIN > -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include', > optimize='-Os', > cppflags='-no-cpp-precomp -g -pipe -pipe -fno-common -DPERL_DARWIN > -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include' > ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build > 1495)', 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='MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='-L/usr/local/lib' > libpth=/usr/local/lib /usr/lib > libs=-ldbm -ldl -lm -lc > perllibs=-ldl -lm -lc > libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, > libperl=libperl.dylib > gnulibc_version='' > Dynamic Linking: > dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' > cccdlflags=' ', lddlflags='-bundle -undefined dynamic_lookup > -L/usr/local/lib' > > > Characteristics of this binary (from libperl): > Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES > PERL_IMPLICIT_CONTEXT > Locally applied patches: > RC3 > Built under darwin > Compiled at Sep 12 2003 19:50:49 > @INC: > /System/Library/Perl/5.8.1/darwin-thread-multi-2level > /System/Library/Perl/5.8.1 > /Library/Perl/5.8.1/darwin-thread-multi-2level > /Library/Perl/5.8.1 > /Library/Perl > /Network/Library/Perl/5.8.1/darwin-thread-multi-2level > /Network/Library/Perl/5.8.1 > /Network/Library/Perl > --<cut>-- > > Other helpful information: > uname -v > Darwin Kernel Version 7.2.0: Thu Dec 11 16:20:23 PST 2003; > root:xnu/xnu-517.3.7.obj~1/RELEASE_PPC > > I would be happy to set you up so you can ssh into me to help me debug > this - or I can follow any direction you give. > > Thanks so much.
This has been fixed.. Simply follow my instructions at http://www.pointcircle.com/blog/ archives/000020.php Enjoy..
Date: Tue, 30 Mar 2004 12:46:29 -0800
From: Ilya Zakharevich <ilya [...] Math.Berkeley.EDU>
To: Guest via RT <bug-Math-Pari [...] rt.cpan.org>
CC: "AdminCc of cpan Ticket #4927": ;
Subject: Re: [cpan #4927] Math-Pari on Darwin OSX 10.3 (Pather)
RT-Send-Cc:
Download (untitled) / with headers
text/plain 559b
On Wed, Jan 14, 2004 at 11:07:38PM -0500, Guest via RT wrote: Show quoted text
> > Darwin Kernel Version 7.2.0: Thu Dec 11 16:20:23 PST 2003; > > root:xnu/xnu-517.3.7.obj~1/RELEASE_PPC > > > > I would be happy to set you up so you can ssh into me to help me debug > > this - or I can follow any direction you give. > > > > Thanks so much.
Show quoted text
> This has been fixed.. Simply follow my instructions at http://www.pointcircle.com/blog/ > archives/000020.php
Thanks (I got to this mailbox only now, sorry). However, I can't reach this. What should I do now? Yours, Ilya


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.