Skip Menu |
 

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

Report information
The Basics
Id: 41386
Status: open
Priority: 0/
Queue: Math-Pari

People
Owner: Nobody in particular
Requestors: Michael.Thompson [...] Rentacenter.com
Cc:
AdminCc:

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



Subject: Math::Pari Compile errors
Date: Tue, 2 Dec 2008 16:29:19 -0600
To: "'bug-Math-Pari [...] rt.cpan.org'" <bug-Math-Pari [...] rt.cpan.org>
From: Michael Thompson <Michael.Thompson [...] Rentacenter.com>
Download (untitled) / with headers
text/plain 2.5k
Hello I'm having an issue compiling the Math::Pari perl module on ... HP-UX B.11.11 U 9000/800 ... Perl version 5.8.8 /Pari 2.3.1/Math-Pari-2.010800 I was able to successfully compile pari 2.3.1 from source but get the below error when I try to compile the Math::Pari module #perl Makefile.PL Configure Set up gcc environment - 4.1.0 Filtered out versions too new... Setting up Math::Pari with Perl 5.008008 on hpux version 11.00; cc=gcc, gccversion=4.1.0, ccflags=' -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fPIC -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe', ld=gcc, ldflags=' -L/lib/pa20_64', optimize=''. Found GP/PARI build directory in ../pari-2.3.1 (integer-formatted version 2003001). ### Math::Pari support of GP/PARI library version 2.3.* should be ### considered cursory only. One may need to downgrade to 2.1.7, ### or run Makefile.PL with option machine=none if the tests fail. ### The test t/55_intnum.t takes a very long time to complete. ### The following subtests are known to fail: ### t/55_intnum.t 51 2 3.92% 12 50 ### t/55_ploth.t 34 1 2.94% 4 ### t/55_program.t 37 1 2.70% 2 Found ../pari-2.3.1/Ohpux-hppa/paricfg.h, copying it to libPARI... Checking if your kit is complete... Looks good ...Processor of family `port' detected ...I will use portable assembler-less build ...Assembler is not GNU assembler Writing Makefile for Math::PARI::libPARI Writing Makefile for Math::Pari # Make cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="" PREFIX="/opt/perl_64" PASTHRU_DEFINE="" PASTHRU_INC="" gcc -c -I ../../pari-2.3.1/src -I../../pari-2.3.1/src/headers -I../../pari-2.3.1/src/graph -I. -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fPIC -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DGCC_INLINE -DDYNAMIC_PLOTTING -o highlvl.o ../../pari-2.3.1/src/gp/highlvl.c ../../pari-2.3.1/src/gp/highlvl.c: In function 'install0': ../../pari-2.3.1/src/gp/highlvl.c:34: error: 'DL_DFLT_NAME' undeclared (first use in this function) ../../pari-2.3.1/src/gp/highlvl.c:34: error: (Each undeclared identifier is reported only once ../../pari-2.3.1/src/gp/highlvl.c:34: error: for each function it appears in.) *** Error exit code 1 Stop. *** Error exit code 1 Stop. Any help you can provide would be greatly appreciated Michael Thompson Linux Administrator Rent-A-Center
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #41386] Math::Pari Compile errors
Date: Tue, 2 Dec 2008 15:58:35 -0800
To: Michael Thompson via RT <bug-Math-Pari [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
Download (untitled) / with headers
text/plain 964b
On Tue, Dec 02, 2008 at 05:30:36PM -0500, Michael Thompson via RT wrote: Show quoted text
> Setting up Math::Pari with Perl 5.008008 on hpux version 11.00;
Show quoted text
> gcc -c -I ../../pari-2.3.1/src -I../../pari-2.3.1/src/headers -I../../pari-2.3.1/src/graph -I. -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fPIC -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DGCC_INLINE -DDYNAMIC_PLOTTING -o highlvl.o ../../pari-2.3.1/src/gp/highlvl.c > ../../pari-2.3.1/src/gp/highlvl.c: In function 'install0': > ../../pari-2.3.1/src/gp/highlvl.c:34: error: 'DL_DFLT_NAME' undeclared (first use in this function)
Hmm, you may need to define DL_DFLT_NAME, as in -DDL_DFLT_NAME=\"my_DL_DFLT_NAME\". Add this to DEFINE= line in libPARI/Makefile... If quoting hell gets loose, just use -DDL_DFLT_NAME=0 (may crash high-level tests)... Please report! Thanks, Ilya
CC: Carlos Gonzalez <Carlos.Gonzalez [...] Rentacenter.com>, "Langdon, Ken" <klangdon [...] kennethlangdon.com>, 'Nathan Hampson' <nhampson [...] advancedcapture.com>
Subject: RE: [rt.cpan.org #41386] Math::Pari Compile errors
Date: Wed, 3 Dec 2008 08:45:36 -0600
To: "'bug-Math-Pari [...] rt.cpan.org'" <bug-Math-Pari [...] rt.cpan.org>
From: Michael Thompson <Michael.Thompson [...] Rentacenter.com>
Download (untitled) / with headers
text/plain 2.6k
Ok below is the new message that's presented when I try to compile.... gcc -c -I ../pari-2.3.1/src -I../pari-2.3.1/src/headers -I../pari-2.3.1/src -I./libPARI -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fPIC -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe -DVERSION=\"2.010800\" -DXS_VERSION=\"2.010800\" -fPIC "-I/opt/perl_64/lib/5.8.8/PA-RISC2.0-thread-multi-LP64/CORE" -DPARI_VERSION_EXP=2003001 -DDEBUG_PARI -DLSB_in_U32=3 -Derr=pari_err -DGCC_INLINE -DHAVE_PARIPRIV -DNO_HIGHLEVEL_PARI Pari.c In file included from /opt/perl_64/lib/5.8.8/PA-RISC2.0-thread-multi-LP64/CORE/perl.h:2627, from Pari.xs:24: /usr/local/include/pthread.h:117:24: error: sys/select.h: No such file or directory In file included from /opt/perl_64/lib/5.8.8/PA-RISC2.0-thread-multi-LP64/CORE/perl.h:2627, from Pari.xs:24: /usr/local/include/pthread.h:285: error: conflicting types for 'pthread_t' /usr/include/sys/signal.h:108: error: previous declaration of 'pthread_t' was here /usr/local/include/pthread.h:286: error: conflicting types for 'pthread_attr_t' /usr/include/sys/sigevent.h:65: error: previous declaration of 'pthread_attr_t' was here /usr/local/include/pthread.h:357: error: conflicting types for 'pthread_kill' /usr/include/sys/signal.h:222: error: previous declaration of 'pthread_kill' was here *** Error exit code 1 Michael Thompson Linux Administrator Rent-A-Center Show quoted text
-----Original Message----- From: Ilya Zakharevich via RT [mailto:bug-Math-Pari@rt.cpan.org] Sent: Tuesday, December 02, 2008 5:59 PM To: Michael Thompson Subject: Re: [rt.cpan.org #41386] Math::Pari Compile errors <URL: http://rt.cpan.org/Ticket/Display.html?id=41386 > On Tue, Dec 02, 2008 at 05:30:36PM -0500, Michael Thompson via RT wrote:
> Setting up Math::Pari with Perl 5.008008 on hpux version 11.00;
> gcc -c -I ../../pari-2.3.1/src -I../../pari-2.3.1/src/headers -I../../pari-2.3.1/src/graph -I. -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fPIC -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DGCC_INLINE -DDYNAMIC_PLOTTING -o highlvl.o ../../pari-2.3.1/src/gp/highlvl.c > ../../pari-2.3.1/src/gp/highlvl.c: In function 'install0': > ../../pari-2.3.1/src/gp/highlvl.c:34: error: 'DL_DFLT_NAME' undeclared (first use in this function)
Hmm, you may need to define DL_DFLT_NAME, as in -DDL_DFLT_NAME=\"my_DL_DFLT_NAME\". Add this to DEFINE= line in libPARI/Makefile... If quoting hell gets loose, just use -DDL_DFLT_NAME=0 (may crash high-level tests)... Please report! Thanks, Ilya
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #41386] Math::Pari Compile errors
Date: Wed, 3 Dec 2008 10:45:25 -0800
To: Michael Thompson via RT <bug-Math-Pari [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
Download (untitled) / with headers
text/plain 371b
On Wed, Dec 03, 2008 at 09:47:34AM -0500, Michael Thompson via RT wrote: Show quoted text
> In file included from /opt/perl_64/lib/5.8.8/PA-RISC2.0-thread-multi-LP64/CORE/perl.h:2627, > from Pari.xs:24: > /usr/local/include/pthread.h:117:24: error: sys/select.h: No such file or directory
You perl is broken. Did not you read README and INSTALL? Hope this helps, Ilya
Subject: RE: [rt.cpan.org #41386] Math::Pari Compile errors
Date: Thu, 4 Dec 2008 16:13:19 -0600
To: "'bug-Math-Pari [...] rt.cpan.org'" <bug-Math-Pari [...] rt.cpan.org>
From: Michael Thompson <Michael.Thompson [...] Rentacenter.com>
Download (untitled) / with headers
text/plain 171b
Thanks Ilya, I have opened a case with HP and will report my findings in hopes that it may help someone else Michael Thompson Linux Administrator Rent-A-Center
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #41386] Math::Pari Compile errors
Date: Thu, 4 Dec 2008 17:33:58 -0800
To: Michael Thompson via RT <bug-Math-Pari [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
Download (untitled) / with headers
text/plain 437b
On Thu, Dec 04, 2008 at 05:13:41PM -0500, Michael Thompson via RT wrote: Show quoted text
> Queue: Math-Pari > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=41386 > > > Thanks Ilya, > > I have opened a case with HP and will report my findings in hopes that it may help someone else
Still, Math::Pari is not supported if Perl is not locally compiled. {All shipped UNIXISH versions I know are completely broken.} Hope this helps, 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.