[postgis-users] error compiling postgis on win32

TECHER Jean David davidtecher at yahoo.fr
Mon Oct 25 03:05:59 PDT 2004


Hi 

I tried to compil postgis from cvs with postgresql 8.0.0 beta 3 - geos 2.0.0  and proj 4.4.8

I got this error

$ make
make -C lwgeom
make[1]: Entering directory `/home/postgresql-8.0.0beta3/contrib/postgis-cvs/lwgeom'
../geos_version.sh /c/PostgreSQLWin32 > postgis_geos_version.h
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -g -fexceptions -I. -DFRONTEND -DSYSCONFDIR='"/c/PostgreSQLWin32/etc/postgresql"'  -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.0.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.1.0"' -I/c/PostgreSQLWin32/include -DUSE_GEOS -I/c/PostgreSQLWin32/include -DUSE_PROJ  -DUSE_STATS  -I/home/postgresql-8.0.0beta3/contrib/postgis-cvs/../../src/include -I./src/include/port/win32 -DEXEC_BACKEND  "-I/home/postgresql-8.0.0beta3/contrib/postgis-cvs/../../src/include/port/win32"  -c -o wktunparse.o wktunparse.c
wktunparse.c:18:30: netinet/in_systm.h: No such file or directory
wktunparse.c:19:24: netinet/ip.h: No such file or directory
wktunparse.c: In function `getMachineEndian':
wktunparse.c:31: `LITTLE_ENDIAN' undeclared (first use in this function)
wktunparse.c:31: (Each undeclared identifier is reported only once
wktunparse.c:31: for each function it appears in.)
wktunparse.c:35: `BIG_ENDIAN' undeclared (first use in this function)
wktunparse.c: In function `unparse_WKB':
wktunparse.c:544: `LITTLE_ENDIAN' undeclared (first use in this function)
make[1]: *** [wktunparse.o] Error 1
make[1]: Leaving directory `/home/postgresql-8.0.0beta3/contrib/postgis-cvs/lwgeom'
make: *** [liblwgeom] Error 2

Any Idea ???

----------------------------------------------------------------
TECHER Jean David
Responsable Informatique 01MAP
e-mail: davidtecher at yahoo.fr
site: http://techer.pascal.free.fr/postgis/
------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20041025/5350c753/attachment.html>


More information about the postgis-users mailing list