Ah, sorry, I didn't see the PowerBook bit. I don't know what causes the error, but if you don't want to wait for someone to solve the problem, I would suggest to compile from source. This takes a few hours but usually works well and I have been told that the self-compiled version even runs faster.
Stan abaco68 wrote: > Dear Stan > > I found it here, for instance: > > http://mirror.switch.ch/mirror/sagemath/osx/index.html > > but indeed only for PowerPC > > Regards > > Giovanni > > On Oct 20, 8:32 am, Stan Schymanski <[email protected]> wrote: > >> Dear Giovanni, >> >> Could you tell me where you found a dmg for 10.4.11? I tried to compile >> from source on my 10.4.11 box without success, then I tried to download >> a binary instead, but only found binaries for 10.5 and 10.6. >> >> Cheers, >> Stan >> >> abaco68 wrote: >> >>> 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. >>> > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
