Compilation of sage on Ubuntu 11.10 fails:

Here is a part of the output:

mpsr_Tok.cc: In function ‘void mpsr_ttGen()’:
mpsr_Tok.cc:551:29: warning: deprecated conversion from string
constant to ‘char*’ [-Wwrite-strings]
../kernel/libkernel.a(mod_raw.o): In function `dynl_open':
/home/karsten/bin/sage/sage-4.7.1/spkg/build/singular-3-1-1-4.p12/src/
kernel/mod_raw.cc:217: undefined reference to `dlopen'
../kernel/libkernel.a(mod_raw.o): In function `dynl_sym':
/home/karsten/bin/sage/sage-4.7.1/spkg/build/singular-3-1-1-4.p12/src/
kernel/mod_raw.cc:228: undefined reference to `dlsym'
../kernel/libkernel.a(mod_raw.o): In function `dynl_close':
/home/karsten/bin/sage/sage-4.7.1/spkg/build/singular-3-1-1-4.p12/src/
kernel/mod_raw.cc:233: undefined reference to `dlclose'
../kernel/libkernel.a(mod_raw.o): In function `dynl_error':
/home/karsten/bin/sage/sage-4.7.1/spkg/build/singular-3-1-1-4.p12/src/
kernel/mod_raw.cc:238: undefined reference to `dlerror'
collect2: ld returned 1 exit status
make[4]: *** [iparith.inc] Error 1
make[4]: Leaving directory `/home/karsten/bin/sage/sage-4.7.1/spkg/
build/singular-3-1-1-4.p12/src/Singular'
make[3]: *** [install] Error 1
make[3]: Leaving directory `/home/karsten/bin/sage/sage-4.7.1/spkg/
build/singular-3-1-1-4.p12/src'
make[2]: *** [/home/karsten/bin/sage/sage-4.7.1/local/bin/
Singular-3-1-1] Error 2
make[2]: Leaving directory `/home/karsten/bin/sage/sage-4.7.1/spkg/
build/singular-3-1-1-4.p12/src'
Unable to build Singular.

real    7m12.534s
user    6m50.794s
sys     0m19.953s
sage: An error occurred while installing singular-3-1-1-4.p12
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /home/karsten/bin/sage/sage-4.7.1/install.log.  Describe your
computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/karsten/bin/sage/sage-4.7.1/spkg/build/singular-3-1-1-4.p12 and
type 'make check' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/home/karsten/bin/sage/sage-4.7.1/spkg/build/
singular-3-1-1-4.p12' && '/home/karsten/bin/sage/sage-4.7.1/sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.
make[1]: *** [installed/singular-3-1-1-4.p12] Error 1
make[1]: Leaving directory `/home/karsten/bin/sage/sage-4.7.1/spkg'

real    7m16.005s
user    6m53.814s
sys     0m20.185s
Error building Sage.
make: *** [build] Error 1

I also tried using the binary build for Ubuntu 10.04 but it fails to
run with an error about a missing _md5 module. This error is like the
one described in the following link:
http://markmail.org/message/6t2l4jiiho5sfumv

Any help appreciated!

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to