[postgis-users] Unable to pass the configure step on HP-UX 11.23

VEYSSIERE Nicolas nicolas.veyssiere at thalesgroup.com
Fri Sep 13 06:56:13 PDT 2013


Thanks for your reply,

I didn't test the geos, so I tryied it now : 

make[4]: Leaving directory `/miroir2/sourcecontrol/ixo/geos-3.4.2/tests/unit'
make  check-TESTS
make[4]: Entering directory `/miroir2/sourcecontrol/ixo/geos-3.4.2/tests/unit'
===============================
  GEOS Test Suite Application
===============================

capi::GEOSBuffer: ....................
capi::GEOSContains: ...
capi::GEOSConvexHull: .
capi::GEOSCoordSeq: ......
capi::GEOSDelaunayTriangulation: ......
capi::GEOSDistance: .
capi::GEOSGeomFromWKB: .....
capi::GEOSGeomToWKT: .............
capi::GEOSGeom_create: .......
capi::GEOSGeom_extractUniquePoints: ...
capi::GEOSGetCentroid: .....
capi::GEOSInterrupt: ..NOTICE: InterruptedException: Interrupted!
.NOTICE: InterruptedException: Interrupted!
.
capi::GEOSIntersects: ...NOTICE: IllegalArgumentException: RobustDeterminant encountered non-finite numbers
.NOTICE: IllegalArgumentException: RobustDeterminant encountered non-finite numbers
.
capi::GEOSLineStringPoint: ...
capi::GEOSNearestPoints: ..
capi::GEOSNode: ...
capi::GEOSOffsetCurve: .........NOTICE: IllegalArgumentException: Cannot get offset of single-vertex line
.
capi::GEOSOrientationIndex: ...........
capi::GEOSPointOnSurface: ......
capi::GEOSPolygonizeGetCutEdges: ..
capi::GEOSPreparedGeometry: ......
capi::GEOSRelateBoundaryNodeRule: .......NOTICE: Invalid boundary node rule 5
.
capi::GEOSRelatePatternMatch: .....NOTICE: IllegalArgumentException: Geometry is not lineal

capi::GEOSSharedPaths: ..NOTICE: IllegalArgumentException: Geometry is not lineal
.
capi::GEOSSimplify: .
capi::GEOSSnap: ..........
capi::GEOSUnaryUnion: ........NOTICE: IllegalArgumentException: EdgeEnd with coordinate -nan -nan invalid for node -nan -nan
.
capi::GEOSWithin: ...
capi::GEOSisValidDetail: ......
geos::algorithm::Angle: ....
geos::algorithm::CGAlgorithms::computeOrientation: ..
geos::algorithm::CGAlgorithms::isCCW: .....
geos::algorithm::CGAlgorithms::isPointInRing: ..
geos::algorithm::CGAlgorithms::signedArea: ...
geos::algorithm::ConvexHull: .......
geos::algorithm::InteriorPointArea: .
geos::algorithm::PointLocator: ....
geos::algorithm::RobustLineIntersection: ......
geos::algorithm::RobustLineIntersector: .............
geos::algorithm::distace::DiscreteHausdorffDistance: ....
geos::geom::Coordinate: .........
geos::geom::CoordinateArraySequence: .................
geos::geom::CoordinateArraySequenceFactory: ....
geos::geom::CoordinateList: ...
geos::geom::Dimension: .....
geos::geom::Envelope: .........
geos::geom::Geometry::clone: .......
geos::geom::Geometry::covers: ....
geos::geom::Geometry::isRectangle: .......
geos::geom::GeometryFactory: ....................................
geos::geom::IntersectionMatrix: .............................
geos::geom::LineSegment: ......
geos::geom::LineString: .........................
geos::geom::LinearRing: ..............................
geos::geom::Location: ...
geos::geom::MultiLineString: .
geos::geom::MultiPoint: ............................
geos::geom::MultiPolygon: .
geos::geom::Point: ........................................
geos::geom::Polygon: .....................................
geos::geom::PrecisionModel: .........
geos::geom::Triangle: .....
geos::geom::prep::PreparedGeometryFactory: .............................
geos::geom::util::GeometryExtracter: ..
geos::index::quadtree::DoubleBits: .
geos::io::ByteOrderValues: ...
geos::io::WKBReader: .......
geos::io::WKBWriter: ....
geos::io::WKTReader: .......
geos::io::WKTWriter: .....
geos::io::Writer: ....
geos::linearref::LocationIndexedLine: ...........................
geos::noding::BasicSegmentString: ....
geos::noding::NodedSegmentString: .....
geos::noding::OrientedCoordinateArray: .....
geos::noding::SegmentNode: ....
geos::noding::SegmentPointComparator: .....
geos::noding::snapround::HotPixel: ...
geos::noding::snapround::MCIndexSnapRounder: .
geos::operation::IsSimpleOp: ...
geos::operation::buffer::BufferBuilder: .
geos::operation::buffer::BufferOp: ...........
geos::operation::buffer::BufferParameters: ..........
geos::operation::distance::DistanceOp: ...................
geos::operation::geounion::CascadedPolygonUnion: .
geos::operation::geounion::UnaryUnionOp: ......
geos::operation::linemerge::LineMerger: ......
geos::operation::linemerge::LineSequencer: ............
geos::operation::overlay::snap::GeometrySnapper: ..
geos::operation::overlay::snap::LineStringSnapper: .......
geos::operation::overlay::validate::FuzzyPointLocator: .......
geos::operation::overlay::validate::OffsetPointGenerator: .....
geos::operation::overlay::validate::OverlayResultValidator: ......
geos::operation::polygonize::Polygonizer: ..
geos::operation::sharedpaths::SharedPathsOp: .....................
geos::operation::valid::IsValidOp: .
geos::operation::valid::ValidClosedRing: .....
geos::operation::valid::ValidSelfTouchingRingFormingHole: .......
geos::precision::GeometryPrecisionReducer: .........
geos::precision::SimpleGeometryPrecisionReducer: .......
geos::simplify::DouglasPeuckerSimplifier: ...........
geos::simplify::TopologyPreservingSimplifier: ...............
geos::triangulate::Delaunay: .........
geos::triangulate::quadedge::QuadEdge: ...
geos::triangulate::quadedge::QuadEdgeSubdivision: .
geos::util::UniqueCoordinateArrayFilter: .

tests summary: ok:837
PASS: geos_unit
=============
1 test passed
=============
make[4]: Leaving directory `/miroir2/sourcecontrol/ixo/geos-3.4.2/tests/unit'
make[3]: Leaving directory `/miroir2/sourcecontrol/ixo/geos-3.4.2/tests/unit'
Making check in perf
make[3]: Entering directory `/miroir2/sourcecontrol/ixo/geos-3.4.2/tests/perf'
Making check in operation
make[4]: Entering directory `/miroir2/sourcecontrol/ixo/geos-3.4.2/tests/perf/operation'
Making check in buffer
make[5]: Entering directory `/miroir2/sourcecontrol/ixo/geos-3.4.2/tests/perf/operation/buffer'
make[5]: Nothing to be done for `check'.
make[5]: Leaving directory `/miroir2/sourcecontrol/ixo/geos-3.4.2/tests/perf/operation/buffer'
Making check in predicate
make[5]: Entering directory `/miroir2/sourcecontrol/ixo/geos-3.4.2/tests/perf/operation/predicate'
make[5]: Nothing to be done for `check'.
make[5]: Leaving directory `/miroir2/sourcecontrol/ixo/geos-3.4.2/tests/perf/operation/predicate'
make[5]: Entering directory `/miroir2/sourcecontrol/ixo/geos-3.4.2/tests/perf/operation'
make[5]: Nothing to be done for `check-am'.
make[5]: Leaving directory `/miroir2/sourcecontrol/ixo/geos-3.4.2/tests/perf/operation'
make[4]: Leaving directory `/miroir2/sourcecontrol/ixo/geos-3.4.2/tests/perf/operation'
Making check in capi
make[4]: Entering directory `/miroir2/sourcecontrol/ixo/geos-3.4.2/tests/perf/capi'
make  memleak_mp_prep
make[5]: Entering directory `/miroir2/sourcecontrol/ixo/geos-3.4.2/tests/perf/capi'
gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include/geos -I../../../capi -I../../../include   -pedantic -Wall -ansi -Wno-long-long  -ffloat-store -g -O2 -MT memleak_mp_prep.o -MD -MP -MF .deps/memleak_mp_prep.Tpo -c -o memleak_mp_prep.o memleak_mp_prep.c
mv -f .deps/memleak_mp_prep.Tpo .deps/memleak_mp_prep.Po
/bin/sh ../../../libtool --tag=CC   --mode=link gcc -pedantic -Wall -ansi -Wno-long-long  -ffloat-store -g -O2   -o memleak_mp_prep memleak_mp_prep.o ../../../capi/libgeos_c.la ../../../capi/libgeos_c.la
libtool: link: gcc -pedantic -Wall -ansi -Wno-long-long -ffloat-store -g -O2 -o memleak_mp_prep memleak_mp_prep.o  ../../../capi/.libs/libgeos_c.a /clearcase/ixo/geos-3.4.2/src/.libs/libgeos.a -L/var/bintmp/gcc-4.2.3/gccobj/ia64-hp-hpux11.23/libstdc++-v3/src -L/var/bintmp/gcc-4.2.3/gccobj/ia64-hp-hpux11.23/libstdc++-v3/src/.libs -L/var/bintmp/gcc-4.2.3/gccobj/./gcc -L/usr/local/ia64-hp-hpux11.23/bin -L/usr/local/lib/hpux32 -L/usr/local/lib -L/usr/lib/hpux32 /usr/local/lib/libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_SetIP" in file /usr/local/lib/libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_SetGR" in file /usr/local/lib/libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_GetIP" in file /usr/local/lib/libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_GetGR" in file /usr/local/lib/libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_RaiseException" in file /usr/local/lib/libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_GetRegionStart" in file /usr/local/lib/libstdc++.so
ld: Unsatisfied symbol "_Unwind_Resume" in file ../../../capi/.libs/libgeos_c.a[libgeos_c_la-geos_ts_c.o]
ld: (Warning) Unsatisfied symbol "_Unwind_GetLanguageSpecificData" in file /usr/local/lib/libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_DeleteException" in file /usr/local/lib/libstdc++.so
8 warnings.
1 errors.


It seems that a bunch of tests are ok, and 1 failed maybe because the libstdc++ provided in HP-UX is not the one geos is expected.


When I was bulding the geos lib, I found a warning, I don't know if it is important :

*** Warning: linker path does not have real file for library -lgcc.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libgcc and none of the candidates passed a file format test
*** using a file magic. Last file checked: /usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.3/libgcc.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.




Note : I don't have .so libraries after install of geos 

$ ls /usr/local/lib/libgeos*
/usr/local/lib/libgeos.a     /usr/local/lib/libgeos_c.a
/usr/local/lib/libgeos.la    /usr/local/lib/libgeos_c.la


Is it normal ?

-- 
Nicolas V.

-----Message d'origine-----
De : postgis-users-bounces at lists.osgeo.org [mailto:postgis-users-bounces at lists.osgeo.org] De la part de Sandro Santilli
Envoyé : vendredi 13 septembre 2013 15:33
À : PostGIS Users Discussion
Cc : scottso at sonalysts.com
Objet : Re: [postgis-users] Unable to pass the configure step on HP-UX 11.23

On Fri, Sep 13, 2013 at 03:09:17PM +0200, VEYSSIERE Nicolas wrote:

> Today I have opened a ticket for geos on HP-UX 11.23 ia64 (http://trac.osgeo.org/geos/ticket/664).
> 
> I have submitted this patch, because I want to build Postgis on the same platform.
> 
> But as a someone before me (http://lists.osgeo.org/pipermail/postgis-users/2011-February/028847.html) I am unable to pass the configure step on the test for the initGEOS function.
> 
> 
> ./configure

[..]

> checking for initGEOS in -lgeos_c... no

[..]

> When I search to find the problem, it failed to build the conftest program that test the initGEOS function :
> 
> gcc -o conftest conftest.c -lgeos_c -L/usr/local/lib
> ld: Unsatisfied symbol 
> "geos::geom::GeometryFactory::createPoint(geos::geom::CoordinateSequen
> ce*) const" in file 
> /usr/local/lib/libgeos_c.a[libgeos_c_la-geos_ts_c.o]

It looks like the linker is failing to recognize that libgeos_c.so requires libgeos.so, which is the one containing the actual symbols.

> The problem is that these functions seems to be there :
> 
> nm -C /usr/local/lib/libgeos_c.a | grep "geos::geom::GeometryFactory::createPoint"
>          U geos::geom::GeometryFactory::createPoint(geos::geom::CoordinateSequence*) const
>          U geos::geom::GeometryFactory::createPoint(geos::geom::Coordinate const&) const
>          U geos::geom::GeometryFactory::createPoint() const

It's in the static library, but not in the dynamic one.
Can it be a bug in the way geos was built ?
Did "make check" for geos work fine ?
Does any other libgeos user application work fine ?

--strk;
_______________________________________________
postgis-users mailing list
postgis-users at lists.osgeo.org
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users


More information about the postgis-users mailing list