[Pythonmac-SIG] Python 2.3.4 Installation
Bob Ippolito
bob at redivi.com
Mon Sep 27 06:19:44 CEST 2004
On Sep 27, 2004, at 12:01 AM, Samuel M.Smith wrote:
> There isn't much on the new 2.3.4 Mac Python. Does 2.3.4 fix the
> problem where you couldn't have
> any framework version but the one that came with OSX (in this case 2.3
> for Panther) ?.
Yes the problem is fixed, but it's still present in the version of
2.3.0 that ships with 10.3.. so once you install any other framework
build of 2.3 in the usual places, it will prevent any extension from
linking correctly for 2.3.0.
It's possible to monkeypatch Python 2.3.0 so it's not broken in this
regard, though. Here's a diff:
---
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/
config/Makefile Sun Mar 7 22:33:33 2004
+++ /Users/bob/Makefile Sun Mar 7 22:32:16 2004
@@ -95,8 +95,8 @@
# Symbols used for using shared libraries
SO= .so
-LDSHARED= $(CC) $(LDFLAGS) -bundle -framework $(PYTHONFRAMEWORK)
-BLDSHARED= $(CC) $(LDFLAGS) -bundle -framework $(PYTHONFRAMEWORK)
+LDSHARED= $(CC) $(LDFLAGS) -bundle -undefined dynamic_lookup
+BLDSHARED= $(CC) $(LDFLAGS) -bundle -undefined dynamic_lookup
DESTSHARED= $(BINLIBDEST)/lib-dynload
# Executable suffix (.exe on Windows and Mac OS X)
> Does the install
> from source replace 2.3?
No, it goes in /Library/Frameworks/Python.framework with some symlinks
in /usr/local/bin
> There were a lot of posts about problems building extensions and stuff
> with
> a different version etc. Have those issues been resolved?
Same answer as the first question.
> More of a what is the current state of Python 2.3.4 framework on os x
> 10.3.5?
Uh, it works fine?
-bob
More information about the Pythonmac-SIG
mailing list