[postgis-users] error compling postgis fron cvs on win32

TECHER Jean David davidtecher at yahoo.fr
Mon Oct 25 03:16:03 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-declaratio
ns -g -fexceptions -I. -DFRONTEND -DSYSCONFDIR='"/c/PostgreSQLWin32/etc/post
gresql"'  -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.0.0"' -DPOSTGIS_SCRIPTS
_VERSION='"0.1.0"' -I/c/PostgreSQLWin32/include -DUSE_GEOS -I/c/PostgreSQLWi
n32/include -DUSE_PROJ  -DUSE_STATS  -I/home/postgresql-8.0.0beta3/contrib/p
ostgis-cvs/../../src/include -I./src/include/port/win32 -DEXEC_BACKEND
"-I/home/postgresql-8.0.0beta3/contrib/postgis-cvs/../../src/include/port/wi
n32"  -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

that's not the first tiles i got this error? strange?


Any Idea ???

----------------------------------------------------------------
TECHER Jean David
Responsable Informatique 01MAP
e-mail: davidtecher at yahoo.fr
site: http://techer.pascal.free.fr/postgis/
------------------------------------------------------------
----------------------------------------------------------------
TECHER Jean David
Responsable Informatique 01MAP
e-mail: davidtecher at yahoo.fr
site: http://techer.pascal.free.fr/postgis/
------------------------------------------------------------





More information about the postgis-users mailing list