Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

can't create Sage clone

Hi all:

I just tried to create a Sage 4.6 sandbox to start writing patches with but got some apparently fatal errors running Mac OS 10.6 with the latest version of Xcode installed. Any suggestions?

Alex

raichev@wujarch-l/Applications/sage> ./sage -clone dabble Now cloning the current Sage library branch... hg clone sage sage-dabble updating working directory 2339 files updated, 0 files merged, 0 files removed, 0 files unresolved Copying over all Cython auto-generated .c, .cpp and .h files... Copying over build directory... Copying over all auto-generated reference manual .rst files... Copying over documentation output... Building sage-dabble... sage -b dabble


sage: Building and installing modified Sage library files.

Installing c_lib gcc -o src/convert.os -c -fPIC -I/Applications/sage/local/include -I/Applications/sage/local/include/python2.6 -I/Applications/sage/local/include/NTL -Iinclude src/convert.c In file included from include/convert.h:12:0, from src/convert.c:14: /Applications/sage/local/include/pari/pari.h:20:47: fatal error: stdlib.h: No such file or directory compilation terminated. scons: * [src/convert.os] Error 1 ERROR: There was an error building c_lib.

real 0m0.848s user 0m0.281s sys 0m0.224s Error building Sage

After cloning, if you change any Sage library files and want to rebuild the html version of the reference manual, use the command sage -docbuild reference html (after running 'sage -b').

Note: if before cloning, you have changed any Sage library files without rebuilding the reference manual, then after cloning, you will need to touch those files again if you want the changes to be incorporated into the reference manual.

Updating modification times for the documentation... sage -docbuild --update-mtimes reference html Warning: Could not import sage.combinat.words.morphism dlopen(/Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so, 2): Library not loaded: libcsage.dylib Referenced from: /Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so Reason: image not found Warning: Could not import sage.crypto.block_cipher.miniaes dlopen(/Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so, 2): Library not loaded: libcsage.dylib Referenced from: /Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so Reason: image not found

[lots of the same and then...]

sphinx-build -b html -d /Applications/sage/devel/sage/doc/output/doctrees/en/reference /Applications/sage/devel/sage/doc/en/reference /Applications/sage/devel/sage/doc/output/html/en/reference Traceback (most recent call last): File "/Applications/sage/local/bin/sphinx-build", line 6, in <module> import sage.all File "/Applications/sage/local/lib/python2.6/site-packages/sage/all.py", line 56, in <module> from sage.rings.memory import pmem_malloc ImportError: dlopen(/Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so, 2): Library not loaded: libcsage.dylib Referenced from: /Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so Reason: image not found Build finished. The built documents can be found in /Applications/sage/devel/sage/doc/output/html/en/reference * WARNING * If you are cloning a previous revision or have uncommitted changes to cython files do sage -ba Otherwise Sage might build using the wrong .c files !!

real 0m38.650s user 0m6.922s sys 0m6.810s

raichev@wujarch-l/Applications/sage> ./sage

| Sage Version 4.6, Release Date: 2010-10-30 |

| 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.6/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.6/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.6/site-packages/sage/misc/log.py in <module>() 63 64 import interpreter ---> 65 import latex 66 import misc 67

/Applications/sage/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

/Applications/sage/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

/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(/Applications/sage/local/lib/python2.6/site-packages/sage/misc/randstate.so, 2): Library not loaded: libcsage.dylib Referenced from: /Applications/sage/local/lib/python2.6/site-packages/sage/misc/randstate.so Reason: image not found

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.6/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.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

/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(/Applications/sage/local/lib/python2.6/site-packages/sage/misc/randstate.so, 2): Library not loaded: libcsage.dylib Referenced from: /Applications/sage/local/lib/python2.6/site-packages/sage/misc/randstate.so Reason: image not found Error importing ipy_profile_sage - perhaps you should run %upgrade? WARNING: Loading of ipy_profile_sage failed.

<error: name="" 'sage_prompt'="" is="" not="" defined="">exit() raichev@wujarch-l/Applications/sage>

can't create Sage clone

Hi all:

I just tried to create a Sage 4.6 sandbox to start writing patches with but got some apparently fatal errors running Mac OS 10.6 with the latest version of Xcode installed. Any suggestions?

Alex

raichev@wujarch-l/Applications/sage> ./sage -clone dabble
Now cloning the current Sage library branch...
hg clone  sage sage-dabble 
updating working directory
2339 files updated, 0 files merged, 0 files removed, 0 files unresolved
Copying over all Cython auto-generated .c, .cpp and .h files...
Copying over build directory...
Copying over all auto-generated reference manual .rst files...
Copying over documentation output...
Building sage-dabble...
sage -b dabble


dabble ---------------------------------------------------------- sage: Building and installing modified Sage library files.

files. Installing c_lib gcc -o src/convert.os -c -fPIC -I/Applications/sage/local/include -I/Applications/sage/local/include/python2.6 -I/Applications/sage/local/include/NTL -Iinclude src/convert.c In file included from include/convert.h:12:0, from src/convert.c:14: /Applications/sage/local/include/pari/pari.h:20:47: fatal error: stdlib.h: No such file or directory compilation terminated. scons: * *** [src/convert.os] Error 1 ERROR: There was an error building c_lib.

c_lib. real 0m0.848s user 0m0.281s sys 0m0.224s Error building Sage

Sage After cloning, if you change any Sage library files and want to rebuild the html version of the reference manual, use the command sage -docbuild reference html (after running 'sage -b').

-b'). Note: if before *before* cloning, you have changed any Sage library files without rebuilding the reference manual, then after cloning, you will need to touch those files again if you want the changes to be incorporated into the reference manual.

manual. Updating modification times for the documentation... sage -docbuild --update-mtimes reference html Warning: Could not import sage.combinat.words.morphism dlopen(/Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so, 2): Library not loaded: libcsage.dylib Referenced from: /Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so Reason: image not found Warning: Could not import sage.crypto.block_cipher.miniaes dlopen(/Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so, 2): Library not loaded: libcsage.dylib Referenced from: /Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so Reason: image not found

found [lots of the same and then...]

then...] sphinx-build -b html -d /Applications/sage/devel/sage/doc/output/doctrees/en/reference /Applications/sage/devel/sage/doc/en/reference /Applications/sage/devel/sage/doc/output/html/en/reference Traceback (most recent call last): File "/Applications/sage/local/bin/sphinx-build", line 6, in <module> import sage.all File "/Applications/sage/local/lib/python2.6/site-packages/sage/all.py", line 56, in <module> from sage.rings.memory import pmem_malloc ImportError: dlopen(/Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so, 2): Library not loaded: libcsage.dylib Referenced from: /Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so Reason: image not found Build finished. The built documents can be found in /Applications/sage/devel/sage/doc/output/html/en/reference * *** WARNING * *** If you are cloning a previous revision or have uncommitted changes to cython files do sage -ba Otherwise Sage might build using the wrong .c files !!

!! real 0m38.650s user 0m6.922s sys 0m6.810s

0m6.810s raichev@wujarch-l/Applications/sage> ./sage

./sage ---------------------------------------------------------------------- | Sage Version 4.6, Release Date: 2010-10-30 |

| | Type notebook() for the GUI, and license() for information. |


| ---------------------------------------------------------------------- --------------------------------------------------------------------------- ImportError Traceback (most recent call last)

last) /Applications/sage/local/bin/<string> in <module>()

<module>() /Applications/sage/local/lib/python2.6/site-packages/sage/misc/preparser_ipython.py in <module>() 6 ###########################################################################

  7

########################################################################### 7 ----> 8 import sage.misc.interpreter 9 10 import preparser

preparser /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

remote_file /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

/Applications/sage/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

SAGE_DOC /Applications/sage/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

banner /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

. 55 ---> 56 from sage.misc.randstate import current_randstate 57 58 def _pyrand():

_pyrand(): ImportError: dlopen(/Applications/sage/local/lib/python2.6/site-packages/sage/misc/randstate.so, 2): Library not loaded: libcsage.dylib Referenced from: /Applications/sage/local/lib/python2.6/site-packages/sage/misc/randstate.so Reason: image not found

found WARNING: Failure executing code: 'import sage.misc.preparser_ipython; sage.misc.preparser_ipython.magma_colon_equals=True'

sage.misc.preparser_ipython.magma_colon_equals=True' --------------------------------------------------------------------------- ImportError Traceback (most recent call last)

last) /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

/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)

preparser(True) /Applications/sage/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

banner /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

. 55 ---> 56 from sage.misc.randstate import current_randstate 57 58 def _pyrand():

_pyrand(): ImportError: dlopen(/Applications/sage/local/lib/python2.6/site-packages/sage/misc/randstate.so, 2): Library not loaded: libcsage.dylib Referenced from: /Applications/sage/local/lib/python2.6/site-packages/sage/misc/randstate.so Reason: image not found Error importing ipy_profile_sage - perhaps you should run %upgrade? WARNING: Loading of ipy_profile_sage failed.

<error: name="" 'sage_prompt'="" is="" not="" defined="">exit() raichev@wujarch-l/Applications/sage>

failed. <ERROR: name 'sage_prompt' is not defined>exit() raichev@wujarch-l/Applications/sage>
click to hide/show revision 3
retagged

can't create Sage clone

Hi all:

I just tried to create a Sage 4.6 sandbox to start writing patches with but got some apparently fatal errors running Mac OS 10.6 with the latest version of Xcode installed. Any suggestions?

Alex

raichev@wujarch-l/Applications/sage> ./sage -clone dabble
Now cloning the current Sage library branch...
hg clone  sage sage-dabble 
updating working directory
2339 files updated, 0 files merged, 0 files removed, 0 files unresolved
Copying over all Cython auto-generated .c, .cpp and .h files...
Copying over build directory...
Copying over all auto-generated reference manual .rst files...
Copying over documentation output...
Building sage-dabble...
sage -b dabble

----------------------------------------------------------
sage: Building and installing modified Sage library files.


Installing c_lib
gcc -o src/convert.os -c -fPIC -I/Applications/sage/local/include -I/Applications/sage/local/include/python2.6 -I/Applications/sage/local/include/NTL -Iinclude src/convert.c
In file included from include/convert.h:12:0,
                 from src/convert.c:14:
/Applications/sage/local/include/pari/pari.h:20:47: fatal error: stdlib.h: No such file or directory
compilation terminated.
scons: *** [src/convert.os] Error 1
ERROR: There was an error building c_lib.


real    0m0.848s
user    0m0.281s
sys 0m0.224s
Error building Sage

After cloning, if you change any Sage library files and want to rebuild
the html version of the reference manual, use the command
    sage -docbuild reference html
(after running 'sage -b').

Note: if *before* cloning, you have changed any Sage library files
without rebuilding the reference manual, then after cloning, you
will need to touch those files again if you want the changes
to be incorporated into the reference manual.

Updating modification times for the documentation...
sage -docbuild --update-mtimes reference html
Warning: Could not import sage.combinat.words.morphism dlopen(/Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so, 2): Library not loaded: libcsage.dylib
  Referenced from: /Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so
  Reason: image not found
Warning: Could not import sage.crypto.block_cipher.miniaes dlopen(/Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so, 2): Library not loaded: libcsage.dylib
  Referenced from: /Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so
  Reason: image not found

[lots of the same and then...]

sphinx-build -b html -d /Applications/sage/devel/sage/doc/output/doctrees/en/reference    /Applications/sage/devel/sage/doc/en/reference /Applications/sage/devel/sage/doc/output/html/en/reference
Traceback (most recent call last):
  File "/Applications/sage/local/bin/sphinx-build", line 6, in <module>
    import sage.all
  File "/Applications/sage/local/lib/python2.6/site-packages/sage/all.py", line 56, in <module>
    from sage.rings.memory import pmem_malloc
ImportError: dlopen(/Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so, 2): Library not loaded: libcsage.dylib
  Referenced from: /Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so
  Reason: image not found
Build finished.  The built documents can be found in /Applications/sage/devel/sage/doc/output/html/en/reference
*** WARNING ***
If you are cloning a previous revision or have uncommitted changes to
cython files do 
    sage -ba
Otherwise Sage might build using the wrong .c files !!

real    0m38.650s
user    0m6.922s
sys 0m6.810s
raichev@wujarch-l/Applications/sage> ./sage
----------------------------------------------------------------------
| Sage Version 4.6, Release Date: 2010-10-30                         |
| 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.6/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.6/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.6/site-packages/sage/misc/log.py in <module>()
     63 
     64 import interpreter
---> 65 import latex
     66 import misc
     67 

/Applications/sage/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

/Applications/sage/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

/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(/Applications/sage/local/lib/python2.6/site-packages/sage/misc/randstate.so, 2): Library not loaded: libcsage.dylib
  Referenced from: /Applications/sage/local/lib/python2.6/site-packages/sage/misc/randstate.so
  Reason: image not found
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.6/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.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

/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(/Applications/sage/local/lib/python2.6/site-packages/sage/misc/randstate.so, 2): Library not loaded: libcsage.dylib
  Referenced from: /Applications/sage/local/lib/python2.6/site-packages/sage/misc/randstate.so
  Reason: image not found
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.

<ERROR: name 'sage_prompt' is not defined>exit()
raichev@wujarch-l/Applications/sage>
click to hide/show revision 4
retagged

can't create Sage clone

Hi all:

I just tried to create a Sage 4.6 sandbox to start writing patches with but got some apparently fatal errors running Mac OS 10.6 with the latest version of Xcode installed. Any suggestions?

Alex

raichev@wujarch-l/Applications/sage> ./sage -clone dabble
Now cloning the current Sage library branch...
hg clone  sage sage-dabble 
updating working directory
2339 files updated, 0 files merged, 0 files removed, 0 files unresolved
Copying over all Cython auto-generated .c, .cpp and .h files...
Copying over build directory...
Copying over all auto-generated reference manual .rst files...
Copying over documentation output...
Building sage-dabble...
sage -b dabble

----------------------------------------------------------
sage: Building and installing modified Sage library files.


Installing c_lib
gcc -o src/convert.os -c -fPIC -I/Applications/sage/local/include -I/Applications/sage/local/include/python2.6 -I/Applications/sage/local/include/NTL -Iinclude src/convert.c
In file included from include/convert.h:12:0,
                 from src/convert.c:14:
/Applications/sage/local/include/pari/pari.h:20:47: fatal error: stdlib.h: No such file or directory
compilation terminated.
scons: *** [src/convert.os] Error 1
ERROR: There was an error building c_lib.


real    0m0.848s
user    0m0.281s
sys 0m0.224s
Error building Sage

After cloning, if you change any Sage library files and want to rebuild
the html version of the reference manual, use the command
    sage -docbuild reference html
(after running 'sage -b').

Note: if *before* cloning, you have changed any Sage library files
without rebuilding the reference manual, then after cloning, you
will need to touch those files again if you want the changes
to be incorporated into the reference manual.

Updating modification times for the documentation...
sage -docbuild --update-mtimes reference html
Warning: Could not import sage.combinat.words.morphism dlopen(/Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so, 2): Library not loaded: libcsage.dylib
  Referenced from: /Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so
  Reason: image not found
Warning: Could not import sage.crypto.block_cipher.miniaes dlopen(/Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so, 2): Library not loaded: libcsage.dylib
  Referenced from: /Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so
  Reason: image not found

[lots of the same and then...]

sphinx-build -b html -d /Applications/sage/devel/sage/doc/output/doctrees/en/reference    /Applications/sage/devel/sage/doc/en/reference /Applications/sage/devel/sage/doc/output/html/en/reference
Traceback (most recent call last):
  File "/Applications/sage/local/bin/sphinx-build", line 6, in <module>
    import sage.all
  File "/Applications/sage/local/lib/python2.6/site-packages/sage/all.py", line 56, in <module>
    from sage.rings.memory import pmem_malloc
ImportError: dlopen(/Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so, 2): Library not loaded: libcsage.dylib
  Referenced from: /Applications/sage/local/lib/python2.6/site-packages/sage/rings/memory.so
  Reason: image not found
Build finished.  The built documents can be found in /Applications/sage/devel/sage/doc/output/html/en/reference
*** WARNING ***
If you are cloning a previous revision or have uncommitted changes to
cython files do 
    sage -ba
Otherwise Sage might build using the wrong .c files !!

real    0m38.650s
user    0m6.922s
sys 0m6.810s
raichev@wujarch-l/Applications/sage> ./sage
----------------------------------------------------------------------
| Sage Version 4.6, Release Date: 2010-10-30                         |
| 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.6/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.6/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.6/site-packages/sage/misc/log.py in <module>()
     63 
     64 import interpreter
---> 65 import latex
     66 import misc
     67 

/Applications/sage/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

/Applications/sage/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

/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(/Applications/sage/local/lib/python2.6/site-packages/sage/misc/randstate.so, 2): Library not loaded: libcsage.dylib
  Referenced from: /Applications/sage/local/lib/python2.6/site-packages/sage/misc/randstate.so
  Reason: image not found
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.6/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.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

/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(/Applications/sage/local/lib/python2.6/site-packages/sage/misc/randstate.so, 2): Library not loaded: libcsage.dylib
  Referenced from: /Applications/sage/local/lib/python2.6/site-packages/sage/misc/randstate.so
  Reason: image not found
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.

<ERROR: name 'sage_prompt' is not defined>exit()
raichev@wujarch-l/Applications/sage>