RE: [GRASS5] Tcl/Tk config on Linux??

seems the "--x-includes=" flag isn't working properly; made a symlink from /usr/include/X11 -> /usr/X11R6/include/X11 and it gets past this step.

thanks for the tip!
Chris

-----Original Message-----
From: Glynn Clements [mailto:glynn.clements@virgin.net]
Sent: Thu 4/22/2004 11:57 PM
To: Chris G. Nicholas
Cc: grass5@grass.itc.it
Subject: Re: [GRASS5] Tcl/Tk config on Linux??

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>

Chris G. Nicholas wrote:

seems the "--x-includes=" flag isn't working properly; made a symlink
from /usr/include/X11 -> /usr/X11R6/include/X11 and it gets past this
step.

That shouldn't be necessary. If I delete the /usr/include/X11 symlink,
the tk.h checks still work.

However, the (optional) GLw checks do appear to rely upon it.

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