Ask Your Question
0

combinat install

asked 12 years ago

OliverP gravatar image

updated 12 years ago

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

Preview: (hide)

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 ( 12 years ago )

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 ( 12 years ago )

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

kcrisman gravatar imagekcrisman ( 12 years ago )

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 ( 12 years ago )

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 ( 12 years ago )

2 Answers

Sort by » oldest newest most voted
0

answered 12 years ago

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.

Preview: (hide)
link
0

answered 12 years ago

OliverP gravatar image

The solution was to reinstall sage from source.

Preview: (hide)
link

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: 12 years ago

Seen: 1,073 times

Last updated: Nov 15 '12