Narayan on Tue, 26 Apr 2005 06:44:27 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Unable to build libpari.so.2.1.6 on IA64 box running RH 4.0 |
Hi Bill: Thanks for the response, yes by modifying my Configure file with the gcc -fPIC I was able to create the C libraries and install them under /usr/lib. However, my main intentions for creating these libaries was to create the perl modules for Math-Pari. However, I have no success in running the Makefile.pl with the following options: perl Makefile.PL paridir=/usr/lib machine=none I am trying to do this on the ia64 platform, hence I guess I need to specify the "none" option. When I run the above command, I get the following error: Setting up Math::Pari with Perl 5.008005 on linux version 2.4.21-15.5.el; cc=gcc, gccversion=3.4.3 20041125 (Red Hat 3.4.3-6.EL4), ccflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', ld=gcc, ldflags=' -L/usr/local/lib', optimize='-O2 -g -pipe'. Could not extract version from '/usr/lib/config/version'; trying extract from the directory name... Directory `/usr/lib' has unknown syntax... Found GP/PARI build directory in /usr/lib (integer-formatted version /usr/lib). Cannot find tests in /usr/lib/src/test/in: No such file or directory at utils/Math/PariBuild.pm line 444. -Narayan Bill Allombert wrote:
On Wed, Apr 20, 2005 at 02:08:24PM -0700, Narayan Mandaleeka wrote:I am trying to build the shared libary libpari.so.2.1.6 on an IA64 box running RH 4.0, I am facing the following problem while linking the files. Can someone tell me how I could fix this issue.You needs to build libpari with -fPIC, you can try CC='gcc -fPIC' ./Configure make The developement branch automatically adds -fPIC on ia64. Cheers, Bill.