Hi!

I recently got a laptop, and I have a linux partition on it, namely
openSUSE 12.1.

So far, I have trouble building Sage.

sage-4.8.alpha3 did build, but maxima would not start, because it can
not find mgnuplot

> ./sage -maxima
/home/simon/SAGE/sage-4.8.alpha3/local/bin/maxima: lisp="mgnuplot" not
known. Use --list-avail to see possible options.

No idea where to get that from. gnuplot is installed (and it is not
listed as dependency anyway).

Next, I tried to build sage-4.7.2, but that went even worse, when
building readline:

/bin/sh ../support/shlib-install -O linux-gnu -V unknown -d /home/
simon/SAGE/sage-4.7.2/local/lib64 -b /home/simon/SAGE/sage-4.7.2/local/
bin -i "/usr/bin/install -c -m 644" libreadline.so.6.1
install: you may need to run ldconfig
make[3]: Leaving directory `/home/simon/SAGE/sage-4.7.2/spkg/build/
readline-6.1/src/shlib'
make[2]: Leaving directory `/home/simon/SAGE/sage-4.7.2/spkg/build/
readline-6.1/src'
Error: Readline's build claims to have finished, but files that should
have been built weren't.

Indeed, in the install.log, I read:

rm -f libreadline.a
ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o
search.o rltty.o complete.o bind.o isearch.o display.o signals.o
util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o
nls.o misc.o compat.o xfree.o xmalloc.o history.o histexpand.o
histfile.o histsearch.o shell.o mbutil.o tilde.o
test -n "ranlib" && ranlib libreadline.a

and later

mv /home/simon/SAGE/sage-4.8.alpha3/local/lib/libreadline.a /home/
simon/SAGE/sage-4.8.alpha3/local/lib/libreadline.old
mv: Aufruf von stat für „/home/simon/SAGE/sage-4.8.alpha3/local/lib/
libreadline.a“ nicht möglich: Datei oder Verzeichnis nicht gefunden
make[2]: [install-static] Fehler 1 (ignoriert)
/usr/bin/install -c -m 644 libreadline.a /home/simon/SAGE/
sage-4.8.alpha3/local/lib/libreadline.a
test -n "ranlib" && ranlib /home/simon/SAGE/sage-4.8.alpha3/local/lib/
libreadline.a
mv /home/simon/SAGE/sage-4.8.alpha3/local/lib/libhistory.a /home/simon/
SAGE/sage-4.8.alpha3/local/lib/libhistory.old
mv: Aufruf von stat für „/home/simon/SAGE/sage-4.8.alpha3/local/lib/
libhistory.a“ nicht möglich: Datei oder Verzeichnis nicht gefunden

In other words, apparently it has created libreadline.a (and also
libhistory.a), but when it tries to move it to a different location
then the files are gone.

Any idea how to debug this? Are these two known issues?

Cheers,
Simon

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

Reply via email to