[postgis-users] geos 3.3.0 installing problem on Lion

Paul Ramsey pramsey at opengeo.org
Mon Aug 1 15:30:15 PDT 2011


For whatever it's work (not much) the unit test failure seems to have
no reported knock-on effects in day-to-day use. So you can use the
GEOS code compiled with newer gcc without too much trepidation.
However, no luck in exterminating the test failure thus far.

P.

On Mon, Aug 1, 2011 at 2:33 PM, William Kyngesburye
<woklist at kyngchaos.com> wrote:
> 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
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>



More information about the postgis-users mailing list