[GRASS-user] Re: updating from GRASS from svn Unable to locate curses includes

Hamish hamish_b at yahoo.com
Tue Jun 10 23:35:51 EDT 2008


maning:
> Following the link
> http://svn.debian.org/wsvn/pkg-grass/packages/grass/trunk/debian/control?op=file
> I installed all dependencies from hardy's default repo.
> 
> The configure logs this tells me:
> configure:8436: checking whether to use Tcl/Tk
> configure:8456: checking for location of Tcl/Tk includes
> configure:8482: checking for tcl.h
> configure:8490: gcc -E   conftest.c >/dev/null
> 2>conftest.out
> configure:8486:17: error: tcl.h: No such file or directory
> 
> AFAIK, I installed tcl/tk 8.4 and dev

for debian/ubuntu ./configure look in the "rules" file:
http://svn.debian.org/wsvn/pkg-grass/packages/grass/trunk/debian/rules?op=file

from that you can put together that you need --with-tcltk-includes=


fwiw this is what I use on debian/etch:

renice +17 -p $$
CFLAGS="-ggdb -Wall -Werror-implicit-function-declaration" \
  ./configure \
    --with-tcltk-includes=/usr/include/tcl8.4 --with-cairo \
    --with-motif --with-python=/usr/bin/python2.4-config \
    --with-readline --with-cxx --with-odbc --with-sqlite \
    --with-freetype --with-freetype-includes=/usr/include/freetype2 \
    --without-postgres --with-proj-share=/usr/share/proj \
    --with-ffmpeg --with-ffmpeg-includes=/usr/include/ffmpeg \
    2>&1 | tee config_log.txt
make


using the .deb buildpackage tools is probably much much easier. I do it by hand because I'm recompiling little bits of the code lots.

these instructions should help:
http://grass.osgeo.org/wiki/Compile_and_Install#Platform_Specific_Notes


one thing there I don't understand: it recommends to do:
  CFLAGS="-g" LDFLAGS="-s" ./configure

-g adds debugging hooks, but -s strips away debug messages.  ???
(to quote tom waits: the large print giveth and the small print taketh away)


Hamish




      



More information about the grass-user mailing list