Re: [sage-support] Problems installing sage in ubuntu-9.10 amd64
2010/2/13 Jorge E. ´Sanchez Sanchez hnr...@hotmail.com: 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 sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Re: can't get notebook running: help!
On 13 February 2010 06:44, zsharon zacherysha...@gmail.com wrote: Maybe your sage image is different, but for mine, the notebook is started with the command notebook (w/o quotes). It should be sage: notebook() and not sage: notbook So the original poster was correct to have the quotes. Dave -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Re: can't get notebook running: help!
On 13 February 2010 11:00, David Kirkby david.kir...@onetel.net wrote: On 13 February 2010 06:44, zsharon zacherysha...@gmail.com wrote: Maybe your sage image is different, but for mine, the notebook is started with the command notebook (w/o quotes). It should be sage: notebook() and not sage: notbook So the original poster was correct to have the quotes. Dave Sorry, I mean he was correct to use the round brackets (). -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] sagemath installs on ubuntu karmic, but abends on simple problem
summary: I installed ubuntu package=sagemath (and dependencies) using aptitude on 2 previously-sage-clean ubuntu karmic boxes. Sage appeared to install cleanly on both boxes, but a simple problem (that works on sagenb.org) causes sage to abend similarly on both boxes. How to fix the current installs, or reinstall more appropriately? details: I'm trying to show my girlfriend's daughter how to do some simple math on her computer. She has UNR 9.10 on i386, I have straight ubuntu 9.10 on amd64. Both are GNOME-based and have default python=2.6. I have previously installed and used scipy/numpy on my box without problems; her box is enthought-clean. Both of us are new to sage (I have used Mathematica some, but only on windows) and both our boxes were previously sage-clean. I did one of her homework problems on the web: http://www.sagenb.org/home/tlroche/0/ x, y = var('x y') e1 = y == 2*x - 2 e2 = y == x + 2 solve([e1, e2], x, y) and got as expected [[x == 4, y == 6]] so I decided to install package=sagemath on her netbook, with $ sudo aptitude install sagemath using current default ubuntu repositories. This installed without error. Since it was such a huge install (postfix?) I restarted afterward. I then attempted to run the above example from the commandline and failed miserably. Thinking it might be a box- or architecture-specific problem, I then installed the same way on my box and got a very similar error trace, which follows in its entirety following my .sig. I'm wondering, is there an easy way to fix these installs? Alternatively, is there a better way to install sage on ubuntu? Apologies if this is a FAQ: I saw a buncha posts about ubuntu install problems, but nothing quite this uncomplicated (i.e. a straight/fresh install of the sage packages). Feel free to reply directly to me as well as to the group, and TIA, Tom Roche tom_ro...@pobox.com-trace follows to end of post-- tlro...@tlrpanp5:~$ sage -- | SAGE Version 3.0.5, Release Date: 2008-07-11 | | Type notebook() for the GUI, and license() for information.| -- sage: x,y=var('x y') sage: e1=y==2*x-2 Exception pexpect.EOF: EOF() in 'sage.structure.parent._unregister_pair' ignored Maxima crashed -- automatically restarting. Exception pexpect.EOF: EOF() in 'sage.structure.parent._unregister_pair' ignored sage: e2=y==x+2 sage: solve([e1,e2],x,y) Maxima crashed -- automatically restarting. ERROR: An unexpected error occurred while tokenizing input The following traceback may be corrupted or invalid The error message is: ('EOF in multi-line statement', (865, 0)) ERROR: An unexpected error occurred while tokenizing input The following traceback may be corrupted or invalid The error message is: ('EOF in multi-line statement', (865, 0)) ERROR: An unexpected error occurred while tokenizing input The following traceback may be corrupted or invalid The error message is: ('EOF in multi-line statement', (575, 0)) ERROR: An unexpected error occurred while tokenizing input The following traceback may be corrupted or invalid The error message is: ('EOF in multi-line statement', (356, 0)) ERROR: An unexpected error occurred while tokenizing input The following traceback may be corrupted or invalid The error message is: ('EOF in multi-line statement', (865, 0)) ERROR: An unexpected error occurred while tokenizing input The following traceback may be corrupted or invalid The error message is: ('EOF in multi-line statement', (387, 0)) ERROR: An unexpected error occurred while tokenizing input The following traceback may be corrupted or invalid The error message is: ('EOF in multi-line statement', (805, 0)) ERROR: An unexpected error occurred while tokenizing input The following traceback may be corrupted or invalid The error message is: ('EOF in multi-line statement', (785, 0)) --- EOF Traceback (most recent call last) /home/tlroche/ipython console in module() /usr/lib/python2.5/site-packages/sage/calculus/equations.pyc in solve(f, *args, **kwds) 1378 return [] 1379 - 1380 m = maxima(list(f)) 1381 1382 try: /usr/lib/python2.5/site-packages/sage/interfaces/maxima.pyc in __call__(self, x) 375 def __call__(self, x): 376 import sage.rings.all -- 377 return Expect.__call__(self, x) 378 379 def __init__(self, script_subdirectory=None, logfile=None, server=None, /usr/lib/python2.5/site-packages/sage/interfaces/expect.pyc in __call__(self, x) 954 pass 955 try: -- 956 return self._coerce_impl(x, use_special=False) 957 except TypeError, msg: 958 try: /usr/lib/python2.5/site-packages/sage/interfaces/expect.pyc in
Re: [sage-support] sagemath installs on ubuntu karmic, but abends on simple problem
On Sat, 13 Feb 2010 16:27:22 -0800 (PST), Tom Roche tlro...@gmail.com wrote: summary: I installed ubuntu package=sagemath (and dependencies) using aptitude on 2 previously-sage-clean ubuntu karmic boxes. Sage appeared to install cleanly on both boxes, but a simple problem (that works on sagenb.org) causes sage to abend similarly on both boxes. How to fix the current installs, or reinstall more appropriately? The version of Sage that's currently packaged in Debian (and hence Ubuntu) is really really old (think: dinosaur). I suggest that you download an Ubuntu binary from www.sagemath.org This will give you Sage 4.3.2, the latest release. Another option is to download the sources and build it yourself. Best, Alex -- Alex Ghitza -- Lecturer in Mathematics -- The University of Melbourne -- Australia -- http://www.ms.unimelb.edu.au/~aghitza/ -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org