Opened 11 years ago
Closed 11 years ago
#646 closed defect (duplicate)
Error when compiling in Ubuntu 12.04
Reported by: | jatorre | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Default | Version: | 3.4.0 |
Severity: | Unassigned | Keywords: | |
Cc: |
Description
Hi,
I just tried compiling and installing 3.4.0 in Ubuntu but make returns erros.
This is the last info given in the console:
In file included from ../../../include/geos/geom/Geometry.h:25:0, from IndexedPointInAreaLocator.cpp:17: ../../../include/geos/platform.h:71:5: warning: #warning is a GCC extension [enabled by default] ../../../include/geos/platform.h:71:5: warning: #warning "Could not find 64bit integer definition!" [-Wcpp] ../../../include/geos/platform.h:110:2: error: #error "Can not compile without isnan function or macro" In file included from ../../../include/geos/geom/Coordinate.h:158:0, from ../../../include/geos/geom/Envelope.h:25, from ../../../include/geos/geom/Geometry.h:27, from IndexedPointInAreaLocator.cpp:17: ../../../include/geos/geom/Coordinate.inl: In member function 'bool geos::geom::Coordinate::isNull() const': ../../../include/geos/geom/Coordinate.inl:38:17: error: 'ISNAN' was not declared in this scope ../../../include/geos/geom/Coordinate.inl: In member function 'bool geos::geom::Coordinate::equals3D(const geos::geom::Coordinate&) const': ../../../include/geos/geom/Coordinate.inl:77:28: error: 'ISNAN' was not declared in this scope make[5]: *** [IndexedPointInAreaLocator.lo] Error 1 make[5]: Leaving directory `/usr/local/src/geos-3.4.0/src/algorithm/locate' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/usr/local/src/geos-3.4.0/src/algorithm/locate' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/local/src/geos-3.4.0/src/algorithm' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/geos-3.4.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/geos-3.4.0' make: *** [all] Error 2
Is there anything else I need to provide?
Note:
See TracTickets
for help on using tickets.
Duplicate of #645