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

2009-05-28 Thread hardinej



Jhon Ortiz wrote:
 
 
 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)
 
 

Thanks Jhon Ortiz,
I was having the same problem and that worked for me.  Now I'm on top of the
world!
Eric
-- 
View this message in context: 
http://n2.nabble.com/compile-grass6.4-problem-with-tcl.h-tp2384047p2989479.html
Sent from the Grass - Users mailing list archive at Nabble.com.

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


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

2009-02-25 Thread Martin Landa
Hi,

2009/2/25 Wesley Roberts wrobe...@csir.co.za:

 --with-glw --with-nls --with-readline --with-opendwg 
 --with-python=/usr/bin/python2.5 --with-wxwidgets=/usr/bin/wx-config

not related, but anyway, --with-python should point to the config
script, not the binary, e.g.

--with-python=/usr/bin/python2.5-config

M.

-- 
Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


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

2009-02-25 Thread Jhon Ortiz


 From: wrobe...@csir.co.za
 To: grass-user@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 
 
 wrobe...@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.
 wrobe...@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/___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


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

2009-02-25 Thread Nikos Alexandris

Wesley:
 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/

Kind regards, Nikos

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user