Error during make when installing geos for postgis install...still trying

From: Nick <nick(dot)uebelhor(at)noaa(dot)gov>
To: pgsql-general(at)postgresql(dot)org
Subject: Error during make when installing geos for postgis install...still trying
Date: 2010-01-01 00:35:53
Message-ID: bcd6e399-2588-4315-9004-3559d09af6c5@m26g2000yqb.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Still having problems installing the geos file when trying to install
postgis...have a printout of errors we are still getting

computer/compiler/postgis info

rhel 5,

gcc-4.1.2-46el14.4.1

postgis1.4.0

below is our process and the errors we are getting, can anyone tell us
where the issue is?

[root(at)zoa-project postgis-1.4.1]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 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 fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) 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 if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
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 whether we are using the GNU C++ compiler... (cached) no
checking whether g++ accepts -g... (cached) no
checking if gcc supports -Wall... yes
checking if gcc supports -Wmissing-prototypes... yes
checking for perl... /usr/bin/perl
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking for convert... no
configure: WARNING: ImageMagick does not seem to be installed.
Documentation cannot be built
checking for xsltproc... /usr/bin/xsltproc
checking for dblatex... no
configure: WARNING: dblatex is not installed so PDF documentation
cannot be built
configure: WARNING: could not locate Docbook stylesheets required to
build the documentation
checking CUnit/CUnit.h usability... no
checking CUnit/CUnit.h presence... no
checking for CUnit/CUnit.h... no
configure: WARNING: could not locate CUnit required for liblwgeom unit
tests
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for libiconv_open in -liconv... no
checking for iconv_open in -lc... yes
checking for pg_config... /usr/bin/pg_config
checking libpq-fe.h usability... yes
checking libpq-fe.h presence... yes
checking for libpq-fe.h... yes
checking for PQserverVersion in -lpq... yes
checking for geos-config... no
configure: error: could not find geos-config within the current path.
You may need to try re-running configure with a --with-geosconfig
parameter.
[root(at)zoa-project postgis-1.4.1]#

so determine geos-config is no on the computer (results below are from
unzipped install package - geos is not "installed")

[root(at)zoa-project postgis-1.4.1]# find / | egrep -i geos-config
/usr/local/geos-3.2.0/tools/geos-config.in
/usr/local/geos-3.2.0/tools/geos-config
[root(at)zoa-project postgis-1.4.1]#

so try to install geos

[root(at)zoa-project geos-3.2.0]# ./configure

a lot of stuff goes by - no warnings - no errors

[root(at)zoa-project geos-3.2.0]# make
Making all in build
make[1]: Entering directory `/usr/local/geos-3.2.0/build'
Making all in msvc80
make[2]: Entering directory `/usr/local/geos-3.2.0/build/msvc80'
Making all in geos_c_dll
make[3]: Entering directory `/usr/local/geos-3.2.0/build/msvc80/
geos_c_dll'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/geos-3.2.0/build/msvc80/
geos_c_dll'
Making all in geos_lib
make[3]: Entering directory `/usr/local/geos-3.2.0/build/msvc80/
geos_lib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/geos-3.2.0/build/msvc80/
geos_lib'
Making all in geos_python
make[3]: Entering directory `/usr/local/geos-3.2.0/build/msvc80/
geos_python'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/geos-3.2.0/build/msvc80/
geos_python'
Making all in geos_ruby
make[3]: Entering directory `/usr/local/geos-3.2.0/build/msvc80/
geos_ruby'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/geos-3.2.0/build/msvc80/
geos_ruby'
Making all in geos_unit
make[3]: Entering directory `/usr/local/geos-3.2.0/build/msvc80/
geos_unit'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/geos-3.2.0/build/msvc80/
geos_unit'
Making all in geos_xmltester
make[3]: Entering directory `/usr/local/geos-3.2.0/build/msvc80/
geos_xmltester'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/geos-3.2.0/build/msvc80/
geos_xmltester'
make[3]: Entering directory `/usr/local/geos-3.2.0/build/msvc80'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/local/geos-3.2.0/build/msvc80'
make[2]: Leaving directory `/usr/local/geos-3.2.0/build/msvc80'
Making all in msvc90
make[2]: Entering directory `/usr/local/geos-3.2.0/build/msvc90'
Making all in geos_c_dll
make[3]: Entering directory `/usr/local/geos-3.2.0/build/msvc90/
geos_c_dll'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/geos-3.2.0/build/msvc90/
geos_c_dll'
Making all in geos_lib
make[3]: Entering directory `/usr/local/geos-3.2.0/build/msvc90/
geos_lib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/geos-3.2.0/build/msvc90/
geos_lib'
Making all in geos_python
make[3]: Entering directory `/usr/local/geos-3.2.0/build/msvc90/
geos_python'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/geos-3.2.0/build/msvc90/
geos_python'
Making all in geos_ruby
make[3]: Entering directory `/usr/local/geos-3.2.0/build/msvc90/
geos_ruby'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/geos-3.2.0/build/msvc90/
geos_ruby'
Making all in geos_unit
make[3]: Entering directory `/usr/local/geos-3.2.0/build/msvc90/
geos_unit'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/geos-3.2.0/build/msvc90/
geos_unit'
Making all in geos_xmltester
make[3]: Entering directory `/usr/local/geos-3.2.0/build/msvc90/
geos_xmltester'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/geos-3.2.0/build/msvc90/
geos_xmltester'
make[3]: Entering directory `/usr/local/geos-3.2.0/build/msvc90'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/local/geos-3.2.0/build/msvc90'
make[2]: Leaving directory `/usr/local/geos-3.2.0/build/msvc90'
Making all in msvc10
make[2]: Entering directory `/usr/local/geos-3.2.0/build/msvc10'
Making all in geos_c_dll
make[3]: Entering directory `/usr/local/geos-3.2.0/build/msvc10/
geos_c_dll'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/geos-3.2.0/build/msvc10/
geos_c_dll'
Making all in geos_lib
make[3]: Entering directory `/usr/local/geos-3.2.0/build/msvc10/
geos_lib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/geos-3.2.0/build/msvc10/
geos_lib'
Making all in geos_unit
make[3]: Entering directory `/usr/local/geos-3.2.0/build/msvc10/
geos_unit'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/geos-3.2.0/build/msvc10/
geos_unit'
Making all in geos_xmltester
make[3]: Entering directory `/usr/local/geos-3.2.0/build/msvc10/
geos_xmltester'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/geos-3.2.0/build/msvc10/
geos_xmltester'
make[3]: Entering directory `/usr/local/geos-3.2.0/build/msvc10'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/local/geos-3.2.0/build/msvc10'
make[2]: Leaving directory `/usr/local/geos-3.2.0/build/msvc10'
make[2]: Entering directory `/usr/local/geos-3.2.0/build'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/usr/local/geos-3.2.0/build'
make[1]: Leaving directory `/usr/local/geos-3.2.0/build'
Making all in source
make[1]: Entering directory `/usr/local/geos-3.2.0/source'
Making all in algorithm
make[2]: Entering directory `/usr/local/geos-3.2.0/source/algorithm'
Making all in locate
make[3]: Entering directory `/usr/local/geos-3.2.0/source/algorithm/
locate'
make[4]: Entering directory `/usr/local/geos-3.2.0/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 -ffloat-store -c -o IndexedPointInAreaLocator.lo
IndexedPointInAreaLocator.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../source/headers -
I../../../source/headers/geos -I../../../source/headers -DGEOS_INLINE -
pedantic -Wall -ansi -Wno-long-long -ffloat-store -c
IndexedPointInAreaLocator.cpp -o .libs/IndexedPointInAreaLocator.o
../../../libtool: line 990: g++: command not found
make[4]: *** [IndexedPointInAreaLocator.lo] Error 1
make[4]: Leaving directory `/usr/local/geos-3.2.0/source/algorithm/
locate'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/geos-3.2.0/source/algorithm/
locate'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/geos-3.2.0/source/algorithm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/geos-3.2.0/source'
make: *** [all-recursive] Error 1
[root(at)zoa-project geos-3.2.0]#

Don't mean to keep asking the same question over and over, I'm new at
this. Happy New Year, mine would be much happier if I could have this
all installed now!!

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Lardinois 2010-01-01 02:20:11 Save MySQL? HA
Previous Message Shu Ho 2009-12-31 23:11:12 please help