[geos-devel] Re: Problems with installation of geos on RedHat 9 (third try, i hope this is text)

Johan V jvhoppli at gmail.com
Thu May 18 06:20:58 EDT 2006


Like you asked I removed the rpm package 1.0 (I think also that this
precompiled package is not the best one) and I did the configure and
make from the geos 3.0.0cvs version and get this output:

[root at 192 geos-3.0.0cvs]# ./configure
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking target system type... i686-redhat-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking for library containing strerror... none required
checking whether long int is 64 bits... no
checking whether long long int is 64 bits... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether closedir returns void... no
checking for working memcmp... yes
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for working alloca.h... yes
checking for alloca... yes
checking for dirent.h that defines DIR... (cached) yes
checking for library containing opendir... (cached) none required
checking for ANSI C header files... (cached) yes
checking for memory.h... (cached) yes
checking for unistd.h... (cached) yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for strchr... yes
checking for memcpy... yes
checking whether stat file-mode macros are broken... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for size_t... yes
checking for an ANSI C-conforming const... yes
checking for swig... /usr/local/bin/swig
checking for SWIG version...
configure: WARNING: cannot determine SWIG version
configure: creating ./config.status
config.status: creating Makefile
config.status: creating capi/Makefile
config.status: creating capi/geos_c.h
config.status: creating doc/Doxyfile
config.status: creating doc/Makefile
config.status: creating macros/Makefile
config.status: creating source/Makefile
config.status: creating source/algorithm/Makefile
config.status: creating source/geom/Makefile
config.status: creating source/geom/util/Makefile
config.status: creating source/geomgraph/Makefile
config.status: creating source/geomgraph/index/Makefile
config.status: creating source/headers/Makefile
config.status: creating source/headers/geos/Makefile
...
config.status: creating tools/Makefile
config.status: creating tools/geos-config
config.status: creating source/headers/config.h
config.status: source/headers/config.h is unchanged
config.status: creating source/headers/geos/platform.h
config.status: source/headers/geos/platform.h is unchanged
config.status: executing depfiles commands
---------------------------------------
Boost UTF: no
Swig: false
Python: false
Ruby: false
---------------------------------------

[root at 192 geos-3.0.0cvs]# make
Making all in source
make[1]: Entering directory `/home/postgis/geos-3.0.0cvs/source'
Making all in algorithm
make[2]: Entering directory `/home/postgis/geos-3.0.0cvs/source/algorithm'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/postgis/geos-3.0.0cvs/source/algorithm'
Making all in geom
make[2]: Entering directory `/home/postgis/geos-3.0.0cvs/source/geom'
Making all in util
make[3]: Entering directory `/home/postgis/geos-3.0.0cvs/source/geom/util'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/postgis/geos-3.0.0cvs/source/geom/util'
make[3]: Entering directory `/home/postgis/geos-3.0.0cvs/source/geom'
if /bin/sh ../../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
-I. -I. -I../../source/headers -I../../source/headers/geos
-I../../source/headers     -g -O2 -DGEOS_INLINE -MT Geometry.lo -MD
-MP -MF ".deps/Geometry.Tpo" -c -o Geometry.lo Geometry.cpp; \
then mv -f ".deps/Geometry.Tpo" ".deps/Geometry.Plo"; else rm -f
".deps/Geometry.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers
-I../../source/headers/geos -I../../source/headers -g -O2
-DGEOS_INLINE -MT Geometry.lo -MD -MP -MF .deps/Geometry.Tpo -c
Geometry.cpp  -fPIC -DPIC -o .libs/Geometry.o
 g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers
-I../../source/headers/geos -I../../source/headers -g -O2
-DGEOS_INLINE -MT Geometry.lo -MD -MP -MF .deps/Geometry.Tpo -c
Geometry.cpp -o Geometry.o >/dev/null 2>&1
/bin/sh ../../libtool --mode=link --tag=CXX g++  -g -O2 -DGEOS_INLINE
 -o libgeom.la   Coordinate.lo CoordinateSequence.lo
CoordinateArraySequence.lo CoordinateArraySequenceFactory.lo
Dimension.lo Envelope.lo Geometry.lo GeometryList.lo
GeometryCollection.lo GeometryComponentFilter.lo GeometryFactory.lo
IntersectionMatrix.lo LinearRing.lo LineSegment.lo LineString.lo
Location.lo MultiLineString.lo MultiPoint.lo MultiPolygon.lo Point.lo
Polygon.lo PrecisionModel.lo Triangle.lo util/libgeomutil.la
rm -fr  .libs/libgeom.a .libs/libgeom.la
rm -fr .libs/libgeom.lax
mkdir .libs/libgeom.lax
rm -fr .libs/libgeom.lax/libgeomutil.a
mkdir .libs/libgeom.lax/libgeomutil.a
(cd .libs/libgeom.lax/libgeomutil.a && ar x
/home/postgis/geos-3.0.0cvs/source/geom/util/.libs/libgeomutil.a)
ar cru .libs/libgeom.a .libs/Coordinate.o .libs/CoordinateSequence.o
.libs/CoordinateArraySequence.o .libs/CoordinateArraySequenceFactory.o
.libs/Dimension.o .libs/Envelope.o .libs/Geometry.o
.libs/GeometryList.o .libs/GeometryCollection.o
.libs/GeometryComponentFilter.o .libs/GeometryFactory.o
.libs/IntersectionMatrix.o .libs/LinearRing.o .libs/LineSegment.o
.libs/LineString.o .libs/Location.o .libs/MultiLineString.o
.libs/MultiPoint.o .libs/MultiPolygon.o .libs/Point.o .libs/Polygon.o
.libs/PrecisionModel.o .libs/Triangle.o
.libs/libgeom.lax/libgeomutil.a/GeometryEditor.o
.libs/libgeom.lax/libgeomutil.a/GeometryTransformer.o
.libs/libgeom.lax/libgeomutil.a/CoordinateOperation.o
.libs/libgeom.lax/libgeomutil.a/ShortCircuitedGeometryVisitor.o
ranlib .libs/libgeom.a
rm -fr .libs/libgeom.lax
creating libgeom.la
(cd .libs && rm -f libgeom.la && ln -s ../libgeom.la libgeom.la)
make[3]: Leaving directory `/home/postgis/geos-3.0.0cvs/source/geom'
make[2]: Leaving directory `/home/postgis/geos-3.0.0cvs/source/geom'
Making all in headers
make[2]: Entering directory `/home/postgis/geos-3.0.0cvs/source/headers'
make  all-recursive
make[3]: Entering directory `/home/postgis/geos-3.0.0cvs/source/headers'
Making all in geos
make[4]: Entering directory `/home/postgis/geos-3.0.0cvs/source/headers/geos'
make  all-recursive
make[5]: Entering directory `/home/postgis/geos-3.0.0cvs/source/headers/geos'
Making all in algorithm
make[6]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/algorithm'
make[7]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/algorithm'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/algorithm'
make[6]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/algorithm'
Making all in geom
make[6]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/geom'
Making all in util
make[7]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/geom/util'
make[8]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/geom/util'
make[8]: Nothing to be done for `all-am'.
make[8]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/geom/util'
make[7]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/geom/util'
make[7]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/geom'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/geom'
make[6]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/geom'
Making all in geomgraph
make[6]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/geomgraph'
Making all in index
make[7]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/geomgraph/index'
make[8]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/geomgraph/index'
make[8]: Nothing to be done for `all-am'.
make[8]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/geomgraph/index'
make[7]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/geomgraph/index'
make[7]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/geomgraph'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/geomgraph'
make[6]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/geomgraph'
Making all in index
make[6]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index'
Making all in sweepline
make[7]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index/sweepline'
make[8]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index/sweepline'
make[8]: Nothing to be done for `all-am'.
make[8]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index/sweepline'
make[7]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index/sweepline'
Making all in strtree
make[7]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index/strtree'
make[8]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index/strtree'
make[8]: Nothing to be done for `all-am'.
make[8]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index/strtree'
make[7]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index/strtree'
Making all in quadtree
make[7]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index/quadtree'
make[8]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index/quadtree'
make[8]: Nothing to be done for `all-am'.
make[8]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index/quadtree'
make[7]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index/quadtree'
Making all in bintree
make[7]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index/bintree'
make[8]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index/bintree'
make[8]: Nothing to be done for `all-am'.
make[8]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index/bintree'
make[7]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index/bintree'
Making all in chain
make[7]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index/chain'
make[8]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index/chain'
make[8]: Nothing to be done for `all-am'.
make[8]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index/chain'
make[7]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index/chain'
make[7]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index'
make[6]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/index'
Making all in io
make[6]: Entering directory `/home/postgis/geos-3.0.0cvs/source/headers/geos/io'
make[7]: Entering directory `/home/postgis/geos-3.0.0cvs/source/headers/geos/io'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/home/postgis/geos-3.0.0cvs/source/headers/geos/io'
make[6]: Leaving directory `/home/postgis/geos-3.0.0cvs/source/headers/geos/io'
Making all in noding
make[6]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/noding'
Making all in snapround
make[7]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/noding/snapround'
make[8]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/noding/snapround'
make[8]: Nothing to be done for `all-am'.
make[8]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/noding/snapround'
make[7]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/noding/snapround'
make[7]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/noding'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/noding'
make[6]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/noding'
Making all in operation
make[6]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/operation'
Making all in buffer
make[7]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/operation/buffer'
make[8]: Entering directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/operation/buffer'
make[8]: *** No rule to make target `BufferBuilder.h', needed by
`all-am'.  Stop.
make[8]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/operation/buffer'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/operation/buffer'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory
`/home/postgis/geos-3.0.0cvs/source/headers/geos/operation'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/postgis/geos-3.0.0cvs/source/headers/geos'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/postgis/geos-3.0.0cvs/source/headers/geos'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/postgis/geos-3.0.0cvs/source/headers'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/postgis/geos-3.0.0cvs/source/headers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/postgis/geos-3.0.0cvs/source'
make: *** [all-recursive] Error 1

So problems with BufferBuilder.h I think, but what's the solution.

Thx for the support,

Johan

2006/5/18, strk at refractions.net <strk at refractions.net>:
> On Thu, May 18, 2006 at 10:13:25AM +0200, Johan V wrote:
>
> > The only geos-config I have are from the different source directories
> > from geos I have, like .../geos-2.2.1/tools/geos-config
> > .../geos-3.0.0cvs/tools/geos-config
> > .../geos-1.0/tools/geos-config
>
> You should use a geos-config actually *installed*,
> not from source.
> Either install 3.0.0cvs or install 2.2.1.
>
> --strk;
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel
>



More information about the geos-devel mailing list