From: Regina Obe Date: Fri, 22 Aug 2008 17:13:01 +0000 (+0000) Subject: Some changes based on Mark's comments. X-Git-Tag: 1.4.0b1~776 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b58533974e2ab7099adb677637be1c0324613a8;p=postgis Some changes based on Mark's comments. git-svn-id: http://svn.osgeo.org/postgis/trunk@2927 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/installation.xml b/doc/installation.xml index e1b23421d..489a871dd 100644 --- a/doc/installation.xml +++ b/doc/installation.xml @@ -66,6 +66,10 @@ PostGIS &last_release_version; can be built against PostgreSQL versions 8.1.0 or higher. Earlier versions of PostgreSQL are not supported. + + Many OS systems now include pre-built packages for PostgreSQL/PostGIS. In many + cases compilation is only necessary if you won't the most bleeding edge versions. + Compiling and Installing from Source @@ -75,7 +79,7 @@ compile and install the PostgreSQL package. - If you plan to use GEOS functionality you might need to + For GEOS functionality you might need to explicitly link PostgreSQL against the standard C++ library: LDFLAGS=-lstdc++ ./configure [YOUR OPTIONS HERE] @@ -85,21 +89,22 @@ unexpectedly closed or similar things) try this trick. This will require recompiling your PostgreSQL from scratch, of course. - The steps that follow are for Linux users. They will not work on Windows without MingW and some other stuff + The steps that follow are for Linux users. They will not work on Windows or Mac + For the below - if you are not logged in as root, you may need to use sudo or su commands + to run the make make install commands - Check your settings to see which versions of things will be used + Check your settings to see which versions of things will be used. Note this part is for the most + part unnecessary since the PostGIS configure step will tell you what it is using and what is missing. which gcc which make && which autoconf which pg_config - sudo ldconfig -v | grep iconv - which flex && which bison - sudo ldconfig -v | grep /usr/local/lib + ldconfig -v | grep /usr/local/lib which geos-config - sudo ldconfig -v | grep proj + ldconfig -v | grep proj @@ -110,8 +115,8 @@ tar xvzf proj-4.6.0.tar.gz cd proj-4.6.0 ./configure && make clean && make - sudo make install - sudo ldconfig + make install + ldconfig cd .. @@ -123,8 +128,8 @@ tar xvjf geos-3.0.0.tar.bz2 cd geos-3.0.0 ./configure && make clean && make - sudo make install - sudo ldconfig + make install + ldconfig cd .. @@ -159,7 +164,6 @@ wget http://postgis.refractions.net/download/postgis-&last_release_version;.tar.gz gzip -d -c postgis-&last_release_version;.tar.gz | tar xvf - cd postgis-&last_release_version;/ - sh autogen.sh ./configure @@ -192,8 +196,8 @@ make clean && make - sudo make install - sudo ldconfig + make install + ldconfig