[GRASS-user] compile grass6.4 problem with tcl.h

Jhon Ortiz eljhonjhon at hotmail.com
Wed Feb 25 10:07:48 EST 2009



> From: wroberts at csir.co.za
> To: grass-user at lists.osgeo.org

> Dear Colleagues 
> 
> While trying to compile grass version 6.4.0RC3 I have come across a problem with locating Tcl.h. Here is my install command 
> 
> wroberts at wroberts-desktop:/usr/local/src/grass-6.4.0RC3$ sudo CFLAGS="-g -Wall" ./configure --with-cxx --with-postgres --with-mysql --with-sqlite --with-ffmpeg --with-odbc --with-blas --with-lapack --with-motif --with-cairo --with-freetype --with-glw --with-nls --with-readline --with-opendwg --with-python=/usr/bin/python2.5 --with-wxwidgets=/usr/bin/wx-config
> 
> here is the last of my output, just as the error occurs.
> 
> checking whether to use PNG... yes
> checking for location of PNG includes... 
> checking for png.h... yes
> checking for location of PNG library... 
> checking for png_read_image in -lpng... yes
> checking whether to use Tcl/Tk... yes
> checking for location of Tcl/Tk includes... 
> checking for tcl.h... no
> configure: error: *** Unable to locate Tcl includes.
> wroberts at wroberts-desktop:/usr/local/src/grass-6.4.0RC3$ 
> 
> tcl.h is located at the following location 
> /include/tcl8.4/tcl.h
> 
> How do I tell Grass where to find tcl.h?
> 
> I have tried adding the following to the above mentioned command but it does not seem to help.
> --with-tcl=/include/tcl8.4/tcl.h


Is  only configure the tcl8.4 path

Can you try adding   something like         -with-tcltk-includes=/usr/include/tcl8.4     (but check the "library tcl8.4" path in your computer)

> 
> Any help would be greatly appreciated
> 
> Many thanks,
> Wes
> 
> 


John Ortiz
Bioestratigraphic - Group - ICP
Bogotá - Colombia


_________________________________________________________________
Llévate Messenger en tu móvil allá donde vayas ¿A qué esperas?
http://serviciosmoviles.es.msn.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20090225/76ff97be/attachment.html


More information about the grass-user mailing list