[Patches] [ python-Patches-481075 ] Patches for Mac OS X for Python 2.1.2...
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 12 Nov 2001 14:31:50 -0800
Patches item #481075, was opened at 2001-11-12 14:31
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=481075&group_id=5470
Category: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Dan Wolfe (dkwolfe)
Assigned to: Nobody/Anonymous (nobody)
Summary: Patches for Mac OS X for Python 2.1.2...
Initial Comment:
I'm not a config god, so I'll leave it to someone else
to figure out how configuration needs to be
changed to incorporate the following changes for
Mac OS X 10.1:
1) Assume:
./configure --with-dyld --with-suffix=.x
2) handle BSD header problems by changing
Makefile lines
OPT= -g -O3 -Wall -Wstrict-prototypes
to
OPT= -g -O3 -Wall -Wstrict-prototypes -no-
cpp-precomp
3) handle two level name spaces for 10.x and
10.0.x - and use bundle loader option vs flat name
spaces.
LDSHARED= $(CC) $(LDFLAGS) -bundle -
undefined suppress
BLDSHARED= $(CC) $(LDFLAGS) -bundle -
undefined suppress
to
LDSHARED= $(CC) $(LDFLAGS) -bundle -
undefined error -bundle_loader ./python.x
BLDSHARED= $(CC) $(LDFLAGS) -bundle -
undefined error -bundle_loader ./python.x
NOTE: the '.x' in python.x is the suffix entered in the
configure command. Also, I've been told the
bundle_loader is only used to resolve undefined
symbols and there is no likage between the
resulting binary and the bundle_loader. Hence,
we can rename python.x to python after installation.
with the following commands:
cd /usr/local/bin/
sudo mv python.x python
sudo mv python2.1.x python2.1
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=481075&group_id=5470