[GRASS5] Tcl/Tk config on Linux??

greetings - I did a fresh CVS checkout of the grass sources, and am trying to *just* get past the "configure" script :frowning:

I downloaded/built the Tck/Tk source packages, "cd unix; configure;make; makeinstall" -- no problems. Everything appears to have installed just fine in /usr/local .

But I keep getting "Unable to locate Tk includes"... :frowning:

And the #$%^ing include files are there!!

Before mercilessly hacking the configure script, thought I should ask this alias...

ideas/suggestions welcomed!
thanks!
Chris

-------------------------------------------------

./configure --with-tcltk-includes=/usr/local/include
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
...
...(blah..blah...)
...
checking for location of Tcl/Tk includes... /usr/local/include
checking for tcl.h... yes
checking for tk.h... no
configure: error: *** Unable to locate Tk includes.
[root@gateway2earth grass]

[root@gateway2earth grass]% ls /usr/local/include/*tk*
/usr/local/include/tkDecls.h /usr/local/include/tk.h /usr/local/include/tkPlatDecls.h
[root@gateway2earth grass]%

Chris G. Nicholas wrote:

greetings - I did a fresh CVS checkout of the grass sources, and am
trying to *just* get past the "configure" script :frowning:

I downloaded/built the Tck/Tk source packages, "cd unix;
configure;make; makeinstall" -- no problems. Everything appears to
have installed just fine in /usr/local .

But I keep getting "Unable to locate Tk includes"... :frowning:

And the #$%^ing include files are there!!

Look for relevant entries in the config.log file. Something in there
should indicate why the check failed.

Note that header checks don't simply check for the existence of a
named file. They attempt to compile (or, to be precise, preprocess) a
C file which includes that header. If the compilation generates any
output (including warnings), the check fails.

--
Glynn Clements <glynn.clements@virgin.net>