Building Python 2.2.2 with Aqua TCL/TK on OS X

Skip Montanaro skip at pobox.com
Tue Dec 17 22:40:16 EST 2002


    Weston> I am building (as the title suggests, or trying to anyway)
    Weston> Python 2.2.2 with Aqua TCL/TK and tkinter on Mac OS X
    Weston> (10.1.5)... I think I've got the Dec 2001 Dev Tools
    Weston> (gcc-932.1/2.95.2). Here's what I've done so far:

    Weston> (1) Grabbed the vanilla Python 2.2.2 tarball
    ...

A few suggestions, as I've been fiddling with this myself recently:

    1. Unless you absolutely, positively have to have 2.2 compatibility,
       skip 2.2.2 and just work from Python CVS (a.k.a. 2.3a0).  Jack Jansen
       has put in a lot of effort the Mac-specific parts of the tree since
       the release of 2.2.0.  I suspect much of his recent work hasn't been
       backported to the 2.2.x maintenance branch.

    2. Don't mess with Modules/Setup*.  Tkinter should build okay if
       you've installed AquaTk correctly.  Tony Lownds' instructions are the
       correct place to look for AquaTk help.

    3. Build Python as

        ./configure --enable-framework
        make
        make frameworkinstall

    4. Post followup questions to the MacPython SIG:
       Pythonmac-SIG at python.org.  You will find a much higher concentration
       of MacPython people there. ;-)

What's with UtahValleyMusic.com?  Contact me off-list (see the URLs in my
sig...)

-- 
Skip Montanaro - skip at pobox.com
http://www.mojam.com/
http://www.musi-cal.com/




More information about the Python-list mailing list