[postgis-users] geos 3.3.0 installing problem on Lion

William Kyngesburye woklist at kyngchaos.com
Mon Aug 1 14:33:19 PDT 2011


On Aug 1, 2011, at 4:19 PM, Mr. Puneet Kishor wrote:

> On Aug 2, 2011, at 7:00 AM, Howard Butler wrote:
> 
>> Reported earlier [1].
>> 
>> I spent a little time trying to fix this, but I couldn't come up with a solution.  
> 
> 
> The following works (the solution was listed in the MacPorts tickets) --
> 
> punkish at Lucknow /opt/local/bin$sudo ./port install geos configure.cc=gcc-4.2 configure.cxx=g++-4.2
> --->  Fetching archive for geos
> --->  Fetching geos
> --->  Verifying checksum(s) for geos
> --->  Extracting geos
> --->  Configuring geos
> --->  Building geos
> --->  Staging geos into destroot
> --->  Installing geos @3.3.0_0
> --->  Activating geos @3.3.0_0
> --->  Cleaning geos


Unfortunately when using GCC 4.2, there is another bug that shows up in the unit tests:

http://trac.osgeo.org/geos/ticket/299

The only simple solution there is to use gcc-4.0/g++-4.0, BUT Lion Xcode does not includes this.  The other solution is to compile GEOS *and* whatever uses GEOS without optimization.

So we're stuck.

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Theory of the Universe

There is a theory which states that if ever anyone discovers exactly what the universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarrely inexplicable.  There is another theory which states that this has already happened.

-Hitchhiker's Guide to the Galaxy 2nd season intro





More information about the postgis-users mailing list