linbox error in sage 6.4 install to ubuntu 14.04
I have just switched over to ubuntu and attempted to install sagemath for the first time. The install ran for about an hour then stopped with the following information in the logfile:
make[7]: Entering directory `/home/kevin/Downloads/sage/local/var/tmp/sage/build/linbox-1.3.2.p1/src/linbox/util'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../linbox -I/home/kevin/Downloads/sage/local/include -I/home/kevin/Downloads/sage/local/include -DDISABLE_COMMENTATOR -O2 -g -DNDEBUG -U_LB_DEBUG -I/home/kevin/Downloads/sage/local/include -g -fPIC -c -o error.lo error.C
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../linbox -I/home/kevin/Downloads/sage/local/include -I/home/kevin/Downloads/sage/local/include -DDISABLE_COMMENTATOR -O2 -g -DNDEBUG -U_LB_DEBUG -I/home/kevin/Downloads/sage/local/include -g -fPIC -c error.C -fPIC -DPIC -o .libs/error.o
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../linbox -I/home/kevin/Downloads/sage/local/include -I/home/kevin/Downloads/sage/local/include -DDISABLE_COMMENTATOR -O2 -g -DNDEBUG -U_LB_DEBUG -I/home/kevin/Downloads/sage/local/include -g -fPIC -c -o debug.lo debug.C
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../linbox -I/home/kevin/Downloads/sage/local/include -I/home/kevin/Downloads/sage/local/include -DDISABLE_COMMENTATOR -O2 -g -DNDEBUG -U_LB_DEBUG -I/home/kevin/Downloads/sage/local/include -g -fPIC -c debug.C -fPIC -DPIC -o .libs/debug.o
/bin/bash ../../libtool --tag=CXX --mode=link g++ -O2 -g -DNDEBUG -U_LB_DEBUG -I/home/kevin/Downloads/sage/local/include -g -fPIC -L/home/kevin/Downloads/sage/local/lib -lgivaro -o libutil.la error.lo debug.lo -L/home/kevin/Downloads/sage/local/lib -lgivaro
libtool: link: warning: library `/home/kevin/Downloads/sage/local/lib/libgivaro.la' was moved.
/bin/grep: /home/buildslave-sage/slave/sage_git/build/local/lib/libgmpxx.la: No such file or directory
/bin/sed: can't read /home/buildslave-sage/slave/sage_git/build/local/lib/libgmpxx.la: No such file or directory
libtool: link: `/home/buildslave-sage/slave/sage_git/build/local/lib/libgmpxx.la' is not a valid libtool archive
make[7]: *** [libutil.la] Error 1
make[7]: Leaving directory `/home/kevin/Downloads/sage/local/var/tmp/sage/build/linbox-1.3.2.p1/src/linbox/util'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/kevin/Downloads/sage/local/var/tmp/sage/build/linbox-1.3.2.p1/src/linbox/util'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/kevin/Downloads/sage/local/var/tmp/sage/build/linbox-1.3.2.p1/src/linbox'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/kevin/Downloads/sage/local/var/tmp/sage/build/linbox-1.3.2.p1/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/kevin/Downloads/sage/local/var/tmp/sage/build/linbox-1.3.2.p1/src'
Error building LinBox.
This is well over my head, so I wonder if anyone can help-there doesn't seem to be anything on the ubuntu forums.
Thanks in advance
Have you checked the dependencies ?
Linux: gcc, make, m4, perl, ranlib, and tar. (install these using your package manager) On recent Debian or Ubuntu systems (in particular Ubuntu 12.04 "Precise"), you need the dpkg-dev package.
I have all of those yes.
Could you please give more details on how you went there ? For example, where did you get the tarball ? Which command did you type precisely ? The reference to
/home/buildslave-sage/
looks very weird.In particular, it would imply you downloaded a binary but tried to (re)build it from scratch. Maybe you should just download the source.
I downloaded the .lzma tarball of the source files from the linux site, into home/Downloads. I used the archive manager to unzip it,I renamed the file unzipped file SAGE_ROOT and put it into the home directory. I then typed 'make' in home/SAGE_ROOT.
I think somehow I've managed to recreate a problem involving the DDISABLE_COMMENTATOR business that one finds people encountered on mac OS, not sure.
It appears