Adam Ginsburg | 23 May 22:57
Picon
Favicon

Error compiling tk 8.5.7 on Mac OS X 10.5

Hi folks,
   I'm trying to compile tcl/tk on my mac.  tcl compiled and installed
with no problems.  tk fails with the following error:

/Users/adam/Downloads/tk8.5.7/unix/../generic/tk.h:23:3: error: #error
Tk 8.5 must be compiled with tcl.h from Tcl 8.5

I'm trying to compile in the macosx directory using:
./configure --enable-framework --disable-xft
make

Google pointed me to this post:
http://coding.derkeiler.com/Archive/Tcl/comp.lang.tcl/2008-12/msg00519.html
and in turn this wiki article:
http://wiki.tcl.tk/12987

but I had no luck trying the following:
./configure --enable-framework --disable-xft
--with-tcl=/Users/adam/Downloads/tcl8.5.7/macosx
make

and variations upon:
ln -fs /Users/adam/Downloads/tcl8.5.7/macosx/buildtcltk/
/Users/adam/Downloads/tk8.5.7/macosx/buildtcltk

So, can anyone tell me what I'm missing?

Thanks,
Adam

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 

Gmane