Ask Your Question
0

combinat install

asked 2012-11-12 05:29:52 -0600

OliverP gravatar image

updated 2012-11-14 05:58:24 -0600

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 10:09:43 -0600 )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 02:08:05 -0600 )edit

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

kcrisman gravatar imagekcrisman ( 2012-11-14 07:11:50 -0600 )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 08:28:16 -0600 )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 15:52:46 -0600 )edit

2 answers

Sort by » oldest newest most voted
0

answered 2012-11-15 10:53:12 -0600

OliverP gravatar image

The solution was to reinstall sage from source.

edit flag offensive delete link more
0

answered 2012-11-12 22:12:24 -0600

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

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 05:29:52 -0600

Seen: 201 times

Last updated: Nov 15 '12