I've got some experience installing PostGIS on Postgres 8.4 running on Ubuntu Linux, but am running into issues on CentOS 5.5. I've got all dependencies installed: *Geos-3.2.2, **Proj-4.7.0, GDAL/OGR **1.7.2 (!)*, *libxml2-2.7.6 and everything seems to go well during my configure: //---------------- *
./configure --with-pgconfig=/usr/bin/pg_config \ --with-xml2config=/usr/local/src/libxml2-2.7.6/xml2-config \ --with-proj \ --with-geosconfig=/usr/local/bin/geos-config \ --with-pgsql *//----------------* The make results: *//----------------* PostGIS was built successfully. Ready to install. *//---------------- But make install isn't as neat: **//----------------* /bin/sh /usr/lib64/pgsql/pgxs/src/makefiles/../../config/install-sh -c shp2pgsql /usr/bin make[1]: Leaving directory `/usr/local/src/postgis-1.5.2/loader' *//---------------- And, my resulting attempts to create a PostGIS database do not succeed. Here's my commands: * #login as postgres sudo su postgres #create database stuff createdb example_db createlang plpgsql example_db psql -d example_db -f /usr/share/pgsql/contrib/postgis-1.5/postgis.sql psql -d example_db -f /usr/share/pgsql/contrib/postgis-1.5/spatial_ref_sys.sql #logout of postgres user exit Anyone have advice on what to look for in a successful install?
_______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
