[Mapserver-DE] PostGIs unter Suse9
JJWag
jj.wag at gmx.de
Mon Sep 6 16:47:33 CEST 2004
Hallo Liste,
ich versuche PostGIS auf folgendem System zu installieren und bin kurz vorm
Infarkt:
- SUSE 9.0
-POSTGRE 7.4.5
-POSTGIS 0.8.2
POSTGRE wurde im Verzeichnis "/usr/local/pgsql" installiert und läuft.
Im Makefile von PostGIS habe ich die Variablen für USE_PROJ und USE_GEOS auf
0 gesetzt, da ich beide Libraries nicht installiert habe.
beim Ausführen von gmake zum Übersetzen des Quelltextes von PostGIS kommt es
zu folgenden Fehlermeldungen:
axel:~/postgresql/contrib/postgis # gmake
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -g -fexceptions -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"' -D
USE_VERSION=74 -DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE -c -o
postgis_debug.o postgis_debug.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -g -fexceptions -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"' -D
USE_VERSION=74 -DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE -c -o
postgis_ops.o postgis_ops.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -g -fexceptions -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"' -D
USE_VERSION=74 -DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE -c -o
postgis_fn.o postgis_fn.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -g -fexceptions -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"' -D
USE_VERSION=74 -DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE -c -o
postgis_inout.o postgis_inout.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -g -fexceptions -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"' -D
USE_VERSION=74 -DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE -c -o
postgis_proj.o postgis_proj.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -g -fexceptions -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"' -D
USE_VERSION=74 -DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE -c -o
postgis_chip.o postgis_chip.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -g -fexceptions -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"' -D
USE_VERSION=74 -DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE -c -o
postgis_transform.o postgis_transform.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -g -fexceptions -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"' -D
USE_VERSION=74 -DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE -c -o
postgis_gist_72.o postgis_gist_72.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -g -fexceptions -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"' -D
USE_VERSION=74 -DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE -c -o
postgis_estimate.o postgis_estimate.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -g -fexceptions -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"' -D
USE_VERSION=74 -DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE -c -o
postgis_geos.o postgis_geos.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -g -fexceptions -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"' -D
USE_VERSION=74 -DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE -c -o
postgis_algo.o postgis_algo.c
ar crs libpostgis.a postgis_debug.o postgis_ops.o postgis_fn.o
postgis_inout.o postgis_proj.o postgis_chip.o postgis_transform.o
postgis_gist_72.o postgis_estimate.o postgis_geos.o postgis_algo.o
ranlib libpostgis.a
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -g -fexceptions -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"' -D
USE_VERSION=74 -DUSE_STATS -fpic -shared -Wl,-soname,libpostgis.so.0
postgis_debug.o postgis_ops.o postgis_fn.o postgis_inout.o postgis_proj.o
postgis_chip.o postgis_transform.o postgis_gist_72.o postgis_estimate.o
postgis_geos.o
stgis_algo.o -L../../src/port -L../../src/port -Wl,-rpath,/usr/local/pgsq
l/lib -o libpostgis.so.0.8
rm -f libpostgis.so.0
ln -s libpostgis.so.0.8 libpostgis.so.0
rm -f libpostgis.so
ln -s libpostgis.so.0.8 libpostgis.so
cpp -P -traditional-cpp -DUSE_VERSION=74 postgis.sql.in | sed -e
's:@MODULE_FILENAME@:\$libdir/libpostgis.so.0.8:g;s:@POSTGIS_VERSION@:0.8
USE_GEOS=0 USE_PROJ=0 USE_STATS=1:g' > postgis.sql
perl create_undef.pl postgis.sql 74 > postgis_undef.sql
gmake -C loader
gmake[1]: Entering directory
`/root/juergen/postgresql/contrib/postgis/loader'
gcc -g -I.. -I. -I../../../src/interfaces/libpq -O2 -fno-strict-aliasing -Wa
ll -Wmissing-prototypes -Wmissing-declarations -DFRONTEND -DSYSCONFDIR='"/us
r/local/pgsql/etc"' -DUSE_VERSION=73 -I../../../src/include -D_GNU_SOURCE
-c -o shpopen.o shpopen.c
shpopen.c:176: warning: `rcsid' defined but not used
gcc -g -I.. -I. -I../../../src/interfaces/libpq -O2 -fno-strict-aliasing -Wa
ll -Wmissing-prototypes -Wmissing-declarations -DFRONTEND -DSYSCONFDIR='"/us
r/local/pgsql/etc"' -DUSE_VERSION=73 -I../../../src/include -D_GNU_SOURCE
-c -o dbfopen.o dbfopen.c
dbfopen.c:200: warning: `rcsid' defined but not used
gcc -g -I.. -I. -I../../../src/interfaces/libpq -O2 -fno-strict-aliasing -Wa
ll -Wmissing-prototypes -Wmissing-declarations -DFRONTEND -DSYSCONFDIR='"/us
r/local/pgsql/etc"' -DUSE_VERSION=73 -I../../../src/include -D_GNU_SOURCE
-c -o getopt.o getopt.c
gcc -g -I.. -I. -I../../../src/interfaces/libpq -O2 -fno-strict-aliasing -Wa
ll -Wmissing-prototypes -Wmissing-declarations -DFRONTEND -DSYSCONFDIR='"/us
r/local/pgsql/etc"' -DUSE_VERSION=73 -I../../../src/include -D_GNU_SOURCE
-c -o shp2pgsql.o shp2pgsql.c
gcc -g -I.. -I. -I../../../src/interfaces/libpq -O2 -fno-strict-aliasing -Wa
ll -Wmissing-prototypes -Wmissing-declarations -DFRONTEND -DSYSCONFDIR='"/us
r/local/pgsql/etc"' -DUSE_VERSION=73 shpopen.o dbfopen.o getopt.o
shp2pgsql.o -L../../../src/port -Wl,-rpath,/usr/local/pgsql/lib -o
shp2pgsql
gcc -g -I.. -I. -I../../../src/interfaces/libpq -O2 -fno-strict-aliasing -Wa
ll -Wmissing-prototypes -Wmissing-declarations -DFRONTEND -DSYSCONFDIR='"/us
r/local/pgsql/etc"' -DUSE_VERSION=73 -I../../../src/include -D_GNU_SOURCE
-c -o pgsql2shp.o pgsql2shp.c
gcc -g -I.. -I. -I../../../src/interfaces/libpq -O2 -fno-strict-aliasing -Wa
ll -Wmissing-prototypes -Wmissing-declarations -DFRONTEND -DSYSCONFDIR='"/us
r/local/pgsql/etc"' -DUSE_VERSION=73 shpopen.o dbfopen.o getopt.o
pgsql2shp.o -L../../../src/interfaces/libpq -lpq -L../../../src/port -Wl,-r
path,/usr/local/pgsql/lib -o pgsql2shp
gmake[1]: Leaving directory `/root/postgresql/contrib/postgis/loader'
Was mach ich falsch?
Hat jemand Erfahrungen mit meiner Konfiguration gemacht? Welche Pakete
benötige ich für eine reibungslose Installation unter Suse 9.0?
Danke + Gruß
Jochen Wagner
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)