After update to Mountain Lion, I tried install 1.8.7, and I got error. X11 file not found, I installed Xquarkz, but nothing changed. Whats wrong?
Fail to fi
Even after the X11 fix I was getting this compile error.
compiling stubs.c
In file included from stubs.c:16:
/usr/include/tk.h:23:3: error: #error Tk 8.5 must be compiled with tcl.h from Tcl 8.5
make[2]: *** [stubs.o] Error 1
make[1]: *** [ext/tk/all] Error 2
make: *** [build-ext] Error 2
After much head scratching I noticed this line in the make output.
Use ActiveTcl libraries (if available).
Turns out I had ActiveTcl 8.4 installed installed years ago, but it was picking up tk.h from /usr/include which is version 8.5.
I couldn't figure out how to safely uninstall ActiveTcl and the ActiveTcl uninstall instructions weren't correct, but I did install ActiveTcl 8.5 and that worked around the issue. ActiveTcl Download here.
Frustrating. Anyway hope this helps someone else.