Hi Sage-Devel, Here's yet *another* person that can't use our binary on OS X 10.4 PPC. Michael, can you change the binary name to make it clear that it won't work?
Hi Tom, Currently the only way to install sage-3.4 on a G4 is to upgrade an existing install or build from source. William ---------- Forwarded message ---------- From: Tom Hagedorn <[email protected]> Date: Mon, Mar 16, 2009 at 8:08 AM Subject: Sage 3.4 OS 10.4 PowerPC Install Error To: [email protected] Dear William, Sorry for not posting this on the sage-bug tracker but I wanted to send this to you ASAP. Last night, I tried installing sage 3.4 on my PowerBook g4 running OS 10.4. I have Sage (old version) running on my Intel-Mac 10.5 without a problem. I got a fatal error (below). The primary part seems to be: ImportError: dlopen(/Applications/sage/local/lib/python2.5/site-packages/sage/misc/randstate.so, 2): Library not loaded: /home/wstein/varro/build/sage-3.4/local/lib/libgmp.3.dylib Referenced from: /Applications/sage/local/lib//libcsage.dylib Reason: no suitable image found. Did find: /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' as it seems to be looking for one of your directories. I wonder if the link needs to be fixed. Best, Tom ps. I have another Sage question that I want to ask you later today. __________________________________________ Last login: Mon Mar 16 03:50:56 on ttyp2 /Applications/sage/sage; exit Welcome to Darwin! Fermat:~ hagedorn$ /Applications/sage/sage; exit ---------------------------------------------------------------------- | Sage Version 3.4, Release Date: 2009-03-11 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- --------------------------------------------------------------------------- ImportError Traceback (most recent call last) /Applications/sage/local/bin/<string> in <module>() /Applications/sage/local/lib/python2.5/site-packages/sage/misc/preparser_ipython.py in <module>() 6 ########################################################################### 7 ----> 8 import sage.misc.interpreter 9 10 import preparser /Applications/sage/local/lib/python2.5/site-packages/sage/misc/interpreter.py in <module>() 100 101 import os --> 102 import log 103 104 import remote_file /Applications/sage/local/lib/python2.5/site-packages/sage/misc/log.py in <module>() 63 64 import interpreter ---> 65 import latex 66 import misc 67 /Applications/sage/local/lib/python2.5/site-packages/sage/misc/latex.py in <module>() 41 import random 42 ---> 43 from misc import tmp_dir 44 import sage_eval 45 from sage.misc.misc import SAGE_DOC /Applications/sage/local/lib/python2.5/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 /Applications/sage/local/lib/python2.5/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(/Applications/sage/local/lib/python2.5/site-packages/sage/misc/randstate.so, 2): Library not loaded: /home/wstein/varro/build/sage-3.4/local/lib/libgmp.3.dylib Referenced from: /Applications/sage/local/lib//libcsage.dylib Reason: no suitable image found. Did find: /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) /Applications/sage/local/lib/python2.5/site-packages/IPython/ipmaker.pyc in force_import(modname) 64 reload(sys.modules[modname]) 65 else: ---> 66 __import__(modname) 67 68 /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) /Applications/sage/local/lib/python2.5/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 /Applications/sage/local/lib/python2.5/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(/Applications/sage/local/lib/python2.5/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. <ERROR: name 'sage_prompt' is not defined> -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ 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-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
