On Jun 16, 2006, at 9:40 AM, Kevin Walzer wrote: > 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?
Edit setup.py, remove the "if platform == 'darwin': self.detect_tkinter_darwin..." -bob _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig