Need help! To build geos-3.0.x lib using Sun Studio 12 compiler [conflict in file ConvexHull.cpp] - Mailing list pgsql-general

From SATYAJIT TRIPATHI
Subject Need help! To build geos-3.0.x lib using Sun Studio 12 compiler [conflict in file ConvexHull.cpp]
Date
Msg-id c06583310901072341w6ece12enb3a41ee2152890fd@mail.gmail.com
Whole thread Raw
List pgsql-general
Hi there,

We are trying to build the PostGIS (1.3.5) extension to PostgreSQL (8.3) on Solaris 10 Update 5 on an amd64 platform (Sun Fire X4100).

We are unable to build the geos (3.0.3) library on the same using Sun Studio 12 compiler. We have included the patches as mentioned in  http://trac.osgeo.org/geos/changeset/2131?format=diff&new=2131 to fix the name space issue. However the following issue still persists :

------------------------------------------------------------------
CC: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise
CC: Warning: Option -ansi passed to ld, if ld is invoked, ignored otherwise
CC: Warning: Option -pedantic passed to ld, if ld is invoked, ignored otherwise
CC: Warning: Option -Wno-long-long passed to ld, if ld is invoked, ignored otherwise
"../../source/headers/geos/platform.h", line 59: Warning: #warning "Could not find 64bit integer definition!".
"../../source/headers/geos/geom/Coordinate.inl", line 140: Warning: Shift count is too large.
"ConvexHull.cpp", line 122: Warning: inputPts hides geos::algorithm::ConvexHull::inputPts.
"ConvexHull.cpp", line 161: Warning: inputPts hides geos::algorithm::ConvexHull::inputPts.
"ConvexHull.cpp", line 210: Error: Could not find a match for std::vector<const geos::geom::Coordinate*>::assign(__rwstd::__rb_tree<const geos::geom::Coordinate*, const geos::geom::Coordinate*, __rwstd::__ident<const geos::geom::Coordinate*, const geos::geom::Coordinate*>, geos::geom::CoordinateLessThen, std::allocator<const geos::geom::Coordinate*>>::const_iterator, __rwstd::__rb_tree<const geos::geom::Coordinate*, const geos::geom::Coordinate*, __rwstd::__ident<const geos::geom::Coordinate*, const geos::geom::Coordinate*>, geos::geom::CoordinateLessThen, std::allocator<const geos::geom::Coordinate*>>::const_iterator) needed in geos::algorithm::ConvexHull::reduce(std::vector<const geos::geom::Coordinate*>&).
1 Error(s) and 4 Warning(s) detected.
*** Error code 1
make: Fatal error: Command failed for target `ConvexHull.lo'
------------------------------------------------------------------


Any suggestion enabling us to build it successfully would be very helpful.

Thank you and warm regards
--Satya

pgsql-general by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: Per-user schemas with inherited skeleton.
Next
From: Mayuresh Nirhali
Date:
Subject: Error: column "host" does not exist