On 31/10/12 10:41, Sean Lake wrote: [] > For what it's worth, I thought I should add that scipy-py27 installs just > fine.
The difference between the two is that -py27 uses /sw/bin/gcc-4 for both compiling and linking, whereas -py26 uses /sw/bin/gcc-4 for compiling and "gcc" (which resolves to /usr/bin/clang) for linking. It is not surprising that this fails. The difference comes from distutils/sysconfig.py, where python2.7 has a default for ldshared that uses the user-provided CC and python2.6 hasn't. Adding a line export LDSHARED="$CC -bundle -L%p/lib/python%type_raw[python]/config -lpython%type_raw[python]" to the CompileScript in scipy-py.info lets the build succeed for python2.6 and 2.7, but it breaks on 3.2, where the names of the config directory and of libpython have changed. To fix this correctly, some fiddling with distutils will be needed, I guess. -- Martin ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
