abaco68
unread,Oct 19, 2009, 1:40:36 PM10/19/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-support
Hi
I have installed sage 4.1.2 on a PowerBook 5.58 with MacOSX 10.4.11 a
cording to
the procedure detailed in the README.txt file.
The first time I run sage it tries to initialize the installation but
it fails with the error message
enclosed hereafter. I have tried twice to download the .dmg file,
unpack it, copy the sage folder
to my disk , then run sage and I always get the same error.
I must add that the sage folder is copied to an external firewire disk
to a folder that has
the same permissions as the "/Applications" folder on the internal
harddisk.
Thanks for any help / suggestion
Giovanni
Error mesage follows here:
ImportError Traceback (most recent call
last)
/Volumes/MyBookData385/Applications/sage/local/bin/<string> in <module>
()
/Volumes/MyBookData385/Applications/sage/local/lib/python2.6/site-
packages/sage/misc/preparser_ipython.py in <module>()
6
###########################################################################
7
----> 8 import sage.misc.interpreter
9
10 import preparser
/Volumes/MyBookData385/Applications/sage/local/lib/python2.6/site-
packages/sage/misc/interpreter.py in <module>()
100
101 import os
--> 102 import log
103
104 import remote_file
/Volumes/MyBookData385/Applications/sage/local/lib/python2.6/site-
packages/sage/misc/log.py in <module>()
63
64 import interpreter
---> 65 import latex
66 import misc
67
/Volumes/MyBookData385/Applications/sage/local/lib/python2.6/site-
packages/sage/misc/latex.py in <module>()
40 import random
41
---> 42 from misc import tmp_dir, graphics_filename
43 import sage_eval
44 from sage.misc.misc import SAGE_DOC
/Volumes/MyBookData385/Applications/sage/local/lib/python2.6/site-
packages/sage/misc/misc.py in <module>()
26
27 import operator, os, stat, socket, sys, signal, time, weakref,
resource, math
---> 28 import sage.misc.prandom as random
29
30 from banner import version, banner
/Volumes/MyBookData385/Applications/sage/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: dlopen(/Volumes/MyBookData385/Applications/sage/local/lib/
python2.6/site-packages/sage/misc/randstate.so, 2): Library not
loaded: /home/wstein/screen/varro/build/sage-4.1.2/local/lib/libgmp.
3.dylib
Referenced from: /Volumes/MyBookData385/Applications/sage/local/lib//
libcsage.dylib
Reason: no suitable image found. Did find:
/Volumes/MyBookData385/Applications/sage/local/lib//libgmp.
3.dylib: incompatible cpu-subtype
WARNING: Failure executing code: 'import sage.misc.preparser_ipython;
sage.misc.preparser_ipython.magma_colon_equals=True'
---------------------------------------------------------------------------
ImportError Traceback (most recent call
last)
/Volumes/MyBookData385/Applications/sage/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
/Volumes/MyBookData385/Applications/sage/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)
/Volumes/MyBookData385/Applications/sage/local/lib/python2.6/site-
packages/sage/misc/misc.py in <module>()
26
27 import operator, os, stat, socket, sys, signal, time, weakref,
resource, math
---> 28 import sage.misc.prandom as random
29
30 from banner import version, banner
/Volumes/MyBookData385/Applications/sage/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: dlopen(/Volumes/MyBookData385/Applications/sage/local/lib/
python2.6/site-packages/sage/misc/randstate.so, 2): corrupt binary,
library ordinal too big
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.