Ask Your Question
0

sage 4.7 does not build and run in new ubuntu 11 amd64 install!

asked 2011-06-27 03:47:13 +0100

ebs gravatar image

updated 2011-06-27 20:12:15 +0100

Hi! I had to format my computer and reinstall ubuntu 11.04 but when I reinstalled, and tried to build sage, it shows errors and when I try to click on sage, a terminal window opens for fraction of a second and closes. after that nothing happens.

I can't attach install.log, so I pasted it into internet clipboard. link text and this is written in dochtml.log and a new empty file is created with name '?@@@8 (invalid encoding)'

/home/bhavani-shankar/apps/sage-4.7-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux/local/bin/sage-sage: line 952: /home/bhavani-shankar/apps/sage-4.7-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux/local/bin/python: cannot execute binary file

here are the first lines from install.log:

/bin/ls: cannot access bzip2-*-install: No such file or directory
/bin/ls: cannot access dir-*-install: No such file or directory
/bin/ls: cannot access prereq-*-install: No such file or directory
make[1]: Entering directory `/home/bhavani-shankar/apps/sage-4.7-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux/spkg'
standard/deps:143: warning: overriding commands for target `installed/'
standard/deps:140: warning: ignoring old commands for target `installed/'
standard/deps:146: warning: overriding commands for target `installed/'
standard/deps:143: warning: ignoring old commands for target `installed/'
make[1]: Circular installed/ <- installed/ dependency dropped.
make[1]: Circular installed/ <- installed/ dependency dropped.
make[1]: Circular installed/ <- installed/ dependency dropped.

please help!

edit retag flag offensive close merge delete

Comments

In https://help.ubuntu.com/community/SAGE there are instruction which helped me (I was missing some needed package, I think a fortran compiler). Maybe it will help you?

parzan gravatar imageparzan ( 2011-06-27 11:26:16 +0100 )edit

thanks but I've tried everything exactly in the way given in the website. but, the problem persists.

ebs gravatar imageebs ( 2011-06-27 20:09:14 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-06-29 13:13:34 +0100

benjaminfjones gravatar image

I'm not 100% sure, but it looks to me like you've downloaded a pre-built Sage (based on the directory name sage-4.7-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux) and then tried to build it yourself (I don't know what command you tried that produced the install log, perhaps you ran make from the SAGE_ROOT?)

I would suggest you get the source code, read the section "Information" at the bottom of that page, especially:

Note: On Linux systems like Debian/Ubuntu, you may have to install the build essential package, the m4 macro processor, and gfortran:

and build your Sage-4.7 from source.

edit flag offensive delete link more

Comments

sorry, my mistake!. I found out what the problem is. I installed ubuntu from a different cd, this one's architecture is 32 bit which I did not notice. I downloaded the 32 bit version of sage and it works extremely well.

ebs gravatar imageebs ( 2011-06-29 23:55:35 +0100 )edit

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: 2011-06-27 03:47:13 +0100

Seen: 1,146 times

Last updated: Jun 29 '11