PostgreSQL
 sql >> Datenbank >  >> RDS >> PostgreSQL

Fehler beim Versuch, Postgis zum Erstellen von Erweiterungen auszuführen

UPDATE:Das TEAM hat gerade das RPM-Paket postgis.2.1.0-3 veröffentlicht, das das Problem löst:Jetzt ist die Erweiterung verfügbar:

/usr/pgsql-9.3/share/extension/postgis.control

AKTUALISIERUNG BEENDEN.[...]

Ich habe beschlossen, POSTGIS aus der Quelle zu kompilieren. Dies ist die Schritt-für-Schritt-Anleitung für CentOS 6.4 64bit:

wget http://download.osgeo.org/postgis/source/postgis-2.1.0.tar.gz
tar xvf postgis-2.1.0.tar.gz
cd postgis-2.1.0
./configure --with-pgconfig=/usr/pgsql-9.3/bin/pg_config --without-raster
make
make comments
make install
make install-comments
su - postgres 
cd /usr/pgsql-9.3/share/contrib/postgis-2.1/
psql -d postgres -f postgis.sql
psql -d postgres -f spatial_ref_sys.sql
psql -d postgres -f postgis_comments.sql
psql -d postgres -f topology.sql
psql -d postgres -f topology_comments.sql