Subject: | Compile Failure on 64-bit sparcv9 SunOS 5.9 |
Please assist. I have been trying to install this for three days
without any success. My make and C skills are limited, so please be
kind if I am making a stupid mistake.
Here is perl -V
root@nvlv-ncobserv-d:/# perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=solaris, osvers=2.9, archname=sun4-solaris
uname='sunos nvlv-ncobserv-d 5.9 generic_117171-14 sun4u sparc
sunw,ultra-60 '
config_args='-de'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -pipe -
I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.3.2', gccosandvers='solaris2.9'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO
Built under solaris
Compiled at Mar 27 2006 17:07:41
@INC:
/usr/local/lib/perl5/5.8.8/sun4-solaris
/usr/local/lib/perl5/5.8.8
/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris
/usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl
.
Here is attempt to compile:
root@nvlv-ncobserv-d:/tmp/Math-Pari-2.010704# perl Makefile.PL
Setting up Math::Pari with Perl 5.008008 on solaris version 2.9;
cc=gcc, gccversion=3.3.2, ccflags='-fno-strict-aliasing -pipe -
I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
ld=gcc, ldflags=' -L/usr/local/lib ', optimize='-O'.
Found GP/PARI build directory in ../pari-2.1.7
(integer-formatted version 2001007).
...Generating libPARI/paricfg.h ...
Scanning header files...
...ulong
...getrusage
Creating libPARI/paricfg.h...
...Processor of family `sparcv9' detected
Checking if your kit is complete...
Looks good
...Processor of family `sparcv9' detected
...I will use assembler build of type 'sparcv8_micro'.
...Assembler is not GNU assembler
Writing Makefile for Math::PARI::libPARI
Writing Makefile for Math::Pari
root@nvlv-ncobserv-d:/tmp/Math-Pari-2.010704# make
cp libPARI.dumb.pod blib/lib/Math/libPARI.dumb.pod
cp PariInit.pm blib/lib/Math/PariInit.pm
cp Pari.pm blib/lib/Math/Pari.pm
cp libPARI.pod blib/lib/Math/libPARI.pod
cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-
O" PREFIX="/usr/local" PASTHRU_DEFINE="" PASTHRU_INC=""
make[1]: Entering directory `/tmp/Math-Pari-2.010704/libPARI'
/usr/bin/perl -pe1 ../../pari-
2.1.7/src/kernel/sparcv8/level0.h ../../pari-
2.1.7/src/kernel/none/level1.h > pariinl.h
gcc -c -I../../pari-2.1.7/src/headers -I../../pari-2.1.7/src/graph -
I. -fno-strict-aliasing -pipe -I/usr/local/include -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"\" -
DXS_VERSION=\"\" -fPIC -Derr=pari_err -DSOLARIS -DASMINLINE -
DGCC_INLINE -DDYNAMIC_PLOTTING -o es.o ../../pari-
2.1.7/src/language/es.c
pariinl.h: In function `mulssmod':
pariinl.h:887: error: asm-specifier for variable `hiremainder'
conflicts with asm clobber list
pariinl.h:887: confused by earlier errors, bailing out
make[1]: *** [es.o] Error 1
make[1]: Leaving directory `/tmp/Math-Pari-2.010704/libPARI'
make: *** [libPARI/libPARI.a] Error 2
Thanks a million if you are able to help me get this straightened out.
Regards,
Kenn