<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ccccff">
I am trying to compile GRASS 7 svn (9Jul2011) snapshot on Ubuntu
natty (11.04) but without any success.<br>
<br>
I followed the instructions from
<a class="moz-txt-link-freetext" href="http://grass.osgeo.org/wiki/Compile_and_Install#Platform_Specific_Notes">http://grass.osgeo.org/wiki/Compile_and_Install#Platform_Specific_Notes</a><br>
and I run configure as:<br>
<br>
./configure --with-tcltk-includes="/usr/include/tcl8.5"
--with-tcltk-libs="/usr/lib/tcl8.5"<br>
<br>
to get an error: <br>
checking whether to use Tcl/Tk... yes<br>
checking for location of Tcl/Tk includes... /usr/include/tcl8.5<br>
checking for tcl.h... no<br>
configure: error: *** Unable to locate Tcl includes.<br>
<br>
<b>But</b> the tcl includes are there! (/usr/include/tcl8.5)<br>
<br>
From config.log I read: <br>
configure:10335: checking whether to use Tcl/Tk<br>
configure:10355: checking for location of Tcl/Tk includes<br>
configure:10381: checking for tcl.h<br>
configure:10389: gcc -E /usr/include/tcl -I/usr/include/tcl8.5
conftest.c >/dev/null 2>conftest.out<br>
gcc: /usr/include/tcl: linker input file unused because linking not
done<br>
configure: failed program was:<br>
#line 10384 "configure"<br>
#include "confdefs.h"<br>
#include <tcl.h><br>
<br>
and I also have a tcl directory that links to tcl8.5...<br>
<br>
Any help?<br>
<br>
many thanks <br>
sotiris<br>
<br>
</body>
</html>