[GRASS5] trouble copiling 5.1

Moritz Lennert mlennert at club.worldonline.be
Thu Nov 28 05:28:05 EST 2002


Hi all,

I have trouble compiling 5.1. It fails with

make[2]: Entering directory `/home/mlennert/SRC/grass51/vector/v.digit'
gcc -g -Wall   -I/home/mlennert/SRC/grass51/include -I/home/mlennert/SRC/grass51/dist.i686-pc-linux-gnu/include   -I/home/mlennert/SRC/grass51/include -I/home/mlennert/SRC/grass51/dist.i686-pc-linux-gnu/include -I/usr/X11R6/include/ -I/usr/include/gr -I/usr/local/include -I/usr/include  -I/usr/include/postgresql -I/usr/include/postgresql/internal  -I/home/mlennert/SRC/grass51/include -I/home/mlennert/SRC/grass51/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/c_face.o -c c_face.c
c_face.c:4: tcl.h: No such file or directory
c_face.c:5: tk.h: No such file or directory
In file included from c_face.c:8:
global.h:1: tcl.h: No such file or directory
global.h:2: tk.h: No such file or directory
make[2]: *** [OBJ.i686-pc-linux-gnu/c_face.o] Error 1
make[2]: Leaving directory `/home/mlennert/SRC/grass51/vector/v.digit'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/mlennert/SRC/grass51/vector'
make: *** [default] Error 1


I use the config command:

CFLAGS="-g -Wall" ./configure --with-grass50=/home/mlennert/SRC/grass50 --with-tcltk-includes=/usr/include/tcl8.3 --with-postgres-includes="/usr/include/postgresql /usr/include/postgresql/internal"

and the configure seems to work well:

checking whether to use Tcl/Tk... yes
checking for location of Tcl/Tk includes... /usr/include/tcl8.3
checking for tcl.h... yes
checking for tk.h... yes
checking Tcl version... 8.3
checking Tk version... 8.3
checking for location of Tcl/Tk library... 
checking for Tcl_Init in -ltcl... no
checking for Tcl_Init in -ltcl... no
checking for Tcl_Init in -ltcl8.3... yes
checking for Tk_MainWindow in -ltk... no
checking for Tk_MainWindow in -ltk... no
checking for Tk_MainWindow in -ltk8.3... yes

Can someone help me ?

Moritz




More information about the grass-dev mailing list