Dear Dr. Kirkby, After taking the suggested actions, I still have errors as shown here:
% which ranlib /usr/ccs/bin/ranlib % ./sage ---------------------------------------------------------------------- | Sage Version 4.5.1, Release Date: 2010-07-19 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- The Sage install tree may have moved. Regenerating Python.pyo and .pyc files that hardcode the install PATH (please wait at most a few minutes)... Do not interrupt this. --------------------------------------------------------------------------- ImportError Traceback (most recent call last) /home/hilbert/bin/sage-4.5.1-Solaris_10_SPARC-sun4u-SunOS/local/bin/<string> in <module>() /home/hilbert/bin/sage-4.5.1-Solaris_10_SPARC-sun4u-SunOS/local/lib/python2.6/site-packages/sage/misc/preparser_ipython.py in <module>() 6 ########################################################################### 7 ----> 8 import sage.misc.interpreter 9 10 import preparser /home/hilbert/bin/sage-4.5.1-Solaris_10_SPARC-sun4u-SunOS/local/lib/python2.6/site-packages/sage/misc/interpreter.py in <module>() 100 101 import os --> 102 import log 103 104 import remote_file /home/hilbert/bin/sage-4.5.1-Solaris_10_SPARC-sun4u-SunOS/local/lib/python2.6/site-packages/sage/misc/log.py in <module>() 63 64 import interpreter ---> 65 import latex 66 import misc 67 /home/hilbert/bin/sage-4.5.1-Solaris_10_SPARC-sun4u-SunOS/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 /home/hilbert/bin/sage-4.5.1-Solaris_10_SPARC-sun4u-SunOS/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 /home/hilbert/bin/sage-4.5.1-Solaris_10_SPARC-sun4u-SunOS/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: ld.so.1: python: fatal: /home/hilbert/bin/sage-4.5.1-Solaris_10_SPARC-sun4u-SunOS/local/lib//libgmp.so.3: bad ELF flags value: [ EF_SPARC_32PLUS EF_SPARC_SUN_US1 EF_SPARC_SUN_US3 ] WARNING: Failure executing code: 'import sage.misc.preparser_ipython; sage.misc.preparser_ipython.magma_colon_equals=True' --------------------------------------------------------------------------- ImportError Traceback (most recent call last) /home/hilbert/bin/sage-4.5.1-Solaris_10_SPARC-sun4u-SunOS/local/lib/python2.6/site-packages/IPython/ipmaker.py in force_import(modname) 64 reload(sys.modules[modname]) 65 else: ---> 66 __import__(modname) 67 68 /home/hilbert/bin/sage-4.5.1-Solaris_10_SPARC-sun4u-SunOS/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) /home/hilbert/bin/sage-4.5.1-Solaris_10_SPARC-sun4u-SunOS/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 /home/hilbert/bin/sage-4.5.1-Solaris_10_SPARC-sun4u-SunOS/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: ld.so.1: python: fatal: /home/hilbert/bin/sage-4.5.1-Solaris_10_SPARC-sun4u-SunOS/local/lib//libgmp.so.3: bad ELF flags value: [ EF_SPARC_32PLUS EF_SPARC_SUN_US1 EF_SPARC_SUN_US3 ] Error importing ipy_profile_sage - perhaps you should run %upgrade? WARNING: Loading of ipy_profile_sage failed. <ERROR: name 'sage_prompt' is not defined> The missing ranlib indication now appears to be resolved. Perhaps I'm experiencing a problem with that executable as you mention below? My experience is /usr/ccs/bin is not a terribly common directory for Solaris users to have in their $PATH, so modifying the install instructions to mention where ranlib is found would be a welcome addition. Possibly linking to it from $HOME/bin or /usr/local/bin would be a good idea to suggest. Thanks for the help. dan ________________________________ From: Dr. David Kirkby <david.kir...@onetel.net> To: sage-support@googlegroups.com Sent: Wed, July 28, 2010 2:17:45 PM Subject: Re: [sage-support] Solaris installation problems On 07/28/10 07:54 PM, DWL wrote: > If this isn't the forum for asking install questions, by all means, stop >reading > and tell me where to direct this question. This is the place to ask about install questions. > I've downloaded and unpacked the .7z binaries for Solaris according to the > instructions on this page: > > http://wiki.sagemath.org/solaris-binaries > > I've done everything through step 5. > > This is the output from my terminal: > > % env | grep -i LD_ > LD_LIBRARY_PATH=/usr/sfw/lib > % ./sage > ---------------------------------------------------------------------- > | Sage Version 4.5.1, Release Date: 2010-07-19 | > | Type notebook() for the GUI, and license() for information. | > ---------------------------------------------------------------------- > The Sage install tree may have moved. > Regenerating Python.pyo and .pyc files that hardcode the install PATH > (please wait at most a few minutes)... > Do not interrupt this. > sh: ranlib: not found ranlib is in /usr/ccs/bin. You will need to add that to your path - I suggest at the end. export PATH=$PATh:/usr/ccs/bin Then try again. It might be worth unpacking it again, since I'm not sure if the failure to have ranlib might have cause any problems. I will get http://wiki.sagemath.org/solaris-binaries to reflect the fact one needs to have ranlib in the path. Someone had a problem using that binary. If you get trouble, let us know. I should be able to resolve any issues you have. Dave -- 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 -- 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