Hello all, When trying to upgrade from 2.8.12 installed from binaries downloaded from the web, I am getting the following error after restarting what looks like a successful upgrade:
galois:~/sage ayeq$ sage ---------------------------------------------------------------------- | SAGE Version 2.8.13, Release Date: 2007-11-21 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- ------------------------------------------------------------------------ --- <type 'exceptions.ImportError'> Traceback (most recent call last) /Users/ayeq/sage/local/bin/<string> in <module>() <type 'exceptions.ImportError'>: No module named sage.misc.preparser_ipython WARNING: Failure executing code: 'import sage.misc.preparser_ipython; sage.misc.preparser_ipython.magma_colon_equals=True' ------------------------------------------------------------------------ --- <type 'exceptions.ImportError'> Traceback (most recent call last) /Users/ayeq/sage/local/bin/<ipython console> in <module>() <type 'exceptions.ImportError'>: No module named sage.misc.misc <ERROR: name 'sage_prompt' is not defined>exit() The errors are similar to ones in a previous post by Dan Shumow on Nov 5. I have tried to manually merge and update like said in the replies but nothing changes. When trying to make from the sage folder i am getting odd references from the linker saying something about a library linked in /Users/ clarita . <-- Is this one of the developers boxes. Here is the actual output building 'sage.libs.ntl.ntl_GF2' extension g++ -bundle -undefined dynamic_lookup build/temp.macosx-10.3-i386-2.5/ sage/libs/ntl/ntl_GF2.o -L/Users/ayeq/sage/local//lib -lcsage -lcsage -lntl -lstdc++ -lstdc++ -lntl -o build/lib.macosx-10.3-i386-2.5/sage/ libs/ntl/ntl_GF2.so /usr/bin/ld: warning can't open dynamic library: /Users/clarita/ Desktop/sage-2.8.11/local/lib/libgmp.3.dylib referenced from: /Users/ ayeq/sage/local//lib/libcsage.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/bin/ld: warning can't open dynamic library: libpari-gmp.dylib referenced from: /Users/ayeq/sage/local//lib/libcsage.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/bin/ld: Undefined symbols: ___gmpn_add_n referenced from libntl expected to be defined in /Users/ clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib ___gmpn_addmul_1 referenced from libntl expected to be defined in / Users/clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib ___gmpn_divrem_1 referenced from libntl expected to be defined in / Users/clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib ___gmpn_gcd referenced from libntl expected to be defined in /Users/ clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib ___gmpn_gcdext referenced from libntl expected to be defined in / Users/clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib ___gmpn_lshift referenced from libntl expected to be defined in / Users/clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib ___gmpn_mod_1 referenced from libntl expected to be defined in /Users/ clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib ___gmpn_mul referenced from libntl expected to be defined in /Users/ clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib ___gmpn_mul_1 referenced from libntl expected to be defined in /Users/ clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib ___gmpn_rshift referenced from libntl expected to be defined in / Users/clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib ___gmpn_sqrtrem referenced from libntl expected to be defined in / Users/clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib ___gmpn_sub_n referenced from libntl expected to be defined in /Users/ clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib ___gmpn_tdiv_qr referenced from libntl expected to be defined in / Users/clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib collect2: ld returned 1 exit status error: command 'g++' failed with exit status 1 sage: There was an error installing modified sage library code. and after running a make distclean it wont even try to build complaining about circular dependencies: galois:~/sage ayeq$ make cd spkg && ./install all 2>&1 | tee -a ../install.log cp: base/sage-*: No such file or directory ls: bzip2-*-install: No such file or directory ls: dir-*-install: No such file or directory ls: prereq-*-install: No such file or directory standard/deps:38: warning: overriding commands for target `installed/' standard/deps:35: warning: ignoring old commands for target `installed/' standard/deps:41: warning: overriding commands for target `installed/' standard/deps:38: warning: ignoring old commands for target `installed/' standard/deps:152: warning: overriding commands for target `installed/' standard/deps:41: warning: ignoring old commands for target `installed/' make[1]: Circular installed/python-2.5.1.p8 <- installed/ dependency dropped. make[1]: Circular installed/python-2.5.1.p8 <- installed/ dependency dropped. make[1]: Circular installed/python-2.5.1.p8 <- installed/ dependency dropped. make[1]: Circular installed/zlib-1.2.3.p2 <- installed/ dependency dropped. make[1]: Circular installed/zlib-1.2.3.p2 <- installed/ dependency dropped. make[1]: Circular installed/zlib-1.2.3.p2 <- installed/ dependency dropped. sage-spkg zlib-1.2.3.p2 2>&1 /bin/sh: line 1: sage-spkg: command not found make[1]: *** [installed/zlib-1.2.3.p2] Error 127 real 0m0.013s user 0m0.005s sys 0m0.006s Thank you for any help. This has happened every time I have tried t upgrade from within sage. (from binary installed versions and home built versions). David Monarres --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---