[geos-devel] [GEOS] #646: Error when compiling in Ubuntu 12.04

GEOS geos-trac at osgeo.org
Sun Aug 11 04:06:27 PDT 2013


#646: Error when compiling in Ubuntu 12.04
------------------------+---------------------------------------------------
 Reporter:  jatorre     |       Owner:  geos-devel@…              
     Type:  defect      |      Status:  new                       
 Priority:  major       |   Milestone:                            
Component:  Default     |     Version:  3.4.0                     
 Severity:  Unassigned  |    Keywords:                            
------------------------+---------------------------------------------------
 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?

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/646>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list