Dear developers, I downloaded a sage-4.8 .dmg installer for OS X (10.6.8 in my case). On the first launch it tells me about relocation, after that Sage works OK.
Now I am trying to upgrade some of my spkg and Distutils doesn't seem to find the proper include and lib paths. Therefore gcc and gfortran fail with undefined references. You can see below that some paths are still hardcoded to the buildbot... For the Python headers it might be the used setup.py that is hardcoded into another location. Checking that. Just wanted to report about the relocation issue, and can I solve it somehow? If it is too much trouble I will go on and compile Sage from source. Regards, Guilherme ==== It doesn't find *my* $SAGE_ROOT/local/lib ==== ... gcc: assimulo/lib/kinsol_jmod.c gcc: assimulo/lib/kinpinv.c gcc -m64 -L/Users/buildbot/build/sage/bsd-1/bsd_64_binary/build/ sage-4.8/local/lib -bundle -undefined dynamic_lookup build/ temp.macosx-10.6-x86_64-2.6/assimulo/lib/sundials_kinsol_core.o build/ temp.macosx-10.6-x86_64-2.6/assimulo/lib/kinsol_jmod.o build/ temp.macosx-10.6-x86_64-2.6/assimulo/lib/kinpinv.o -L/Users/guilherme/ sage-4.8/local/lib -lsundials_kinsol -lsundials_nvecserial -o build/ lib.macosx-10.6-x86_64-2.6/assimulo/lib/sundials_kinsol_core.so ld: warning: directory '/Users/buildbot/build/sage/bsd-1/bsd_64_binary/ build/sage-4.8/local/lib' following -L not found ... == It doesnt find the Python 2.6 headers == ... assimulo/thirdparty/hairer/dopri5.f:483: warning: ‘nonsti’ may be used uninitialized in this function gfortran:f77: build/src.macosx-10.6-x86_64-2.6/assimulo/thirdparty/ hairer/dopri5-f2pywrappers.f /Users/guilherme/sage-4.8/local/bin/gfortran -Wall build/ temp.macosx-10.6-x86_64-2.6/build/src.macosx-10.6-x86_64-2.6/assimulo/ thirdparty/hairer/dopri5module.o build/temp.macosx-10.6-x86_64-2.6/ build/src.macosx-10.6-x86_64-2.6/fortranobject.o build/ temp.macosx-10.6-x86_64-2.6/assimulo/thirdparty/hairer/dopri5.o build/ temp.macosx-10.6-x86_64-2.6/build/src.macosx-10.6-x86_64-2.6/assimulo/ thirdparty/hairer/dopri5-f2pywrappers.o -L/Users/guilherme/sage-4.8/ local/bin/../lib/gcc/i686-apple-darwin8/4.2.3/x86_64 -lgfortran -o build/lib.macosx-10.6-x86_64-2.6/assimulo/lib/dopri5.so Undefined symbols: "_PyNumber_Int", referenced from: _int_from_pyobj in dopri5module.o ... ld: symbol(s) not found collect2: ld returned 1 exit status -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org