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

Markus Neteler neteler at osgeo.org
Fri Jul 15 12:59:50 EDT 2011


On Wed, Jul 13, 2011 at 5:53 PM, S. Koukoulas <sotkouk at gmail.com> wrote:
> I am trying to compile GRASS 7 svn  (9Jul2011) snapshot on Ubuntu natty
> (11.04) but without any success.
>
> I followed the instructions from
> http://grass.osgeo.org/wiki/Compile_and_Install#Platform_Specific_Notes
> and I run configure as:
>
> ./configure --with-tcltk-includes="/usr/include/tcl8.5"
> --with-tcltk-libs="/usr/lib/tcl8.5"
>
> to get an error:
> checking whether to use Tcl/Tk... yes
> checking for location of Tcl/Tk includes... /usr/include/tcl8.5
> checking for tcl.h... no
> configure: error: *** Unable to locate Tcl includes.
>
> But the tcl includes are there! (/usr/include/tcl8.5)
>
> From config.log I read:
> configure:10335: checking whether to use Tcl/Tk
> configure:10355: checking for location of Tcl/Tk includes
> 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
> configure: failed program was:
> #line 10384 "configure"
> #include "confdefs.h"
> #include <tcl.h>
>
> and  I also have a tcl directory that links to tcl8.5...

Perhaps it works out of the box when not indicating tcl includes and libs?
Did you try that?

Markus


More information about the grass-user mailing list