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@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
Any help would be greatly appreciated
Many thanks,
Wes
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their support.
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@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
¿Tu fondo de escritorio es aburrido? Anímalo con las imágenes más espectaculares
While trying to compile grass version 6.4.0RC3 I have come across a problem with locating Tcl.h. Here is my install command
$ 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
[..]
Better not to use _sudo_ for the configuration
How do I tell Grass where to find tcl.h?
Try adding _only_ the directory, e.g.:
--with-tcltk-includes="/usr/include/tcl8.4/"
---
Perhaps FYI, I use the following (for a 64-bit system):
CFLAGS="-g -Wall" LDFLAGS="-s" ./configure \
--enable-64bit \
--with-libs=/usr/lib64 \
--with-cxx \
--with-freetype=yes \
--with-freetype-includes="/usr/include/freetype2/" \
--with-postgres=no \
--with-sqlite=yes \
--enable-largefile=yes \
--with-tcltk-includes="/usr/include/tcl8.4/" \
--with-freetype-includes=/usr/include/freetype2 \
--with-opengl-libs=/usr/include/GL \
--with-readline \
--with-python=yes \
--with-proj-share=/usr/local/share/proj/ \
--with-wxwidgets \
--with-cairo \
--with-ffmpeg=yes --with-ffmpeg-includes="/usr/include/ffmpeg/"