[GRASS5] compiling probs grass51
Stephan Holl
sholl at gmx.net
Fri Feb 14 05:56:38 EST 2003
gcc -g -Wall -Wall -I/var/tmp/grasscvs/grass51/include
-I/var/tmp/grasscvs/grass51/dist.i686-pc-linux-gnu/include
-I/var/tmp/grasscvs/grass51/include
-I/var/tmp/grasscvs/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/server -I/var/tmp/grasscvs/grass51/include
-I/var/tmp/grasscvs/grass51/dist.i686-pc-linux-gnu/include \
-o OBJ.i686-pc-linux-gnu/sql.o -c sql.c
bison -y -d -v yac.y
yac.y:42.26: invalid character: `,'
yac.y:42.39: invalid character: `,'
yac.y:42.47: invalid character: `,'
yac.y:42.56: invalid character: `,'
yac.y:42.64: invalid character: `,'
flex lex.l
gcc -g -Wall -Wall -I/var/tmp/grasscvs/grass51/include
-I/var/tmp/grasscvs/grass51/dist.i686-pc-linux-gnu/include
-I/var/tmp/grasscvs/grass51/include
-I/var/tmp/grasscvs/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/server -I/var/tmp/grasscvs/grass51/include
-I/var/tmp/grasscvs/grass51/dist.i686-pc-linux-gnu/include \
-o OBJ.i686-pc-linux-gnu/lex.yy.o -c lex.yy.c
In file included from lex.l:25:
y.tab.h:78: warning: `AND' redefined
/var/tmp/grasscvs/grass51/include/sqlp.h:5: warning: this is the
location of the previous definition
Dear developers,
I would like to try the experimental grass51-tree from CVS, but ran into
trouble during compiling.
perhaps anybody can give me a hint what went wrong.
did a fresh cvs up -dP -r HEAD this morning and configured as follow on
debian unstable
CFLAGS="-g -Wall" ./configure --with-readline
--with-tcltk-includes=/usr/include/tcl8.3/
'--with-postgres-includes=/usr/include/postgresql
/usr/include/postgresql/server'
--with-freetype
--with-freetype-includes=/usr/X11R6/include/freetype2
--with-freetype-libs=/usr/X11R6/lib
--with-gd-libs=/usr/lib
--with-gd-includes=/usr/include
--with-png-libs=/usr/lib
--with-png-includes=/usr/include
--with-grass50=/var/tmp/grasscvs/grass
--with-dbm
--with-dbm-includes=/usr/include
--with-dbm-libs=/usr/lib
--with-gdal=/usr/local/bin/gdal-config
[errors]
gcc -g -Wall -Wall -I/var/tmp/grasscvs/grass51/include
-I/var/tmp/grasscvs/grass51/dist.i686-pc-linux-gnu/include
-I/var/tmp/grasscvs/grass51/include
-I/var/tmp/grasscvs/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/server -I/var/tmp/grasscvs/grass51/include
-I/var/tmp/grasscvs/grass51/dist.i686-pc-linux-gnu/include \
-o OBJ.i686-pc-linux-gnu/sql.o -c sql.c
bison -y -d -v yac.y
yac.y:42.26: invalid character: `,'
yac.y:42.39: invalid character: `,'
yac.y:42.47: invalid character: `,'
yac.y:42.56: invalid character: `,'
yac.y:42.64: invalid character: `,'
flex lex.l
gcc -g -Wall -Wall -I/var/tmp/grasscvs/grass51/include
-I/var/tmp/grasscvs/grass51/dist.i686-pc-linux-gnu/include
-I/var/tmp/grasscvs/grass51/include
-I/var/tmp/grasscvs/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/server -I/var/tmp/grasscvs/grass51/include
-I/var/tmp/grasscvs/grass51/dist.i686-pc-linux-gnu/include \
-o OBJ.i686-pc-linux-gnu/lex.yy.o -c lex.yy.c
In file included from lex.l:25:
y.tab.h:78: warning: `AND' redefined
/var/tmp/grasscvs/grass51/include/sqlp.h:5: warning: this is the
location of the previous definition
y.tab.h:79: warning: `OR' redefined
/var/tmp/grasscvs/grass51/include/sqlp.h:6: warning: this is the
location of the previous definition
y.tab.h:80: warning: `NOT' redefined
/var/tmp/grasscvs/grass51/include/sqlp.h:7: warning: this is the
location of the previous definition
In file included from lex.l:25:
y.tab.h:50: parse error before `2'
/var/tmp/grasscvs/grass51/include/sqlp.h:145: warning: `newNode'
declared `static' but never defined
make[3]: *** [OBJ.i686-pc-linux-gnu/lex.yy.o] Error 1
make[3]: Leaving directory `/var/tmp/grasscvs/grass51/lib/db/sqlp'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/grasscvs/grass51/lib/db'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/var/tmp/grasscvs/grass51/lib'
make: *** [default] Error 1
steph at kermit:/var/tmp/grasscvs/grass51 >
thanks for your help
Stephan
--
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/f3877244/attachment.bin
More information about the grass-dev
mailing list