[GRASS5] trouble copiling 5.1

Moritz Lennert mlennert at club.worldonline.be
Thu Nov 28 09:35:30 EST 2002


Glynn Clements wrote:
> Moritz Lennert wrote:
> 
> 
>>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
> 
> 
> It appears that vector/v.digit/Makefile needs:
> 
> 	EXTRA_CFLAGS = $(TCLINCDIR) $(TKINCDIR)
> 

Now I get:

make[2]: *** No rule to make target `settings.tcl', needed by 
`/home/mlennert/SRC/grass51/dist.i686-pc-linux-gnu/etc/v.digit/settings.tcl'. 
  Stop.

I actually don't have a settings.tcl, nor the incons directory also 
mentioned in the Makefile. Is this a a problem in the 
vector/v.digit/Makefile, or am I missing files (cvs update does not get 
anything else) ?

Moritz







More information about the grass-dev mailing list