[geos-devel] Compiling on Solaris

strk at refractions.net strk at refractions.net
Sat Sep 11 13:27:27 EDT 2004


On Sat, Sep 11, 2004 at 10:57:44AM -0500, Joshua Buysse wrote:
> All right.  Using similar patches to 2.0.0, it does work correctly and 
> passes the tests under Solaris, using Sun's compilers and 
> CFLAGS='-fast', both on x86 and sparc.
> 
> It does work correctly, and I can use geos-2.0.0 now that PostGIS 0.9 
> is released.  The package should be available from blastwave.org within 
> a couple of days.
> 
> Patch attached.  Thanks.
> 
> -Josh

Thank you for the patch. Here is what I get on x86 w/ gcc 3.3.2:

../operation/overlay/PolygonBuilder.cpp:166: error: cannot convert `
   std::vector<_Tp, _Alloc>::end() [with _Tp = geos::EdgeRing*, _Alloc =
   std::allocator<geos::EdgeRing*>]()' from type `
   __gnu_cxx::__normal_iterator<geos::EdgeRing**, std::vector<geos::EdgeRing*,
   std::allocator<geos::EdgeRing*> > >' to type `geos::EdgeRing**'

Removing the (Edge **) casts the code compiles fine.
Can you do w/out them ?

--strk;

> 
> 
> On Sep 11, 2004, at 9:50 AM, Paul Ramsey wrote:
> 
> >Joshua Buysse wrote:
> >\That gets it to compile.
> >>Now, the XMLTester test in source/test fails.  Here's the result 
> >>(from  dbx):
> >\
> >>Any ideas?  I feel like a fool for asking this, but since make  
> >>test/make check didn't run these, do they normally work?
> >
> >Yes, they normally work, they are the first thing I run generally, to 
> >see if we are doing OK on a build, as they exercise the predicates 
> >pretty thoroughly. So it dies as soon as you try to create objects, 
> >not so nice :/
> >_______________________________________________
> >geos-devel mailing list
> >geos-devel at geos.refractions.net
> >http://geos.refractions.net/mailman/listinfo/geos-devel

> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel




More information about the geos-devel mailing list