Opened 11 years ago

Closed 11 years ago

#647 closed defect (duplicate)

GeOS 3.4.0 build error on Fedora 19

Reported by: devrimgunduz Owned by: strk
Priority: blocker Milestone:
Component: Build/Install Version: 3.4.0
Severity: Significant Keywords:
Cc:

Description

Hi,

I am getting the following error while building 3.4.0 on Fedora 19.

I'm configuring geos with:

 --disable-static --disable-dependency-tracking --enable-python --enable-ruby

Here we go:

Making all in src
make[3]: Entering directory `/home/devrim/Documents/postgresqlrpms.org/svn/repo/rpm/redhat/9.3/geos/F-19/geos-3.4.0/src'
Making all in algorithm
make[4]: Entering directory `/home/devrim/Documents/postgresqlrpms.org/svn/repo/rpm/redhat/9.3/geos/F-19/geos-3.4.0/src/algorithm'
Making all in locate
make[5]: Entering directory `/home/devrim/Documents/postgresqlrpms.org/svn/repo/rpm/redhat/9.3/geos/F-19/geos-3.4.0/src/algorithm/locate'
make[6]: Entering directory `/home/devrim/Documents/postgresqlrpms.org/svn/repo/rpm/redhat/9.3/geos/F-19/geos-3.4.0/src/algorithm/locate'
/usr/bin/libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../include -I../../../include/geos -I../../../include    -DGEOS_INLINE  -pedantic -Wall -ansi -Wno-long-long  -ffloat-store -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -c -o IndexedPointInAreaLocator.lo IndexedPointInAreaLocator.cpp
/usr/bin/libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../include -I../../../include/geos -I../../../include    -DGEOS_INLINE  -pedantic -Wall -ansi -Wno-long-long  -ffloat-store -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -c -o PointOnGeometryLocator.lo PointOnGeometryLocator.cpp
/usr/bin/libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../include -I../../../include/geos -I../../../include    -DGEOS_INLINE  -pedantic -Wall -ansi -Wno-long-long  -ffloat-store -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -c -o SimplePointInAreaLocator.lo SimplePointInAreaLocator.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../include -I../../../include/geos -I../../../include -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long -ffloat-store -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c SimplePointInAreaLocator.cpp  -fPIC -DPIC -o .libs/SimplePointInAreaLocator.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../include -I../../../include/geos -I../../../include -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long -ffloat-store -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c IndexedPointInAreaLocator.cpp  -fPIC -DPIC -o .libs/IndexedPointInAreaLocator.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../include -I../../../include/geos -I../../../include -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long -ffloat-store -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c PointOnGeometryLocator.cpp  -fPIC -DPIC -o .libs/PointOnGeometryLocator.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../include -I../../../include/geos -I../../../include -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long -ffloat-store -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c PointOnGeometryLocator.cpp -o PointOnGeometryLocator.o >/dev/null 2>&1
In file included from ../../../include/geos/geom/Geometry.h:25:0,
                 from SimplePointInAreaLocator.cpp:18:
../../../include/geos/platform.h:71:5: warning: #warning is a GCC extension [enabled by default]
 #   warning "Could not find 64bit integer definition!"
     ^
../../../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"
 #error "Can not compile without isnan function or macro"
  ^
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]
 #   warning "Could not find 64bit integer definition!"
     ^
../../../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"
 #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 SimplePointInAreaLocator.cpp:18:
../../../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
  return (ISNAN(x) && ISNAN(y) && ISNAN(z));
                 ^
../../../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
   ((z == other.z)||(ISNAN(z) && ISNAN(other.z)));
                            ^
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
  return (ISNAN(x) && ISNAN(y) && ISNAN(z));
                 ^
../../../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
   ((z == other.z)||(ISNAN(z) && ISNAN(other.z)));
                            ^
make[6]: *** [SimplePointInAreaLocator.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
make[6]: *** [IndexedPointInAreaLocator.lo] Error 1
make[6]: Leaving directory `/home/devrim/Documents/postgresqlrpms.org/svn/repo/rpm/redhat/9.3/geos/F-19/geos-3.4.0/src/algorithm/locate'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/devrim/Documents/postgresqlrpms.org/svn/repo/rpm/redhat/9.3/geos/F-19/geos-3.4.0/src/algorithm/locate'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/devrim/Documents/postgresqlrpms.org/svn/repo/rpm/redhat/9.3/geos/F-19/geos-3.4.0/src/algorithm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/devrim/Documents/postgresqlrpms.org/svn/repo/rpm/redhat/9.3/geos/F-19/geos-3.4.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/devrim/Documents/postgresqlrpms.org/svn/repo/rpm/redhat/9.3/geos/F-19/geos-3.4.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/devrim/Documents/postgresqlrpms.org/svn/repo/rpm/redhat/9.3/geos/F-19/geos-3.4.0'
error: Bad exit status from /var/tmp/rpm-tmp.Wud7x8 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.Wud7x8 (%build)
make: *** [nopreprpm] Error 1

Regards, Devrim

Change History (1)

comment:1 by strk, 11 years ago

Resolution: duplicate
Status: newclosed

Second duplicate of #645

Note: See TracTickets for help on using tickets.