[Pythonmac-SIG] python 2.3.4 on Mac OS X 10.3.6 is working -
upgraded standard installation
Robert Kern
rkern at ucsd.edu
Wed Dec 1 09:47:53 CET 2004
Bob Ippolito wrote:
> Once you know where this Makefile is, open it up with your favorite text
> editor (probably using sudo).
> Navigate to approximately line 98 and replace the two configuration
> variables LDSHARED and BLDSHARED with the following:
>
> LDSHARED= env MACOSX_DEPLOYMENT_TARGET=10.3 $(CC) $(LDFLAGS) -bundle
> -undefined dynamic_lookup
> BLDSHARED= env MACOSX_DEPLOYMENT_TARGET=10.3 $(CC) $(LDFLAGS) -bundle
> -undefined dynamic_lookup
This is problematic for extensions that need to use something other than
$(CC) to link, specifically C++ and FORTRAN extensions. distutils (and
scipy_distutils in the FORTRAN case) splits $LDSHARED on whitespace and
substitutes the appropriate tool into the first index. Thus you end up
with distutils trying to run commands like
c++ MACOSX_DEPLOYMENT_TARGET=10.3 gcc ... etc.
--
Robert Kern
rkern at ucsd.edu
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
More information about the Pythonmac-SIG
mailing list