[postgis-users] Re: Postgis 1.1.2 installation problems on Redhat 9

strk at refractions.net strk at refractions.net
Thu May 18 01:48:16 PDT 2006


On Thu, May 18, 2006 at 10:20:04AM +0200, Johan V wrote:
> OK, i again installed the geos 1.0 rpm package (see previous mail on
> geos mailinglist) and did th export LANG=C and i get the following for
> the configure output:
> 
> [root at 192 postgis]# ./configure

>    GEOS: /usr/bin/geos-config
...
> [root at 192 postgis]# make
> make -C lwgeom
> make[1]: Entering directory
> `/home/postgis/postgresql-8.0.6/contrib/postgis/lwgeom'
> sh ../geos_version.sh /usr > postgis_geos_version.h
> g++ -I/usr/include  -Wall -g -O2 -fPIC -fexceptions -DUSE_GEOS   -c -o
> lwgeom_geos_wrapper.o lwgeom_geos_wrapper.cpp
> lwgeom_geos_wrapper.cpp:11:23: error: geos/geom.h: No such file or directory

Can you find geos/geom.h ?
If geos-config is in /usr/bin I assume geos/geom.h to be
/usr/include/geos/geom.h
but in your case this doesn't seem to be the case
(se -I /usr/include compiler switch).

--strk;




More information about the postgis-users mailing list