Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8b41d53

Browse files
committed
Updated for the 1.6a2 distribution: added a note about the special Tcl/Tk distribution, about Quicktime Exschange and a few minor updates.
1 parent e4d7b5e commit 8b41d53

1 file changed

Lines changed: 23 additions & 18 deletions

File tree

Mac/Demo/building.html

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ <H2>What you need.</H2>
9090

9191
<UL>
9292

93-
<LI> Tcl and Tk can be obtained from <A
94-
HREF="ftp://ftp.smli.com/pub/tcl/mac/">ftp://ftp.smli.com/pub/tcl/mac/</A>.
95-
The current distributions, Tcl 8.0p2 and Tk 8.0p2 need a bit of work,
96-
see the section on <A HREF="#tcltk">building Tcl/Tk Python</A>
97-
below. Get the "full source" distribution, which includes MoreFiles.
93+
<LI> Tcl and Tk are in a sad state on the Mac, the standard source distributions
94+
simply don't compile, so I have created a distribution especially for use
95+
with MacPython.
96+
See the section on <A HREF="#tcltk">building Tcl/Tk Python</A>
97+
below.
9898

9999
<LI> Waste, a TextEdit replacement written by Marco Piovanelli, <A
100100
HREF="mailto:[email protected]">&lt;[email protected]&gt;</A>. Python
@@ -181,24 +181,24 @@ <H2>Setting Up</H2>
181181

182182
<H2><A NAME="tcltk">Building Tcl/Tk</H2>
183183

184-
You need to make some minor changes to the Tcl/Tk 8.0
185-
distribution. You should make the CW Pro projects (in the mac subfolders).
186-
<UL>
187-
188-
<LI> There are no cfm68k targets. You make these by copying the 68k targets,
189-
setting the "68k target" to "cfm68k library" and changing the output filename,
190-
and changing the prefix
191-
header filename in the C/C++ settings panel to "MW_???HeaderCFM68K".
192-
193-
<LI> I had to add Search.c (from MoreFiles) to the tcl library projects. I don't
194-
understand why this is, but it seemed to cure the problems I had.
184+
The Tcl/Tk 8.3.0 source distribution does not work on the Mac. I have created
185+
an archive of the sources that I used to build _tkinter for MacPython,
186+
you can obtain this from <a
187+
href="ftp://ftp.cwi.nl/pub/jack/python/mac/tcltk830src-for-python.sit">
188+
ftp://ftp.cwi.nl/pub/jack/python/mac/tcltk830src-for-python.sit</a>. Only the
189+
libraries needed to build _tkinter for PPC have been fixed. <P>
195190

196-
<LI> Note that if you use a different release of Tcl and Tk than the ones
191+
Note that if you use a different release of Tcl and Tk than the ones
197192
I have used you may have to adapt the Python <code>tkresources.rsrc</code> file.
198193
This is easiest done by building <code>SimpleTk</code> and copying the TEXT, ICON
199194
and CRSR resources from it to <code>tkresources.rsrc</code>. This allows
200195
the <code>_tkinter</code> module to work without an installed Tk/Tcl on your
201-
machine.
196+
machine. <P>
197+
198+
Also note that the <code>_tkinter.ppc.slb</code> that is normally distributed
199+
in the <code>PlugIns</code> folder is the one from the Imaging extension,
200+
which has some extra features needed by PIL (and which features should not
201+
hinder normal operation).
202202

203203
</UL>
204204

@@ -455,6 +455,11 @@ <H2><a name="cvs">Using the CVS source archive</a></H2>
455455
applesingle" and (in the "text files" section) "use ISO latin 1
456456
conversion". <p>
457457

458+
It is also a good idea to disable Quicktime Exchange in the Quicktime
459+
control panel. Quicktime Exchange will magically map some extensions to
460+
filetypes, and this can seriously hinder you if, for instance, <code>.bmp</code>
461+
is not a Windows bitmap file. <p>
462+
458463
The machine-independent Python sources are checked out from the main
459464
Python CVS archive, see the <a
460465
href="http://www.python.org/download/cvs.html">Source access via

0 commit comments

Comments
 (0)