Re: [postgis-users] geos 3.3.0 installing problem on Lion

2011-08-01 Thread William Kyngesburye
I was kinda wondering if there was any real problem.  I was compiling with gcc 
4.2 for a while until I became aware of the test problem, and noone complained 
directly about a CoordinateArraySequenceFactory problem with my GEOS framework.

On Aug 1, 2011, at 5:30 PM, Paul Ramsey wrote:

> 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
>  wrote:
>> 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 
http://www.kyngchaos.com/

The equator is so long, it could encircle the earth completely once.

___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] geos 3.3.0 installing problem on Lion

2011-08-01 Thread Paul Ramsey
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
 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@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 
> 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@postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] geos 3.3.0 installing problem on Lion

2011-08-01 Thread William Kyngesburye
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@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 
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@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] geos 3.3.0 installing problem on Lion

2011-08-01 Thread Mr. Puneet Kishor

On Aug 2, 2011, at 7:00 AM, Howard Butler wrote:

> 
> On Aug 1, 2011, at 3:54 PM, Mr. Puneet Kishor wrote:
> 
>>  Undefined symbols for architecture x86_64:
>>  
>> "__ZNSt8auto_ptrIN4geos4geom8EnvelopeEEcvSt12auto_ptr_refIT_EIS2_EEv", 
>> referenced from:
>>  virtual thunk to 
>> geos::geom::GeometryCollection::computeEnvelopeInternal() constin 
>> GeometryCollection.o
>>  
>> "std::auto_ptr::auto_ptr(std::auto_ptr_ref)",
>>  referenced from:
>>  virtual thunk to 
>> geos::geom::GeometryCollection::computeEnvelopeInternal() constin 
>> GeometryCollection.o
>>  ld: symbol(s) not found for architecture x86_64
>>  collect2: ld returned 1 exit status
>>  make[2]: *** [libgeos.la] Error 1
>>  make[1]: *** [all-recursive] Error 1
>>  make: *** [all-recursive] Error 1
>> 
>> 
>> h
>> 
>>  punkish@Lucknow ~/Projects/geos-3.3.0$sw_vers
>>  ProductName:Mac OS X
>>  ProductVersion: 10.7
>>  BuildVersion:   11A2063
>>  punkish@Lucknow ~/Projects/geos-3.3.0$arch
>>  i386
>> 
>> What gives?
> 
> 
> 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@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


> 
> Howard
> 
> [1]: http://lists.osgeo.org/pipermail/geos-devel/2011-July/005364.html
> 
> 
> ___
> postgis-users mailing list
> postgis-users@postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users

___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] geos 3.3.0 installing problem on Lion

2011-08-01 Thread Howard Butler

On Aug 1, 2011, at 3:54 PM, Mr. Puneet Kishor wrote:

>   Undefined symbols for architecture x86_64:
>   
> "__ZNSt8auto_ptrIN4geos4geom8EnvelopeEEcvSt12auto_ptr_refIT_EIS2_EEv", 
> referenced from:
>   virtual thunk to 
> geos::geom::GeometryCollection::computeEnvelopeInternal() constin 
> GeometryCollection.o
>   
> "std::auto_ptr::auto_ptr(std::auto_ptr_ref)",
>  referenced from:
>   virtual thunk to 
> geos::geom::GeometryCollection::computeEnvelopeInternal() constin 
> GeometryCollection.o
>   ld: symbol(s) not found for architecture x86_64
>   collect2: ld returned 1 exit status
>   make[2]: *** [libgeos.la] Error 1
>   make[1]: *** [all-recursive] Error 1
>   make: *** [all-recursive] Error 1
> 
> 
> h
> 
>   punkish@Lucknow ~/Projects/geos-3.3.0$sw_vers
>   ProductName:Mac OS X
>   ProductVersion: 10.7
>   BuildVersion:   11A2063
>   punkish@Lucknow ~/Projects/geos-3.3.0$arch
>   i386
> 
> What gives?


Reported earlier [1].

I spent a little time trying to fix this, but I couldn't come up with a 
solution.  

Howard

[1]: http://lists.osgeo.org/pipermail/geos-devel/2011-July/005364.html


___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users