Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: msmiths2 [...] wwnet.com
Cc:
AdminCc:

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



Subject: Cannot Build Math-Pari on sun4-solaris OS Version 2.8
Having trouble building Math-Pari version 2.01062 on Sun Solaris OS 2.8 using Perl 5.6.0 along with pari-2.1.6. When executing 'make' I get the following output: gcc -c -I/ford/thishost/u/msmithso/pari-2.1.6/src/headers -I/ford/thishost/u/msmithso/pari-2.1.6/src/graph -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"\" -DXS_VERSION=\"\" -Derr=pari_err -DSOLARIS -DDYNAMIC_PLOTTING -o alglin1.o /ford/thishost/u/msmithso/pari-2.1.6/src/basemath/alglin1.c as -P -T -I. -Derr=pari_err -DSOLARIS -DDYNAMIC_PLOTTING -o kernel.o /ford/thishost/u/msmithso/pari-2.1.6/src/kernel/sparcv8/level0.S sh: as: not found *** Error code 1 make: Fatal error: Command failed for target `kernel.o' Current working directory /ford/.u_01/msmithso/perl_modules/Math-Pari-2.010602/libPARI *** Error code 1 make: Fatal error: Command failed for target `libPARI/libPARI.a'' I am not too versed in make, so I apologize ahead of time if this is not really to be considered a bug.
From: Manish Bhatia
I am not sure if you have already installed GP/PARI, if not download the lates stable version from http://pari.math.u-bordeaux.fr/download.html and extract MATH::PARI and GP/PARI in the same parent directory. Now go to MATH::PARI extracted directory perl Makefile.PL paridir=../pari-2.1.6 (Using this command you are telling the location of PARI libraries, mainly for a file called paricfg.h) make make test make install Hope this will help Cheers Manish.
From: paul.crawford [...] allstream.com

Message body is not shown because it is too large.

From: paul.crawford [...] allstream.com
I tried building with the machine=none attribute: $ perl Makefile.PL PREFIX=/home/dataplan machine=none Looks good now! Make builds OK now and make install does its thing: Here is the diff file for paricfg.h: $ diff -u libPARI/paricfg.h-no-configure libPARI/paricfg.h --- libPARI/paricfg.h-no-configure 2005-03-22 02:16:13.107838000 +0000 +++ libPARI/paricfg.h 2005-03-22 04:30:50.376121000 +0000 @@ -1,17 +1,37 @@ +/* This file was created by Configure. Any change made to it will be lost + * next time Configure is run. + */ +#ifndef __CONFIG_H__ +#define __CONFIG_H__ #define UNIX - -#define SHELL_Q '\'' +#define GPHELP "/usr/local/bin/gphelp" #define GPDATADIR "/usr/local/lib/pari/galdata" #define GPMISCDIR "/usr/local/lib/pari" +#define SHELL_Q '\'' -#define PARI_BYTE_ORDER 4321 -#define NOEXP2 /* Otherwise elliptic.t:11 rounds differetly, and fails */ - -#define USE_GETRUSAGE 1 - -#define HAS_DLOPEN +#define PARIVERSION "GP/PARI CALCULATOR Version 2.1.6 (released)" +#ifdef __cplusplus +# define PARIINFO "C++ UltraSparc (MicroSparc kernel) 32-bit version" +#else +# define PARIINFO "UltraSparc (MicroSparc kernel) 32-bit version" +#endif +#define PARI_VERSION_CODE 131334 +#define PARI_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) #define PARI_DOUBLE_FORMAT 0 +#define ASMINLINE -#define DL_DFLT_NAME NULL +/* Location of GNU gzip program (enables reading of .Z and .gz files). */ +#define GNUZCAT +#define ZCAT "/usr/local/bin/gzip -dc" +#define NOEXP2 +#define USE_GETRUSAGE 1 +#define USE_SIGRELSE 1 +#define HAS_DLOPEN +#define DL_DFLT_NAME "libpari.2.1.6" +#define STACK_CHECK +#define HAS_TIOCGWINSZ +#define HAS_STRFTIME +#define HAS_OPENDIR +#endif