[Pythonmac-SIG] Python 2.2.2 and Tkinter installation problems on OS X

Joel Rodrigues borgempath@Phreaker.net
Fri, 29 Nov 2002 14:20:48 +0530


Hi,

I'm also attempting to get Python 2.2.2 & Tkinter working with 
TclTkAqua 8.4.1, but don't know quite how to go about it.

I've seen some instructions for something called MachoPython 
which requires X windows, as in This bit:

     5. Append the following to Modules/Setup.local

*shared*
_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
          -I/Library/Frameworks/Tcl.framework/Headers/ \
          
-I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders/ \
          -I/Library/Frameworks/Tk.framework/Headers/ \
          
-I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders/ \
          -I/usr/X11R6/include/ \
          -framework Tcl -framework Tk



I've also seen something about how this may not be a problem 
once Python 2.3 is out.

Anyway, like Nicholas, I've installed the TclTkAqua 8.4.1 binary 
distribution.

I've also got Python 2.2.2 as far as :

  setenv OPT '-no-cpp-precomp -O3'
  ./configure --enable-framework


I also have had Python 2.2 installed and in use for a while now, 
not as a Framework, just the regular Unix style install.

So what do I do now ? Any help would be greatly appreciated.

Cheers,
Joel