[geos-devel] [GEOS] #461: geos-3.3.0 build fails on Solaris 10 Sparc - Sun Studio 12.2

GEOS geos-trac at osgeo.org
Mon Jul 25 06:38:39 EDT 2011

#461: geos-3.3.0 build fails on Solaris 10 Sparc - Sun Studio 12.2
 Reporter:  sandy2010    |       Owner:  geos-devel@…              
     Type:  defect       |      Status:  new                       
 Priority:  minor        |   Milestone:  3.3.1                     
Component:  Default      |     Version:  3.3.0                     
 Severity:  Significant  |    Keywords:  SunOS, Solaris 10,        
 I'm building geos-3.3.0 on Solaris 10 64bit Sparc zone and got the
 following error:

 make[4]: Entering directory `/opt/geos-3.3.0/src/algorithm/locate'
 object='IndexedPointInAreaLocator.lo' libtool=yes \
 DEPDIR=.deps depmode=none /bin/bash ../../../depcomp \
 /bin/bash ../../../libtool --tag=CXX   --mode=compile CC -m64 -KPIC
 -DHAVE_CONFIG_H -I. -I../../../include -I../../../include/geos
 -I../../../include    -pedantic  -library=stlport4 -library=Crun -c -o
 IndexedPointInAreaLocator.lo IndexedPointInAreaLocator.cpp
 libtool: compile:  CC -m64 -KPIC -DHAVE_CONFIG_H -I. -I../../../include
 -I../../../include/geos -I../../../include -pedantic -library=stlport4
 -library=Crun -c IndexedPointInAreaLocator.cpp  -KPIC -DPIC -o
 CC: Warning: Option -pedantic passed to ld, if ld is invoked, ignored
 "../../../include/geos/platform.h", line 107: Error: #error "Can not
 compile without isnan function or macro".
 make[4]: *** [IndexedPointInAreaLocator.lo] Error 1
 make[4]: Leaving directory `/opt/geos-3.3.0/src/algorithm/locate'

 I'm using SunStudip 12.2 and my configure switches looks like this:
 ./configure --prefix=/opt/geos-3.3.0/inst --disable-inline
 CXXFLAGS="-library=stlport4 -library=Crun" LDFLAGS="-lm -m64"

 Is there a patch available to this?

Ticket URL: <http://trac.osgeo.org/geos/ticket/461>
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