[postgis-users] Trouble Installing PostGIS 1.5.2 on Enterprise Linux

Tom Liebert tom at tomliebert.com
Fri Oct 1 10:01:32 PDT 2010


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20101001/1d6235f3/attachment.html>


More information about the postgis-users mailing list