cremona libraries

2 views
Skip to first unread message

kks

unread,
Jan 27, 2008, 1:25:04 PM1/27/08
to sage-forum
Executing

$ sage -upgrade
.....does most things until cremona lib compilation....
.....extracting cremona...
cremona-20071219.p1/spkg-install
Finished extraction
****************************************************
Host system
uname -a:
Linux deb40 2.6.18-5-486 #1 Thu Aug 30 01:46:45 UTC 2007 i686 GNU/
Linux
****************************************************
****************************************************
GCC Version
gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c+
+,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-
system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-
threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit
--enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-
tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
....compiles most libraries...
g++ -fPIC --shared libjcntl.a interface_n.o arith_n.o marith_n.o
gpslave_n.o conic_n.o legendre_n.o unimod_n.o quadratic_n.o cubic_n.o
illl_n.o hilbert_n.o parifact_n.o compproc_n.o kbessel_n.o vector_n.o
matrix_n.o subspace_n.o mvector_n.o mmatrix_n.o msubspace_n.o
xsplit2_n.o timer_n.o svector_n.o smatrix_n.o smatrix_elim_n.o
polys_n.o realroots_n.o -o libjcntl.so -L/home/kks/sage-2.8.13-i686-
Linux/local/lib -lntl -lgmp -lpari -lpari -L/home/kks/sage-2.8.13-i686-
Linux/local/lib -L/home/kks/sage-2.8.13-i686-Linux/local/lib -lntl -
lgmp -lpari -lm
collect2: ld returned 1 exit status
make[2]: *** [libjcntl.so] Error 1
make[2]: Leaving directory `/home/kks/sage-2.8.13-i686-Linux/spkg/
build/cremona-20071219.p1/src/procs'
make[1]: *** [so] Error 2
make[1]: Leaving directory `/home/kks/sage-2.8.13-i686-Linux/spkg/
build/cremona-20071219.p1/src'
Error building cremona shared libraries
sage: An error occurred while installing cremona-20071219.p1
Please email sage-devel http://groups.google.com/group/sage-devel
---etc....

Thanks for your help.

mabshoff

unread,
Jan 27, 2008, 1:48:45 PM1/27/08
to sage-forum
It builds fine with

mabshoff@sage:/scratch/mabshoff/release-cycle/sage-2.10.1.rc2$ gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c+
+,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-
system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-
threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit
--enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-
checking=release x86_64-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

so the difference seems to be x86 vs. x86-64 or maybe the linker? What
does "ld -v" say?

> ....compiles most libraries...
> g++ -fPIC --shared libjcntl.a interface_n.o arith_n.o marith_n.o
> gpslave_n.o conic_n.o legendre_n.o unimod_n.o quadratic_n.o cubic_n.o
> illl_n.o hilbert_n.o parifact_n.o compproc_n.o kbessel_n.o vector_n.o
> matrix_n.o subspace_n.o mvector_n.o mmatrix_n.o msubspace_n.o
> xsplit2_n.o timer_n.o svector_n.o smatrix_n.o smatrix_elim_n.o
> polys_n.o realroots_n.o -o libjcntl.so -L/home/kks/sage-2.8.13-i686-
> Linux/local/lib -lntl -lgmp -lpari -lpari -L/home/kks/sage-2.8.13-i686-
> Linux/local/lib -L/home/kks/sage-2.8.13-i686-Linux/local/lib -lntl -
> lgmp -lpari -lm
> collect2: ld returned 1 exit status
> make[2]: *** [libjcntl.so] Error 1
> make[2]: Leaving directory `/home/kks/sage-2.8.13-i686-Linux/spkg/
> build/cremona-20071219.p1/src/procs'
> make[1]: *** [so] Error 2
> make[1]: Leaving directory `/home/kks/sage-2.8.13-i686-Linux/spkg/
> build/cremona-20071219.p1/src'
> Error building cremona shared libraries
> sage: An error occurred while installing cremona-20071219.p1
> Please email sage-develhttp://groups.google.com/group/sage-devel
> ---etc....

Now the long shot: What file system are you on?

Can you also upload the build log of the whole build somewhere (after
compressing it) and post a link here? Maybe something else failed
earlier.

> Thanks for your help.

Cheers,

Michael

mabshoff

unread,
Jan 27, 2008, 1:49:50 PM1/27/08
to sage-forum
Oh, and another thing I missed: What version are you upgrading from?

Sorry for the double post :(

Cheers,

Michael
Reply all
Reply to author
Forward
0 new messages