[GRASSLIST:2433] Re: Grass5pre2. Compilation problem on RedHat 7.1
Markus Neteler
neteler at itc.it
Mon Sep 17 08:52:55 EDT 2001
Hi Daniel,
On Mon, Sep 17, 2001 at 09:04:38AM +0200, Daniel Tourde wrote:
> Hi!
>
> I have tried to compile Grass5pre 2 on my RedHat7.1 box (Intel) without
> success. I have the following error message:
>
> + cd src.garden/grass.postgresql
> + /usr/local/bin/gmake5
> SRC = /usr/src/redhat/BUILD/grass5.0.0pre2/src
> CMD = /usr/src/redhat/BUILD/grass5.0.0pre2/src/CMD
> UNUSED = /usr/src/redhat/BUILD/grass5.0.0pre2/unused
> HEADER = head.i686-pc-linux-gnu
> ARCH = i686-pc-linux-gnu
> GISBASE = /usr/src/redhat/BUILD/grass5.0.0pre2/dist.i686-pc-linux-gnu
> VERSION = 5.0.0pre2 September 2001
> #################################################################
> /usr/src/redhat/BUILD/grass5.0.0pre2/src.garden/grass.postgresql
> mkdir OBJ.i686-pc-linux-gnu
> make -f OBJ.i686-pc-linux-gnu/make.rules
>
> /usr/local/bin/gmake5 d.rast.pg
> SRC = /usr/src/redhat/BUILD/grass5.0.0pre2/src
> CMD = /usr/src/redhat/BUILD/grass5.0.0pre2/src/CMD
> UNUSED = /usr/src/redhat/BUILD/grass5.0.0pre2/unused
> HEADER = head.i686-pc-linux-gnu
> ARCH = i686-pc-linux-gnu
> GISBASE = /usr/src/redhat/BUILD/grass5.0.0pre2/dist.i686-pc-linux-gnu
> VERSION = 5.0.0pre2 September 2001
> #################################################################
> /usr/src/redhat/BUILD/grass5.0.0pre2/src.garden/grass.postgresql/d.rast.pg
> mkdir OBJ.i686-pc-linux-gnu
> make -f OBJ.i686-pc-linux-gnu/make.rules
>
> make[1]: Entering directory
> `/usr/src/redhat/BUILD/grass5.0.0pre2/src.garden/gra
> ss.postgresql/d.rast.pg'
> gcc -g -O2 -I/usr/src/redhat/BUILD/grass5.0.0pre2/src/include -c
> main.c -o OB
> J.i686-pc-linux-gnu/main.o
> gcc -g -O2 -I/usr/src/redhat/BUILD/grass5.0.0pre2/src/include -c
> getAllOpts.c
> -o OBJ.i686-pc-linux-gnu/getAllOpts.o
> gcc -g -O2 -I/usr/src/redhat/BUILD/grass5.0.0pre2/src/include -c
> getSopts.c -
> o OBJ.i686-pc-linux-gnu/getSopts.o
> gcc -g -O2 -I/usr/src/redhat/BUILD/grass5.0.0pre2/src/include -c
> buildInfxQry
> .c -o OBJ.i686-pc-linux-gnu/buildInfxQry.o
> gcc -g -O2 -I/usr/src/redhat/BUILD/grass5.0.0pre2/src/include -c
> runInfxFile.
> c -o OBJ.i686-pc-linux-gnu/runInfxFile.o
> runInfxFile.c:6:22: libpq-fe.h: No such file or directory
^^^^^^^^^^^^^^^^
This is a file from PostgreSQL. You will have received a PostgreSQL
warning from "configure" that libpq-fe.h is missing. After completely
installing the PostgreSQL header files you will be able to
compile.
Hope this helps,
Markus Neteler
More information about the grass-user
mailing list