[GRASS5] Some strange tcl.h not found error (Redhat 8)

Thierry Laronde tlaronde at polynum.com
Fri Oct 10 16:16:47 EDT 2003


On Fri, Oct 10, 2003 at 04:12:52PM +0200, Markus Neteler wrote:
> > > configure:9562: gcc -E  -I/usr/include  conftest.c >/dev/null 2>conftest.out
> > > configure: failed program was:
> > > #line 9557 "configure"
> > > #include "confdefs.h"
> > > #include <tcl.h>
> 
> I generated the file conftest.c as written above and run:
>   gcc -v -E  -I/usr/include  conftest.c
> 
> It seems to works, no error message. Mhhh.

Since the test of autoconf consists only to test whether or not there 
is some line not beginning with spaces or '+' and not beginning by
the name of the game :

ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then

It might be that there is an error message (or a warning) not related
to a failure to find tcl.h but that defines ac_err as not empty and
hence the test fails.

Does the preprocessing of the file go without *any* warning or error
message?
-- 
Thierry Laronde (Alceste) <tlaronde at polynum.org>
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C




More information about the grass-dev mailing list