[GRASS5] compiling probs grass51

Stephan Holl sholl at gmx.net
Fri Feb 14 14:51:44 EST 2003

At Fri, 14 Feb 2003 11:58:15 +0000 Glynn Clements wrote:

Hello Glynn,

> I suggest replacing the line:
> 	%type <node>	y_comparison, y_condition, y_attr, y_attr2, y_name,
> 	y_cnam
> with multiple lines:
> 	%type <node>	y_comparison
> 	%type <node>	y_condition
> 	%type <node>	y_attr
> 	%type <node>	y_attr2
> 	%type <node>	y_name
> 	%type <node>	y_cnam
that worked so far.

> Try removing those lines from include/sqlp.h; if that causes other
> things to break, then either yac.y/lex.l or sqlp.h (and code which
> uses it) should use other names for AND/OR/NOT.
After removing these lines no errors complainig about this things occur
anymore, but tcl.h and tk.h were not found by lib/form/open.c:

make[2]: Entering directory `/var/tmp/grasscvs/grass51/lib/form'
gcc -g -Wall  -Wall  -I/var/tmp/grasscvs/grass51/include
-I/usr/X11R6/include/ -I/usr/include/gr -I/usr/local/include
-I/usr/include  -I/usr/include/postgresql
-I/usr/include/postgresql/server  -I/var/tmp/grasscvs/grass51/include
-I/var/tmp/grasscvs/grass51/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/open.o -c open.c
open.c:5: tcl.h: No such file or directory
open.c:6: tk.h: No such file or directory
make[2]: *** [OBJ.i686-pc-linux-gnu/open.o] Fehler 1
make[2]: Leaving directory `/var/tmp/grasscvs/grass51/lib/form'
make[1]: *** [subdirs] Fehler 1
make[1]: Leaving directory `/var/tmp/grasscvs/grass51/lib'

they both are located under /usr/include/tcl8.3/

During configure they are found in there....
How can I solve this errors ?!
thanks for any help


Stephan Holl

GnuPG Key-ID: 11946A09
ICQ# 117277975 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20030214/6a41b8c4/attachment.bin

More information about the grass-dev mailing list