[Pythonmac-SIG] Can't build 2.4.3 against X11 Tcl/Tk

Kevin Walzer kw at kevin-walzer.com
Fri Jun 16 18:40:33 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is a new twist on an old problem.

I'm trying to build a standard Unix version of Python (without
- -enable-framework) and link it against an X11-based version of Tcl/Tk.
However, no matter what I do, it builds against the system-installed
Tk/Aqua.

Googling for some solutions to this problem has turned up lots of
complaints about Python linking against an X11 version of Tk (usually
Fink's). How far we've come! :-)

Anyway, here are the flags I'm using to run the build:

export CFLAGS="-arch ppc -arch i386 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4
- -I/usr/local/tcl-tk-unix/include"

export LDFLAGS="-L/usr/local/tcl-tk-unix/lib"


./configure --prefix=/usr/local/python-unix --enable-threads

I know it would be simple to use a Fink or DarwinPorts version of
Python, but I want this version to link against the universal X11 build
of Tcl/Tk I have installed.

Any advice?

- --
Kevin Walzer
Poetic Code
http://www.kevin-walzer.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEkt8BrTC5hIgjqTMRAklrAJ9ud55r7wCpdqfg4XN08OCUCoKkPwCfRiTH
LYSEzUFUWuaEdynMTHM2sd8=
=rltL
-----END PGP SIGNATURE-----


More information about the Pythonmac-SIG mailing list