Le 1 nov. 2012 à 12:33, Martin Costabel <[email protected]> a écrit :

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

This should be fixed in scipy-py26 1:0.10.1-2.

Thanks Martin for the fix.

Sébastien


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
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

Reply via email to