Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: nothingmuch [...] altern.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 2.010201
  • 2.010304
  • 2.010305
  • 2.010402
Fixed in: (no value)



Subject: Compilation failing on MacOS X 1.2.4 (darwin 6.4)
I'm running on MacOS X 1.2.4, with the darwin 6.4. My perl is compiled for ithreads, nothing else special, version 5.8.0. This has occured with Math::Pari, in all the 4 latest versions. I've compiled the pari libs from their source site independantly, with gcc 2.95.2. I've tried compiling several versions of Math::Pari with gcc 2.95.2 and gcc 3.1. make always fails at the same point: #### ... # lots removed here libPARI/libPARI.a(base3.o) definition of _hiremainder in section (__DATA,__common) libPARI/libPARI.a(base3.o) definition of _overflow in section (__DATA,__common) libPARI/libPARI.a(mp.o) definition of _hiremainder in section (__DATA,__common) libPARI/libPARI.a(mp.o) definition of _overflow in section (__DATA,__common) make: *** [blib/arch/auto/Math/Pari/Pari.bundle] Error 1 #### perl Makefile.PL reports that no assembler code will be used, since nonesuch is found. blech. i dunno what to do, since i have very little practical unix experience... any suggestions?
Date: Sun, 30 Mar 2003 14:56:45 -0800
From: Ilya Zakharevich <ilya [...] Math.Berkeley.EDU>
To: Guest via RT <bug-Math-Pari [...] rt.cpan.org>
CC: "AdminCc of cpan Ticket #2307": ;
Subject: Re: [cpan #2307] Compilation failing on MacOS X 1.2.4 (darwin 6.4)
RT-Send-Cc:
On Sun, Mar 30, 2003 at 10:45:26AM -0500, Guest via RT wrote: Show quoted text
> This has occured with Math::Pari, in all the 4 latest versions.
Show quoted text
> I've compiled the pari libs from their source site independantly, with gcc 2.95.2.
Show quoted text
> I've tried compiling several versions of Math::Pari with gcc 2.95.2 and gcc 3.1. make always fails at the same point: > > #### > ... # lots removed here > libPARI/libPARI.a(base3.o) definition of _hiremainder in section (__DATA,__common) > libPARI/libPARI.a(base3.o) definition of _overflow in section (__DATA,__common) > libPARI/libPARI.a(mp.o) definition of _hiremainder in section (__DATA,__common) > libPARI/libPARI.a(mp.o) definition of _overflow in section (__DATA,__common) > make: *** [blib/arch/auto/Math/Pari/Pari.bundle] Error 1 > ####
Apparently, these two (tricky to set up) variables are mentioned at the code, but the initialization is somehow ifdef'ed out. Use nm to find in which of the object files of GP/PARI build they are defined. Show quoted text
> perl Makefile.PL reports that no assembler code will be used, since nonesuch is found. > blech. i dunno what to do, since i have very little practical unix experience... any suggestions?
Did you try 'Configure' option per README/INSTALL? Ilya