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: <strong style="font-weight: normal;">Geos-3.2.2, </strong><strong style="font-weight: normal;">Proj-4.7.0, GDAL/OGR </strong><strong style="font-weight: normal;">1.7.2 (!)</strong>, <strong style="font-weight: normal;">libxml2-2.7.6 and everything seems to go well during my configure:<br>
//----------------<br></strong><pre class="wiki">./configure --with-pgconfig=/usr/bin/pg_config \<br>--with-xml2config=/usr/local/src/libxml2-2.7.6/xml2-config \<br>--with-proj \<br>--with-geosconfig=/usr/local/bin/geos-config \<br>
--with-pgsql</pre><strong style="font-weight: normal;">//----------------</strong><br>The make results:<br><strong style="font-weight: normal;">//----------------</strong><br><font size="1">PostGIS was built successfully. Ready to install.</font><br>
<strong style="font-weight: normal;">//----------------<br>But make install isn't as neat:<br></strong><strong style="font-weight: normal;">//----------------</strong><br><font size="1">/bin/sh /usr/lib64/pgsql/pgxs/src/makefiles/../../config/install-sh -c shp2pgsql /usr/bin<br>
make[1]: Leaving directory `/usr/local/src/postgis-1.5.2/loader'<br></font><strong style="font-weight: normal;">//----------------<br>And, my resulting attempts to create a PostGIS database do not succeed.  Here's my commands:<br>
</strong><pre class="wiki">#login as postgres<br>sudo su postgres<br>#create database stuff<br>createdb example_db<br>createlang plpgsql example_db<br>psql -d example_db -f /usr/share/pgsql/contrib/postgis-1.5/postgis.sql<br>
psql -d example_db -f /usr/share/pgsql/contrib/postgis-1.5/spatial_ref_sys.sql<br>#logout of postgres user<br>exit<br></pre>Anyone have advice on what to look for in a successful install?<br>