On Feb 10, 2005, at 9:35 PM, Martin Costabel wrote:
distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET
mismatch: now "" but "10.3" during configure
Setting the above-mentioned environment var. to "10.3" before
launching python2.4 resolves the problem, but does anyone know of a
fix without having to change your startup (.profile/.login) files?
Otherwise, this should probably be added to
/sw/bin/init.* so people don't have to modify their environment
before using the updated scipy.
Here is what the scipy and python maintainer answered last week on
fink-devel to the same problem:
Anytime you use the distutils module (which is apparently imported by
scipy) you must set the MACOSX_DEPLOYMENT_TARGET env var to 10.3.
This is a python 2.4 'feature'.
Thanks for pointing this out, Martin. I've been wondering if calling
distutils during runtime is rather something that could be avoided, but
the scipy people don't seem to have an issue with that. Thinking about
my suggestion to add the declaration to init.sh, maybe that would
clutter up the fink startup too much. Adding a note to the package
description should be helpful, though.
Cheers,
Derek
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users