2010/2/13 Jorge E. ´Sanchez Sanchez <[email protected]>: > > Dear support group, > > after typing a Yes to an update notification of Ubuntu-9.04 to 9.10 it > became unstable, first in an unnoticed way, until finally all my > installation crashes in a sudden "unable to boot".
That could be a hardware problem. > So I reinstall linux 9.10 from zero and I also could install sage-4.3.2 from > sources successfully without any problems, while trying to install ETS > perhaps I change something unadverteadly and when starting sage again it > began to send messages about having problems with some packages, even did > not recognize python commands. What do you mean exactly by "Why trying to install ETS"? > So I tried to recompile again from the very > beginning, but now it cannot accomplishes the task (the message in the last > occasion was something like: configuring R with Atlas ... cannot find > sources -src/include/Defn.h- ... r-2.10.1 /src/po/R.pot ... cannot create > regular file 'src/src/scripts/ no such file or directory ... config.error > cannot find sources). What is the *exact* error mesage? "Someting like" is not very helpful. > So I download again the tar file and try again unsuccesfully. That is a bit pointless. You should just compute the md5 checksum of the file (I assume linux has a command for that. I normally use OpenSLL myself: $ digest -a md5 sage-x.y.z.tar but you might have a program called 'md5' or 'md5sum'. If the md5 checksum is the same as list on the sage mirrors, you can be almost certain the file is the same. I believe the probability of error is then on 1/2^128, which is about 3x10^-39. > After many > tries I gave up and download the precompiled binary but then sending the > ./sage command the answer to it is: > > r...@eolo:/opt/sage-4.3.2-linux-64bit-ubuntu_9.10-x86_64-Linux# ./sage > ---------------------------------------------------------------------- > | Sage Version 4.3.2, Release Date: 2010-02-06 | > | Type notebook() for the GUI, and license() for information. | > ---------------------------------------------------------------------- > /opt/sage-4.3.2-linux-64bit-ubuntu_9.10-x86_64-Linux/local/bin/python: 1: > Syntax error: word unexpected (expecting ")") > > Do you have any idea how can I fix this? You are a bit unwise running Sage as root. The root account should only be used when necessary. I would be tempted to look at sysem logs, and see if there are reports of hardware problems. > Inside a sage subshell it responds, but: > > r...@eolo:/opt/sage-4.3.2-linux-64bit-ubuntu_9.10-x86_64-Linux# ./sage -sh > Or otherwise, how can I ensure to begin a new compilation with all the sage > environment variables erased, in order to make sure they don't interfere > with this new compilation (it seems to me that this is the reason why now I > cannot compile sage successfully), do I need to go back a step further and > reinstall again linux?. You could try $ mv $HOME/.sage $HOME/.sage.old that will ensure Sage is not picking up any old variables. > > Thank you in advance > Jorge Your description is a bit incomplete in places (i.e. error messages which include the words "something like" imply to me you have not posted the *exact* error message), The fact Linux upgraded but then later became unstable makes me suspect the problem is nothing at all do to with Sage, but rather you have a hardware problem. If you do reinstall Linux, I'd install the older version which did not present you problems until you upgraded. There have been some reports of people finding Sage binaries stops working after they upgraded the version of gcc on their system. I believe that might have Ubunta. Sage does not ship with gcc's C or C++ libraries, so if they are changed in an incompatible way, it could cause problems. But this should not happen if you have rebuilt Sage from source. Dave -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
