On 7/21/07, emily kirkman <[EMAIL PROTECTED]> wrote: > William, > > After installing the binary, I was unable to clone a branch, then I tried > 'sage -br main' and had this error: [on intel os x]
[...] > g++ -bundle -undefined dynamic_lookup > build/temp.macosx-10.3-ppc-2.5/sage/schemes/hyperelliptic_curves/frobenius.o > build/temp.macosx-10.3-ppc-2.5/sage/schemes/hyperelliptic_curves/frobenius_cpp.o > -L/Users/j/Desktop/sage- > 2.7-osx-powerpc-PowerMacintosh-Darwin/local//lib -lcsage > -lntl -lstdc++ -lstdc++ -lntl -o > build/lib.macosx-10.3-ppc-2.5/sage/schemes/hyperelliptic_curves/frobenius.so > /usr/bin/ld: warning can't open dynamic library: > /Users/was/sage-bdist/local/lib/libgmp.3.dylib referenced > from: /Users/j/Desktop/sage- > 2.7-osx-powerpc-PowerMacintosh-Darwin/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/was/sage-bdist/local/lib/libgmp.3.dylib [...] > ___gmpn_tdiv_qr referenced from libntl expected to be defined in > /Users/was/sage-bdist/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. I've realized that "./sage -br" doesn't work with a fresh SAGE binary on intel osx because there is one missing library in devel/sage/setup.py (the frobenius.pyx module needs the gmp library). Doing hg_sage.pull() should fix this, or type cd SAGE_ROOT/devel/sage # SAGE_ROOT = the root of your sage install ../../sage -hg pull http://sagemath.org/hg/sage-main ../../sage -hg update Then do sage -br. Please let me know ASAP if this doesn't work. -- William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@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-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---