Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I have the following MBP with 10.6.8:</p> <pre class="lang-sh prettyprint-override"><code>$ uname -a Darwin yegorow.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 i386 MacBookPro3,1 Darwin $ gcc --version i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3) $ /Developer/usr/bin/xcodebuild -version Xcode 3.2.6 Component versions: DevToolsCore-1809.0; DevToolsSupport-1806.0 BuildVersion: 10M2518 </code></pre> <p>I also have MacPorts, <code>libreadline</code> and <code>libxml2</code> are located in the MacPorts destination folder, not system wide. I just like such setup.</p> <p>First I've built PostgreSQL 9.1.3 from sources:</p> <pre class="lang-sh prettyprint-override"><code>./configure --prefix=$HOME/prj/pg/9.1.3 --with-pgport=9130 --with-python make make install </code></pre> <p>Then I've downloaded and installed <a href="http://trac.osgeo.org/geos/" rel="nofollow">GEOS</a> 3.3.2 and <a href="http://trac.osgeo.org/proj/" rel="nofollow">PROJ</a> 4.7.0 (make sure to download <code>roj-datumgrid-1.5.zip</code> and unzip it into <code>proj-4.7.0/nad</code>):</p> <pre class="lang-sh prettyprint-override"><code>./configure --prefix=$HOME/prj/pg/9.1.3 make make install </code></pre> <p>Finally, I've obtained the latest postGIS release 1.5.3 and compiled it:</p> <pre class="lang-sh prettyprint-override"><code>./configure --prefix=$HOME/prj/pg/9.1.3 \ --with-pgconfig=$HOME/prj/pg/9.1.3/bin/pg_config \ --with-geosconfig=$HOME/prj/pg/9.1.3/bin/geos-config \ --with-projdir=$HOME/prj/pg/9.1.3/ \ --with-xml2config=/opt/local/bin/xml2-config make make install </code></pre> <p>I will not describe steps required to create spatially-enabled database. I was building postGIS for the first time in fact. Hope it helps :)</p> <p>P.S. I can assist in this process if required, let me know.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload