[geos-devel] Compiling Problems

Paul Ramsey pramsey at cleverelephant.ca
Sun Oct 11 20:21:36 EDT 2009


Looks like you don't have C++ installed. Odd that we don't check for
its presence in ./configure...

p

On Sun, Oct 11, 2009 at 4:07 PM, yoda2nd <yoda2nd at niacc.org> wrote:
> Hello all,
>
> I am trying to compile following the instructions on the website,
> however I seem to be getting an error that I know nothing about.  Below
> is the output from ./configure and make.  Thanks in advance for any
> help.
>
> ./configure
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... no
> checking for mawk... mawk
> 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 ISO C89... 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 grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/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++... no
> checking for c++... no
> checking for gpp... no
> checking for aCC... no
> checking for CC... no
> checking for cxx... no
> checking for cc++... no
> checking for cl.exe... no
> checking for FCC... no
> checking for KCC... no
> checking for RCC... no
> checking for xlC_r... no
> checking for xlC... no
> checking whether we are using the GNU C++ compiler... no
> checking whether g++ accepts -g... no
> checking dependency style of g++... none
> checking for g77... no
> checking for xlf... no
> checking for f77... no
> checking for frt... no
> checking for pgf77... no
> checking for cf77... no
> checking for fort77... no
> checking for fl32... no
> checking for af77... no
> checking for xlf90... no
> checking for f90... no
> checking for pgf90... no
> checking for pghpf... no
> checking for epcf90... no
> checking for gfortran... no
> checking for g95... no
> checking for xlf95... no
> checking for f95... no
> checking for fort... no
> checking for ifort... no
> checking for ifc... no
> checking for efc... no
> checking for pgf95... no
> checking for lf95... no
> checking for ftn... no
> checking whether we are using the GNU Fortran 77 compiler... no
> checking whether  accepts -g... no
> 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 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 static flag -static 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... no
> 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
> appending configuration tag "F77" to libtool
> checking whether we are using the GNU C++ compiler... (cached) no
> checking whether g++ accepts -g... (cached) no
> checking dependency style of g++... (cached) none
> checking for library containing strerror... none required
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether make sets $(MAKE)... (cached) 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 sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking for strchr... yes
> checking for memcpy... yes
> checking for gettimeofday... 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 if gcc supports -pedantic... yes
> checking if gcc supports -Wall... (cached) yes
> checking if gcc supports -ansi... (cached) yes
> checking if gcc supports -Wno-long-long... (cached) yes
> checking whether int64_t is 64 bits... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating build/Makefile
> config.status: creating build/msvc80/Makefile
> config.status: creating build/msvc80/geos_c_dll/Makefile
> config.status: creating build/msvc80/geos_lib/Makefile
> config.status: creating build/msvc80/geos_python/Makefile
> config.status: creating build/msvc80/geos_ruby/Makefile
> config.status: creating build/msvc80/geos_unit/Makefile
> config.status: creating build/msvc90/Makefile
> config.status: creating build/msvc90/geos_c_dll/Makefile
> config.status: creating build/msvc90/geos_lib/Makefile
> config.status: creating build/msvc90/geos_python/Makefile
> config.status: creating build/msvc90/geos_ruby/Makefile
> config.status: creating build/msvc90/geos_unit/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/algorithm/locate/Makefile
> config.status: creating source/geom/Makefile
> config.status: creating source/geom/prep/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 source/headers/geos/algorithm/Makefile
> config.status: creating source/headers/geos/algorithm/locate/Makefile
> config.status: creating source/headers/geos/geom/Makefile
> config.status: creating source/headers/geos/geom/prep/Makefile
> config.status: creating source/headers/geos/geom/util/Makefile
> config.status: creating source/headers/geos/geomgraph/Makefile
> config.status: creating source/headers/geos/geomgraph/index/Makefile
> config.status: creating source/headers/geos/index/Makefile
> config.status: creating source/headers/geos/index/bintree/Makefile
> config.status: creating source/headers/geos/index/chain/Makefile
> config.status: creating source/headers/geos/index/intervalrtree/Makefile
> config.status: creating source/headers/geos/index/quadtree/Makefile
> config.status: creating source/headers/geos/index/strtree/Makefile
> config.status: creating source/headers/geos/index/sweepline/Makefile
> config.status: creating source/headers/geos/io/Makefile
> config.status: creating source/headers/geos/noding/Makefile
> config.status: creating source/headers/geos/noding/snapround/Makefile
> config.status: creating source/headers/geos/operation/Makefile
> config.status: creating source/headers/geos/operation/buffer/Makefile
> config.status: creating source/headers/geos/operation/distance/Makefile
> config.status: creating source/headers/geos/operation/linemerge/Makefile
> config.status: creating source/headers/geos/operation/overlay/Makefile
> config.status: creating
> source/headers/geos/operation/polygonize/Makefile
> config.status: creating source/headers/geos/operation/predicate/Makefile
> config.status: creating source/headers/geos/operation/relate/Makefile
> config.status: creating source/headers/geos/operation/union/Makefile
> config.status: creating source/headers/geos/operation/valid/Makefile
> config.status: creating source/headers/geos/planargraph/Makefile
> config.status: creating
> source/headers/geos/planargraph/algorithm/Makefile
> config.status: creating source/headers/geos/precision/Makefile
> config.status: creating source/headers/geos/simplify/Makefile
> config.status: creating source/headers/geos/util/Makefile
> config.status: creating source/headers/geos/version.h
> config.status: creating source/index/Makefile
> config.status: creating source/index/bintree/Makefile
> config.status: creating source/index/chain/Makefile
> config.status: creating source/index/intervalrtree/Makefile
> config.status: creating source/index/quadtree/Makefile
> config.status: creating source/index/strtree/Makefile
> config.status: creating source/index/sweepline/Makefile
> config.status: creating source/io/Makefile
> config.status: creating source/noding/Makefile
> config.status: creating source/noding/snapround/Makefile
> config.status: creating source/operation/Makefile
> config.status: creating source/operation/buffer/Makefile
> config.status: creating source/operation/distance/Makefile
> config.status: creating source/operation/linemerge/Makefile
> config.status: creating source/operation/overlay/Makefile
> config.status: creating source/operation/polygonize/Makefile
> config.status: creating source/operation/predicate/Makefile
> config.status: creating source/operation/relate/Makefile
> config.status: creating source/operation/union/Makefile
> config.status: creating source/operation/valid/Makefile
> config.status: creating source/planargraph/Makefile
> config.status: creating source/precision/Makefile
> config.status: creating source/simplify/Makefile
> config.status: creating source/util/Makefile
> config.status: creating swig/geos.i
> config.status: creating swig/Makefile
> config.status: creating swig/python/Makefile
> config.status: creating swig/python/tests/Makefile
> config.status: creating swig/ruby/Makefile
> config.status: creating swig/ruby/test/Makefile
> config.status: creating tests/Makefile
> config.status: creating tests/bigtest/Makefile
> config.status: creating tests/unit/Makefile
> config.status: creating tests/tut/Makefile
> config.status: creating tests/xmltester/Makefile
> config.status: creating tools/Makefile
> config.status: creating tools/geos-config
> config.status: creating source/headers/config.h
> config.status: creating source/headers/geos/platform.h
> config.status: executing depfiles commands
> Swig: false
> Python: false
> Ruby: false
>
>
> make
> Making all in build
> make[1]: Entering directory `/gis/source_code/geos-3.1.1/build'
> Making all in msvc80
> make[2]: Entering directory `/gis/source_code/geos-3.1.1/build/msvc80'
> Making all in geos_c_dll
> make[3]: Entering directory
> `/gis/source_code/geos-3.1.1/build/msvc80/geos_c_dll'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/gis/source_code/geos-3.1.1/build/msvc80/geos_c_dll'
> Making all in geos_lib
> make[3]: Entering directory
> `/gis/source_code/geos-3.1.1/build/msvc80/geos_lib'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/gis/source_code/geos-3.1.1/build/msvc80/geos_lib'
> Making all in geos_python
> make[3]: Entering directory
> `/gis/source_code/geos-3.1.1/build/msvc80/geos_python'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/gis/source_code/geos-3.1.1/build/msvc80/geos_python'
> Making all in geos_ruby
> make[3]: Entering directory
> `/gis/source_code/geos-3.1.1/build/msvc80/geos_ruby'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/gis/source_code/geos-3.1.1/build/msvc80/geos_ruby'
> Making all in geos_unit
> make[3]: Entering directory
> `/gis/source_code/geos-3.1.1/build/msvc80/geos_unit'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/gis/source_code/geos-3.1.1/build/msvc80/geos_unit'
> make[3]: Entering directory `/gis/source_code/geos-3.1.1/build/msvc80'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/gis/source_code/geos-3.1.1/build/msvc80'
> make[2]: Leaving directory `/gis/source_code/geos-3.1.1/build/msvc80'
> Making all in msvc90
> make[2]: Entering directory `/gis/source_code/geos-3.1.1/build/msvc90'
> Making all in geos_c_dll
> make[3]: Entering directory
> `/gis/source_code/geos-3.1.1/build/msvc90/geos_c_dll'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/gis/source_code/geos-3.1.1/build/msvc90/geos_c_dll'
> Making all in geos_lib
> make[3]: Entering directory
> `/gis/source_code/geos-3.1.1/build/msvc90/geos_lib'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/gis/source_code/geos-3.1.1/build/msvc90/geos_lib'
> Making all in geos_python
> make[3]: Entering directory
> `/gis/source_code/geos-3.1.1/build/msvc90/geos_python'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/gis/source_code/geos-3.1.1/build/msvc90/geos_python'
> Making all in geos_ruby
> make[3]: Entering directory
> `/gis/source_code/geos-3.1.1/build/msvc90/geos_ruby'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/gis/source_code/geos-3.1.1/build/msvc90/geos_ruby'
> Making all in geos_unit
> make[3]: Entering directory
> `/gis/source_code/geos-3.1.1/build/msvc90/geos_unit'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/gis/source_code/geos-3.1.1/build/msvc90/geos_unit'
> make[3]: Entering directory `/gis/source_code/geos-3.1.1/build/msvc90'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/gis/source_code/geos-3.1.1/build/msvc90'
> make[2]: Leaving directory `/gis/source_code/geos-3.1.1/build/msvc90'
> make[2]: Entering directory `/gis/source_code/geos-3.1.1/build'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory `/gis/source_code/geos-3.1.1/build'
> make[1]: Leaving directory `/gis/source_code/geos-3.1.1/build'
> Making all in source
> make[1]: Entering directory `/gis/source_code/geos-3.1.1/source'
> Making all in algorithm
> make[2]: Entering directory
> `/gis/source_code/geos-3.1.1/source/algorithm'
> Making all in locate
> make[3]: Entering directory
> `/gis/source_code/geos-3.1.1/source/algorithm/locate'
> make[4]: Entering directory
> `/gis/source_code/geos-3.1.1/source/algorithm/locate'
> source='IndexedPointInAreaLocator.cpp'
> object='IndexedPointInAreaLocator.lo' libtool=yes \
>        DEPDIR=.deps depmode=none /bin/sh ../../../depcomp \
>        /bin/sh ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
> -I. -I../../../source/headers -I../../../source/headers/geos
> -I../../../source/headers     -DGEOS_INLINE  -pedantic -Wall -ansi
> -Wno-long-long -c -o IndexedPointInAreaLocator.lo
> IndexedPointInAreaLocator.cpp
> libtool: ignoring unknown tag CXX
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I../../../source/headers
> -I../../../source/headers/geos -I../../../source/headers -DGEOS_INLINE
> -pedantic -Wall -ansi -Wno-long-long -c IndexedPointInAreaLocator.cpp
> -fPIC -DPIC -o .libs/IndexedPointInAreaLocator.o
> ../../../libtool: line 1281: g++: command not found
> make[4]: *** [IndexedPointInAreaLocator.lo] Error 1
> make[4]: Leaving directory
> `/gis/source_code/geos-3.1.1/source/algorithm/locate'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/gis/source_code/geos-3.1.1/source/algorithm/locate'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/gis/source_code/geos-3.1.1/source/algorithm'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/gis/source_code/geos-3.1.1/source'
> make: *** [all-recursive] Error 1
>
>
>
> _______________________________________________
> geos-devel mailing list
> geos-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geos-devel
>


More information about the geos-devel mailing list