[GRASS-dev] Re: [GRASS-user] Compiling GRASS 7.0 error with tcl.h

Glynn Clements glynn at gclements.plus.com
Sat Jul 16 05:23:21 EDT 2011


S. Koukoulas wrote:

> I am trying to compile GRASS 7 svn  (9Jul2011) snapshot on Ubuntu natty
> (11.04) but without any success.

> configure:10381: checking for tcl.h
> configure:10389: gcc -E /usr/include/tcl -I/usr/include/tcl8.5 
> conftest.c >/dev/null 2>conftest.out
> gcc: /usr/include/tcl: linker input file unused because linking not done

I suspect that TCLINCDIR is set in the environment; unset it.

For grass-dev:

We might want to change LOC_CHECK_INC_PATH (and similar) to explicitly
clear the variable, e.g.:

Index: aclocal.m4
===================================================================
--- aclocal.m4	(revision 47135)
+++ aclocal.m4	(working copy)
@@ -19,6 +19,7 @@
 esac
 AC_MSG_RESULT($with_$1_includes)
 
+$3=
 if test -n "$with_$1_includes" ; then
     for dir in $with_$1_includes; do
         if test -d "$dir"; then

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list