[Pythonmac-SIG] Tkinter on OSX works...
Steven Burr
sburr@home.com
Sat, 16 Jun 2001 20:50:45 -0700
I've got the same set up, and it's working quite well. I thought it
might be useful to mention that I got tcl/tk through fink --
http://fink.sourceforge.net/ -- which automates the download,
configuration, compilation and installation of command line and X
Windows programs for use with Darwin.
I also used fink to download the readline library, which allows the use
of emacs-style editing to recall command history and edit commands in
the Python interpreter. It's compiled into the binary version of Python
for Darwin at http://tony.lownds.com/macosx/, but apparently doesn't
come "out of the box" with the Python source code or the OS X developer
tools.
On Tuesday, June 12, 2001, at 10:04 PM, Daniel Lord wrote:
> 0) You need and X Server (Tenon xTools or XFree86) installed--there is
> no Quartz/Aqua Tkinter support.
> If you can compile unix software and don't mind using opt-cmd-A to
> change between Aqua & X, Xfree86 CVS source is free.
> Xfree installation is not for the faint of heart. read about it here:
> http://mrcla.com/XonX/start.html.
>
> Otherwise, Tenon's commercial package is installable as a
> binary--simple and 'rootless' meaning it runs in a window under Aqua.
> It is pricey ($199) and more buggy with some X programs than XFree
> though. XFree works for me.
>
> 1) Be sure you have the Mac OSX tools installed since the next steps
> will require compilation and linking.
>
> 2) Go to http://www.scriptics.org and get tcl8.3.3 and tk 8.8.3 and
> build (./configure, make, make install). They worked fine for me on OSX
> 10.0.3.
>
> 3) Get the Python 2.1 sources and build it from source. Read the README
> They suggest: "Run configure with "OPT='-g -traditional-cpp'
> ./configure
> --with-suffix=.exe --with-dyld" .
>
> Well , since the shell is tcsh, this works better:
> set OPT='-g -traditional-cpp'; ./configure --with-dyld
> Trust me--you can leave out the --with-suffix=.exe, but the rest
> is important.
>
> NOTE: read the README on how to enable Tkinter.
> i.e Be sure to go into the Modules/Setup file and edit the tkinter
> lines to ensure Tkinter support is built.
> The README give details. DO this before compiling.
>
> I have done the above and have Tkinter running on OSX. Even Python
> MegaWidgets (Pmw) works! Now if I could just get Apple's Perl to see
> Tk....
>
> On Tuesday, June 12, 2001, at 09:01 AM, pythonmac-sig-
> request@python.org wrote:
>
>>
>> I'm sorry this has probably been covered already..what's the timescale
>> for
>> Tkinter on OSX? Anytime soon? Or anyone have WxWindows in a
>> user-friendly
>> state. I'm having to look at Java in order to get a gui that isn't
>> sucky...and I'm not the "typed" type...
>>
>> Cheers
>>
>> tom
>>
>
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG@python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>