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

Report information
The Basics
Id:
38411
Status:
open
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
jhuysing [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: Make fails with perl 5.8.8 on Solaris
Date: Tue, 12 Aug 2008 09:54:58 +1000
To: bug-Math-Pari@rt.cpan.org
From: "John huysing" <jhuysing@gmail.com>
I get the following error when I try to make the CPAN Module

/export/home/builder/build/pari-2.3.4/src/language/init.c: In function `pari_version':
/export/home/builder/build/pari-2.3.4/src/language/init.c:1983: `PARI_VERSION_SHIFT' undeclared (first use in this function)
/export/home/builder/build/pari-2.3.4/src/language/init.c:1983: (Each undeclared identifier is reported only once
/export/home/builder/build/pari-2.3.4/src/language/init.c:1983: for each function it appears in.)
/export/home/builder/build/pari-2.3.4/src/language/init.c:1984: `PARI_VERSION_CODE' undeclared (first use in this function)
make[1]: *** [init.o] Error 1
make[1]: Leaving directory `/.cpan/build/Math-Pari-2.010800/libPARI'
make: *** [libPARI/libPARI.a] Error 2


John
Subject: Re: [rt.cpan.org #38411] Make fails with perl 5.8.8 on Solaris
Date: Tue, 12 Aug 2008 02:55:21 -0700
To: John huysing via RT <bug-Math-Pari@rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
On Mon, Aug 11, 2008 at 07:55:27PM -0400, John huysing via RT wrote:
Show quoted text
> Mon Aug 11 19:55:22 2008: Request 38411 was acted upon. > Transaction: Ticket created by jhuysing@gmail.com > Queue: Math-Pari > Subject: Make fails with perl 5.8.8 on Solaris > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: jhuysing@gmail.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=38411 > > > > I get the following error when I try to make the CPAN Module > > /export/home/builder/build/pari-2.3.4/src/language/init.c: In function > `pari_version': > /export/home/builder/build/pari-2.3.4/src/language/init.c:1983: > `PARI_VERSION_SHIFT' undeclared (first use in this function) > /export/home/builder/build/pari-2.3.4/src/language/init.c:1983: (Each > undeclared identifier is reported only once > /export/home/builder/build/pari-2.3.4/src/language/init.c:1983: for each > function it appears in.) > /export/home/builder/build/pari-2.3.4/src/language/init.c:1984: > `PARI_VERSION_CODE' undeclared (first use in this function) > make[1]: *** [init.o] Error 1 > make[1]: Leaving directory `/.cpan/build/Math-Pari-2.010800/libPARI' > make: *** [libPARI/libPARI.a] Error 2
Patches wellcome. Myself, I did not build 2.3.* series after 2.3.0; but I have seen reports of success with slightly newer versions (2.3.3? Do not remember...) Thanks, Ilya
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #38411] Make fails with perl 5.8.8 on Solaris
Date: Sun, 31 Aug 2008 14:50:20 -0700
To: John huysing via RT <bug-Math-Pari@rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
On Mon, Aug 11, 2008 at 07:55:27PM -0400, John huysing via RT wrote:
Show quoted text
> Mon Aug 11 19:55:22 2008: Request 38411 was acted upon. > Transaction: Ticket created by jhuysing@gmail.com > Queue: Math-Pari > Subject: Make fails with perl 5.8.8 on Solaris > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: jhuysing@gmail.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=38411 > > > > I get the following error when I try to make the CPAN Module > > /export/home/builder/build/pari-2.3.4/src/language/init.c: In function > `pari_version': > /export/home/builder/build/pari-2.3.4/src/language/init.c:1983: > `PARI_VERSION_SHIFT' undeclared (first use in this function) > /export/home/builder/build/pari-2.3.4/src/language/init.c:1983: (Each > undeclared identifier is reported only once > /export/home/builder/build/pari-2.3.4/src/language/init.c:1983: for each > function it appears in.) > /export/home/builder/build/pari-2.3.4/src/language/init.c:1984: > `PARI_VERSION_CODE' undeclared (first use in this function) > make[1]: *** [init.o] Error 1 > make[1]: Leaving directory `/.cpan/build/Math-Pari-2.010800/libPARI' > make: *** [libPARI/libPARI.a] Error 2
My travel is done today, and I found this in my notes: *) 2.3.4: I solved it by adding these lines on paricfg.h: #define PARI_VERSION_CODE 131844 #define PARI_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) #define PARI_VERSION_SHIFT 8 Hope this helps, Ilya


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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