[postgis-users] Error [liblwgeom] Error 2

Jairo Sánchez jairosll at gmail.com
Wed Jan 18 14:38:30 PST 2006


Hello to all,
This is me frist time in the list, I hope you can help .

I'm trying to install PostGIS but I get the following error:

# make
make -C lwgeom
make[1]: execvp: /usr/local/pgsql/bin: Permiso denegado
make[1]: Entering directory `/home/sistemas2/postgresql-8.1.2
/contrib/postgis-1.1.0/lwgeom'
make[1]: execvp: /usr/local/pgsql/bin: Permiso denegado
make[1]: execvp: /usr/local/pgsql/bin: Permiso denegado
make[1]: execvp: /usr/local/pgsql/bin: Permiso denegado
make[1]: execvp: /usr/local/pgsql/bin: Permiso denegado
make[1]: execvp: /usr/local/pgsql/bin: Permiso denegado
gcc -Wall -g -O2 -fPIC -fexceptions -DUSE_GEOS
-I/usr/local/share/contrib//include     -c -o liblwgeom.o liblwgeom.c
In file included from liblwgeom.c:26:
lwgeom_pg.h:4:22: postgres.h: No existe el fichero o el directorio
lwgeom_pg.h:5:29: utils/geo_decls.h: No existe el fichero o el directorio
lwgeom_pg.h:6:18: fmgr.h: No existe el fichero o el directorio
In file included from liblwgeom.c:26:
lwgeom_pg.h:28: error: syntax error before "getGeometryOID"
lwgeom_pg.h:28: warning: type defaults to `int' in declaration of
`getGeometryOID'
.
.
.
liblwgeom.c: In function `trim_trailing_zeros':
liblwgeom.c:158: warning: implicit declaration of function `strchr'
liblwgeom.c:163: warning: implicit declaration of function `strlen'
make[1]: *** [liblwgeom.o] Error 1
make[1]: Leaving directory `/home/sistemas2/postgresql-8.1.2
/contrib/postgis-1.1.0/lwgeom'
make: *** [liblwgeom] Error 2

I don't know what to do, please help.

I have
OS Suse 9.3
Postgres 8.1.2
proj4 4.4.9
geos 2.2.1
PostGIS 1.1.0

Thanks.

JSLL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20060118/512c1e21/attachment.html>


More information about the postgis-users mailing list