[GRASSLIST:5429] grass5.0.1 and tcltk on macOSX

John Cartwright jccartwright at earthlink.net
Sat Feb 1 11:05:09 EST 2003


Hello All,

I'm trying to compile grass5.0.1 on macOS 10.2 and am having trouble with
the tk library.  Here's the relevant output form the compile statement:

checking whether to use Tcl/Tk... yes
checking for location of Tcl/Tk includes... /sw/include
checking for tcl.h... yes
checking for tk.h... yes
checking Tcl version... 8.3
checking Tk version... 8.3
checking for location of Tcl/Tk library...
checking for Tcl_Init in -ltcl... yes
checking for Tk_MainWindow in -ltk... no
checking for Tk_MainWindow in -ltk... no
checking for Tk_MainWindow in -ltk8.3... no
checking for Tk_MainWindow in -ltk8.3... no
checking for Tk_MainWindow in -ltk83... no
checking for Tk_MainWindow in -ltk83... no
configure: error: *** Unable to locate Tk library.

I used fink to install the three tcltk packages:
 i   tcltk            8.3.4-1      Tool Command Language and the Tk toolkit.
 i   tcltk-dev        8.3.4-1      Tool Command Language and the Tk toolkit.
 i   tcltk-shlibs     8.3.4-1      Tool Command Language and the Tk toolkit.

And indeed do see wish and the tk shared library (libtk8.3.dylib).

Can anyone suggest a way around this problem?

Thanks!

-- john


 




More information about the grass-user mailing list