Ask Your Question
0

combinat install

asked 2012-11-12 12:29:52 +0100

OliverP gravatar image

updated 2012-11-14 12:58:24 +0100

I was running sage 5.3 on a lubuntu 12.04 machine. Everything was fine.

Then I tried

./sage -combinat install

Now when I try to use sage, it says

<ERROR: name 'sage_prompt' is not defined>

Is this a known issue? I am currently reinstalling sage 5.4 and hoping that it will work this time. Please advise. Thanks!

UPDATE: I tried it again in 5.4 and got the following error:

Creating sage-combinat branch: /home/oliver/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/sage -b main

---------------------------------------------------------- sage: Building and installing modified Sage library files.

Installing c_lib g++ -o libcsage.so -shared src/convert.os src/interrupt.os src/memory.os src/mpn_pylong.os src/mpz_pylong.os src/mpz_longlong.os src/stdsage.os src/gmp_globals.os src/ZZ_pylong.os src/ntl_wrap.os -L/home/oliver/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib -L/home/oliver/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/config -lntl -lpari -lgmp -lpython2.7 /usr/bin/ld: cannot find crti.o: No such file or directory collect2: ld returned 1 exit status scons: *** [libcsage.so] Error 1 Error building c_lib. Abort

edit retag flag offensive close merge delete

Comments

The reinstallation of sage is fine, but I am scared to try combinat again without knowing what went wrong the first time.

OliverP gravatar imageOliverP ( 2012-11-12 17:09:43 +0100 )edit

My guess (and only a guess) is that the sage-combinat queue requires you to have the version of Sage that the queue is based upon.

kcrisman gravatar imagekcrisman ( 2012-11-13 09:08:05 +0100 )edit

What happens if you do `sage -b main` and then start Sage again?

kcrisman gravatar imagekcrisman ( 2012-11-14 14:11:50 +0100 )edit

oliver@puter:~$ sage -b main ---------------------------------------------------------- sage: Building and installing modified Sage library files. Installing c_lib g++ -o libcsage.so -shared src/convert.os src/interrupt.os src/memory.os src/mpn_pylong.os src/mpz_pylong.os src/mpz_longlong.os src/stdsage.os src/gmp_globals.os src/ZZ_pylong.os src/ntl_wrap.os -L/home/oliver/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib -L/home/oliver/sage-5.4-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/config -lntl -lpari -lgmp -lpython2.7 /usr/bin/ld: cannot find crti.o: No such file or directory collect2: ld returned 1 exit status scons: *** [libcsage.so] Error 1 Error building c_lib.

OliverP gravatar imageOliverP ( 2012-11-14 15:28:16 +0100 )edit

Hmm, that's unfortunate. Are you absolutely sure your binary matches your processor exactly? It sounds like you might be better off installing from scratch (which is not too hard).

kcrisman gravatar imagekcrisman ( 2012-11-14 22:52:46 +0100 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2012-11-13 05:12:24 +0100

ppurka gravatar image

The command

~/Installations/sage-5.4.rc1» ./sage -combinat install
...
real    5m53.200s
user    5m34.937s
sys  0m8.889s
Finished installation of Sage-combinat patches!

proceeded and finished just fine. This was on sage-5.4.rc1. Sage-5.4 was released just a few days ago, so it should work on 5.4 too.

edit flag offensive delete link more
0

answered 2012-11-15 17:53:12 +0100

OliverP gravatar image

The solution was to reinstall sage from source.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-11-12 12:29:52 +0100

Seen: 969 times

Last updated: Nov 15 '12