[GRASS5] compile problem...

Yann st027364 at ait.ac.th
Tue May 27 11:00:40 EDT 2003


Hello,
I had a complete cvs built made few days back, and grass51 was working
from it... now it is making some trouble around libpq-fe.h, any idea,
suggestion please.

Thank you
Yann

------------------------------------------------------------------

Mandrake 9.1, postgres, postgis, gdal, ogr, proj, freetype (all built
from source except freetype)

fresh cvs of Grass5.0 (cvs up -dP grass)
Grass built cleanly except for some non-critical g3d error

cvs up -dP grass51
make clean
Config command => ./configure --with-grass50=/home/yann/grass
--with-postgres-includes=/usr/local/pgsql/include --with-gdal
--with-proj --with-ogr --with-postgrass --with-postgis
--with-freetype-includes=/usr/include/freetype2
make mix
make result in:

make[2]: Entering directory `/home/yann/grass51/display/d.extract'
gcc -g -O2  -Wall  -I/home/yann/grass51/include
-I/home/yann/grass51/dist.i686-pc-linux-gnu/include   
-I/home/yann/grass51/include
-I/home/yann/grass51/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/extract.o -c extract.c
In file included from /home/yann/grass51/include/vect/digit.h:3,
                 from /home/yann/grass51/include/Vect.h:4,
                 from extract.c:8:
/home/yann/grass51/include/vect/dig_structs.h:22:22: libpq-fe.h: No such
file or directory
In file included from /home/yann/grass51/include/vect/digit.h:3,
                 from /home/yann/grass51/include/Vect.h:4,
                 from extract.c:8:
/home/yann/grass51/include/vect/dig_structs.h:184: parse error before
"PGconn"
/home/yann/grass51/include/vect/dig_structs.h:184: warning: no semicolon
at end of struct or union
/home/yann/grass51/include/vect/dig_structs.h:186: parse error before
'}' token
/home/yann/grass51/include/vect/dig_structs.h:204: field `post' has
incomplete type
/home/yann/grass51/include/vect/dig_structs.h:209: confused by earlier
errors, bailing out
make[2]: *** [OBJ.i686-pc-linux-gnu/extract.o] Error 1
make[2]: Leaving directory `/home/yann/grass51/display/d.extract'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/yann/grass51/display'
make: *** [default] Error 1


-------------------------------------




More information about the grass-dev mailing list