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

S. Koukoulas sotkouk at gmail.com
Wed Jul 13 11:53:14 EDT 2011


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...

Any help?

many thanks
sotiris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20110713/992b5056/attachment.html


More information about the grass-user mailing list