[GRASSLIST:5434] Re: grass5.0.1 and tcltk on macOSX
Glynn Clements
glynn.clements at virgin.net
Sat Feb 1 13:28:36 EST 2003
John Cartwright wrote:
> 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?
If configure fails to detect a library which you know is installed,
check the config.log for error messages; the ones at the end of the
file are what's relevant.
The most common reason for such problems is that the library requires
some other library which isn't installed.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-user
mailing list