On May 2, 9:38 pm, Lars Fischer <[EMAIL PROTECTED]>
wrote:
> Hello,
Hi,
> today I tried to install sage 3.0 from
> sage-3.0-linux_ubuntu-athlon-i686-Linux.tar.gz
> (By the way, why is this file 80 megs smaller than the others?)
It is a binary compiled by a third party and we can't test it directly
since we do not have access to a GLIBC 2.4 based 32 bit distribution.
> Extracting with tar gave me no errors, so I think the file itself is
> not broken.
> (
> Are there md5sums? My md5sum is:
> 430b972831b64ec144b7f2a66ff02f80 sage-3.0-linux_ubuntu-athlon-i686-
> Linux.tar.gz
Looks correct:
430b972831b64ec144b7f2a66ff02f80 sage-3.0-linux_ubuntu-athlon-i686-
Linux.tar.gz
> )
>
> After extraction I linked
> ln -s sage-3.0-linux_ubuntu-athlon-i686-Linux sage
As mentioned in IRC: don't link, rename
> changed to sage, edited sage:
> SAGE_ROOT="/usr/local/sage"
> But when I try to run sage I get this exception:
>
> [EMAIL PROTECTED]:/usr/local/sage# ./sage
> ----------------------------------------------------------------------
> | SAGE Version 3.0, Release Date: 2008-04-23 |
> | Type notebook() for the GUI, and license() for information. |
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/local/sage/local/bin/sage-ipython", line 10, in <module>
> import IPython
> File "/var/lib/python-support/python2.5/IPython/__init__.py", line
> 60, in <module>
> __import__(name,glob,loc,[])
> File "/var/lib/python-support/python2.5/IPython/genutils.py", line
> 30, in <module>
> import tempfile
> File "/usr/lib/python2.5/tempfile.py", line 33, in <module>
> from random import Random as _Random
> File "/usr/lib/python2.5/random.py", line 43, in <module>
> from math import log as _log, exp as _exp, pi as _pi, e as _e,
> ceil as _ceil
> ImportError: /usr/lib/python2.5/lib-dynload/math.so: undefined symbol:
> PyFPE_jbuf
> Error in sys.excepthook:
> Traceback (most recent call last):
> File "/var/lib/python-support/python2.5/apport_python_hook.py", line
> 37, in apport_excepthook
> import re, tempfile, traceback
> File "/usr/lib/python2.5/tempfile.py", line 33, in <module>
> from random import Random as _Random
> File "/usr/lib/python2.5/random.py", line 43, in <module>
> from math import log as _log, exp as _exp, pi as _pi, e as _e,
> ceil as _ceil
> ImportError: /usr/lib/python2.5/lib-dynload/math.so: undefined symbol:
> PyFPE_jbuf
>
> Original exception was:
> Traceback (most recent call last):
> File "/usr/local/sage/local/bin/sage-ipython", line 10, in <module>
> import IPython
> File "/var/lib/python-support/python2.5/IPython/__init__.py", line
> 60, in <module>
> __import__(name,glob,loc,[])
> File "/var/lib/python-support/python2.5/IPython/genutils.py", line
> 30, in <module>
> import tempfile
> File "/usr/lib/python2.5/tempfile.py", line 33, in <module>
> from random import Random as _Random
> File "/usr/lib/python2.5/random.py", line 43, in <module>
> from math import log as _log, exp as _exp, pi as _pi, e as _e,
> ceil as _ceil
> ImportError: /usr/lib/python2.5/lib-dynload/math.so: undefined symbol:
> PyFPE_jbuf
It picks up the system's Python.
> System is Kubuntu 7.10.
>
> Sage 2.10.4 compiled from source worked flawless.
>
> Any ideas?
Well, the binary might be broken. Why it picks up the system's python
is hard to tell. The binary run for the guy who compiled it, but since
I cannot debug a system I do not have access to it is hard to tell.
> Thanks in advance,
> Lars Fischer
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---