Thanks for the answer, I downloaded the new version on the website
(version 4.5)
and I followed this tutorial :
https://help.ubuntu.com/community/SAGE
unfortunately I have still problems :

(I guess I will try to compile it myself, is there any clear tutorial
to do that ?)

Just for info: here is the problems I have :

thanks!
Julien


jul...@harvardo:~$ sage
----------------------------------------------------------------------
| Sage Version 4.5, Release Date: 2010-07-16                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call
last)

/opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/bin/
<string> in <module>()

/opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/
python2.6/site-packages/sage/misc/preparser_ipython.py in <module>()
      6
###########################################################################

      7
----> 8 import sage.misc.interpreter
      9
     10 import preparser

/opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/
python2.6/site-packages/sage/misc/interpreter.py in <module>()
    100
    101 import os
--> 102 import log
    103
    104 import remote_file

/opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/
python2.6/site-packages/sage/misc/log.py in <module>()
     63
     64 import interpreter
---> 65 import latex
     66 import misc
     67

/opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/
python2.6/site-packages/sage/misc/latex.py in <module>()
     38 import random
     39
---> 40 from misc import tmp_dir, graphics_filename
     41 import sage_eval
     42 from sage.misc.misc import SAGE_DOC

/opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/
python2.6/site-packages/sage/misc/misc.py in <module>()
     36
     37 import operator, os, stat, socket, sys, signal, time, weakref,
resource, math
---> 38 import sage.misc.prandom as random
     39
     40 from banner import version, banner

/opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/
python2.6/site-packages/sage/misc/prandom.py in <module>()
     54 # setting seeds should only be done through
sage.misc.randstate .

     55
---> 56 from sage.misc.randstate import current_randstate
     57
     58 def _pyrand():

ImportError: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.11' not
found (required by /opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-
Linux/local/lib/libpari-gmp.so.2)
WARNING: Failure executing code: 'import sage.misc.preparser_ipython;
sage.misc.preparser_ipython.magma_colon_equals=True'
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call
last)

/opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/
python2.6/site-packages/IPython/ipmaker.pyc in force_import(modname)
     64         reload(sys.modules[modname])
     65     else:
---> 66         __import__(modname)
     67
     68

/opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/bin/
ipy_profile_sage.py in <module>()
      1 import os
      2 if 'SAGE_CLEAN' not in os.environ:
----> 3     import sage.misc.misc
      4     from sage.misc.interpreter import preparser, _ip
      5     preparser(True)

/opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/
python2.6/site-packages/sage/misc/misc.py in <module>()
     36
     37 import operator, os, stat, socket, sys, signal, time, weakref,
resource, math
---> 38 import sage.misc.prandom as random
     39
     40 from banner import version, banner

/opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/
python2.6/site-packages/sage/misc/prandom.py in <module>()
     54 # setting seeds should only be done through
sage.misc.randstate .

     55
---> 56 from sage.misc.randstate import current_randstate
     57
     58 def _pyrand():

ImportError: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.11' not
found (required by /opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-
Linux/local/lib/libpari-gmp.so.2)
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.

WARNING: Readline services not available on this platform.
WARNING: The auto-indent feature requires the readline library
<ERROR: name 'sage_prompt' is not defined>

On Aug 5, 10:56 am, kcrisman <kcris...@gmail.com> wrote:
> Dear Julien,
>
> You should probably check outhttp://www.sagemath.org/download-linux.html
> .  For instance, a 32-bit Ubuntu 10.04 build seems to be available at
> e.g.http://ftp.sh.cvut.cz/MIRRORS/sagemath/linux/32bit/sage-4.5-linux-32b...
> if the Czech Republic is close to your computer.
>
> The package manager is probably downloading the Sage that was included
> in Debian - a long time ago.  This version of Sage is nearly two years
> old, and things have progressed VERY rapidly since then.  I recommend
> just downloading one appropriate for your computer and using it, or
> building from source (which is so easy even I can do it).
>
> Notwithstanding, this error does seem weird, but it is unlikely anyone
> is going to try to track down a bug from that old of a version (since
> upgrading requires only a download).  However, if you run into it with
> a recent version, PLEASE reply back to this thread.  Thank you, and I
> hope it works out great!
>
> - kcrisman
>
> On Aug 4, 2:50 pm, julien <julien.d...@gmail.com> wrote:
>
> > Thanks so much for the quick help !!!
> > I am running sage on ubuntu,
> > First I downloaded the version from the package installer in ubuntu.
> > (Synaptic package manager, package sage)
> > and because I had troubles, i decided to download the lastes version
> > for ubuntu on the website of sage.
> > (but I am not so sure which of the two versions I am actually running
> > now, I guess the second one, if i did the install procedure correctly
> > [I copied the directory in /opt/ nad then made a symbolic link with
> > the ln command])
>
> > but still the same problem.
> > it appears to be version 3.0.5, see bellow also the test. (I can do
> > 2+2, and start a maxima console  I can even plot a circle actually)
>
> > jul...@harvardo:~$ sage
> > ----------------------------------------------------------------------
> > | SAGE Version 3.0.5, Release Date: 2008-07-11                       |
> > | Type notebook() for the GUI, and license() for information.        |
> > ----------------------------------------------------------------------
>
> > sage:
> > sage:
> > sage: 2+2
> > 4
> > sage: maxima_console()
>
> > Maxima 5.17.1http://maxima.sourceforge.net
> > Using Lisp GNU Common Lisp (GCL) GCL 2.6.7 (aka GCL)
> > Distributed under the GNU Public License. See the file COPYING.
> > Dedicated to the memory of William Schelter.
> > The function bug_report() provides bug reporting information.
> > (%i1)
>
> > On Aug 4, 1:31 pm, kcrisman <kcris...@gmail.com> wrote:
>
> > > Dear Julien,
>
> > > Thank you for trying Sage.  You appear to be using a rather old
> > > version, and it is usually very easy to download a newer one.  Can you
> > > give us some more specific information about what version it is, where
> > > you downloaded it, what OS you are on, and so forth?
>
> > > What seems to be happening is that there is a simplification called
> > > which has done something grotesque, giving an error that usually
> > > happens with unmatched parentheses and the like.  With more info, this
> > > might help us track down why this is happening to you.
>
> > > Also, if you can do
>
> > > sage: 2+2
> > > 4
>
> > > that is a good sign!  What happens if you do the following? (It should
> > > bring up a new subprogram, which you can quit with Ctrl+D.)
>
> > > sage: maxima_console()
>
> > > Thanks, and hope we can help you!
>
> > > - kcrisman
>
> > > On Aug 4, 12:31 pm, julien <julien.d...@gmail.com> wrote:
>
> > > > Hello, I am completely new to Sage.. but I am so excited, it looks
> > > > like the ultimate tool !!!
> > > > Unfortunately, I have already big problems from the beginning...
>
> > > > I cannot just plot x^2 ....
> > > > here is the kind of error I get ....
>
> > > > any ideas ????
> > > > thnaks so much for your help !!
> > > > Julien

-- 
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

Reply via email to