[postgis-users] error installing postgis 1.3.5 with postgres
8.0/rhel5
Shad Keene
shadkeene at hotmail.com
Thu Apr 16 09:31:09 PDT 2009
Skipped content of type multipart/alternative-------------- next part --------------
It is not immediately evident why the postGIS configure gives the error
about requires postgresSQL. With the earlier error one could see exactly
what postGIS configure was testing. This one just aborts with a non-zero
exit code.
[root at zoa-project postgis-1.3.5]# more config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = zoa-project
uname -m = i686
uname -r = 2.6.18-128.1.6.el5
uname -s = Linux
uname -v = #1 SMP Tue Mar 24 12:10:27 EDT 2009
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1793: checking for gcc
configure:1809: found /usr/bin/gcc
configure:1820: result: gcc
configure:2058: checking for C compiler version
configure:2065: gcc --version >&5
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2068: $? = 0
configure:2075: gcc -v >&5
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/u
sr/share/info --enable-shared --enable-threads=posix
--enable-checking=release -
-with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-
libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable
-java-awt=gtk --disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-
1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
configure:2078: $? = 0
configure:2085: gcc -V >&5
gcc: '-V' option must have argument
configure:2088: $? = 1
configure:2111: checking for C compiler default output file name
configure:2138: gcc conftest.c >&5
configure:2141: $? = 0
configure:2187: result: a.out
configure:2192: checking whether the C compiler works
configure:2202: ./a.out
configure:2205: $? = 0
configure:2222: result: yes
configure:2229: checking whether we are cross compiling
configure:2231: result: no
configure:2234: checking for suffix of executables
configure:2241: gcc -o conftest conftest.c >&5
configure:2244: $? = 0
configure:2268: result:
configure:2274: checking for suffix of object files
configure:2300: gcc -c conftest.c >&5
configure:2303: $? = 0
configure:2326: result: o
configure:2330: checking whether we are using the GNU C compiler
configure:2359: gcc -c conftest.c >&5
configure:2365: $? = 0
configure:2372: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:2375: $? = 0
configure:2382: test -s conftest.o
configure:2385: $? = 0
configure:2399: result: yes
configure:2404: checking whether gcc accepts -g
configure:2434: gcc -c -g conftest.c >&5
configure:2440: $? = 0
configure:2447: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:2450: $? = 0
configure:2457: test -s conftest.o
configure:2460: $? = 0
configure:2590: result: yes
configure:2607: checking for gcc option to accept ISO C89
configure:2681: gcc -c -g -O2 conftest.c >&5
configure:2687: $? = 0
configure:2694: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:2697: $? = 0
configure:2704: test -s conftest.o
configure:2707: $? = 0
configure:2727: result: none needed
configure:2803: checking for g++
configure:2833: result: no
configure:2803: checking for c++
configure:2833: result: no
configure:2803: checking for gpp
configure:2833: result: no
configure:2803: checking for aCC
configure:2833: result: no
configure:2803: checking for CC
configure:2833: result: no
configure:2803: checking for cxx
configure:2833: result: no
configure:2803: checking for cc++
configure:2833: result: no
configure:2803: checking for cl.exe
configure:2833: result: no
configure:2803: checking for FCC
configure:2833: result: no
configure:2803: checking for KCC
configure:2833: result: no
configure:2803: checking for RCC
configure:2833: result: no
configure:2803: checking for xlC_r
configure:2833: result: no
configure:2803: checking for xlC
configure:2833: result: no
configure:2861: checking for C++ compiler version
configure:2868: g++ --version >&5
./configure: line 2869: g++: command not found
configure:2871: $? = 127
configure:2878: g++ -v >&5
./configure: line 2879: g++: command not found
configure:2881: $? = 127
configure:2888: g++ -V >&5
./configure: line 2889: g++: command not found
configure:2891: $? = 127
configure:2894: checking whether we are using the GNU C++ compiler
configure:2923: g++ -c conftest.cpp >&5
./configure: line 2924: g++: command not found
configure:2929: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
| #ifndef __GNUC__
| choke me
| #endif
|
| ;
| return 0;
| }
configure:2963: result: no
configure:2968: checking whether g++ accepts -g
configure:2998: g++ -c -g conftest.cpp >&5
./configure: line 2999: g++: command not found
configure:3004: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3053: g++ -c conftest.cpp >&5
./configure: line 3054: g++: command not found
configure:3059: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3109: g++ -c -g conftest.cpp >&5
./configure: line 3110: g++: command not found
configure:3115: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3154: result: no
configure:3177: checking whether ln -s works
configure:3181: result: yes
configure:3205: checking for iconv_open in -liconv
configure:3240: gcc -o conftest -g -O2 conftest.c -liconv >&5
/usr/bin/ld: cannot find -liconv
collect2: ld returned 1 exit status
configure:3246: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char iconv_open ();
| int
| main ()
| {
| return iconv_open ();
| ;
| return 0;
| }
configure:3280: result: no
configure:3287: checking for libiconv_open in -liconv
configure:3322: gcc -o conftest -g -O2 conftest.c -liconv >&5
/usr/bin/ld: cannot find -liconv
collect2: ld returned 1 exit status
configure:3328: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char libiconv_open ();
| int
| main ()
| {
| return libiconv_open ();
| ;
| return 0;
| }
configure:3362: result: no
configure:3369: checking for iconv_open in -lc
configure:3405: gcc -o conftest -g -O2 conftest.c -lc >&5
configure:3411: $? = 0
configure:3418: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:3421: $? = 0
configure:3428: test -s conftest
configure:3431: $? = 0
configure:3445: result: yes
configure:3468: checking how to run the C preprocessor
configure:3508: gcc -E conftest.c
configure:3514: $? = 0
configure:3552: gcc -E conftest.c
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
configure:3558: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3598: result: gcc -E
configure:3627: gcc -E conftest.c
configure:3633: $? = 0
configure:3671: gcc -E conftest.c
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
configure:3677: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3722: checking for grep that handles long lines and -e
configure:3796: result: /bin/grep
configure:3801: checking for egrep
configure:3879: result: /bin/grep -E
configure:3884: checking for ANSI C header files
configure:3914: gcc -c -g -O2 conftest.c >&5
configure:3920: $? = 0
configure:3927: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:3930: $? = 0
configure:3937: test -s conftest.o
configure:3940: $? = 0
configure:4036: gcc -o conftest -g -O2 conftest.c >&5
configure:4039: $? = 0
configure:4045: ./conftest
configure:4048: $? = 0
configure:4065: result: yes
configure:4089: checking for sys/types.h
configure:4110: gcc -c -g -O2 conftest.c >&5
configure:4116: $? = 0
configure:4123: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:4126: $? = 0
configure:4133: test -s conftest.o
configure:4136: $? = 0
configure:4149: result: yes
configure:4089: checking for sys/stat.h
configure:4110: gcc -c -g -O2 conftest.c >&5
configure:4116: $? = 0
configure:4123: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:4126: $? = 0
configure:4133: test -s conftest.o
configure:4136: $? = 0
configure:4149: result: yes
configure:4089: checking for stdlib.h
configure:4110: gcc -c -g -O2 conftest.c >&5
configure:4116: $? = 0
configure:4123: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:4126: $? = 0
configure:4133: test -s conftest.o
configure:4136: $? = 0
configure:4149: result: yes
configure:4089: checking for string.h
configure:4110: gcc -c -g -O2 conftest.c >&5
configure:4116: $? = 0
configure:4123: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:4126: $? = 0
configure:4133: test -s conftest.o
configure:4136: $? = 0
configure:4149: result: yes
configure:4089: checking for memory.h
configure:4110: gcc -c -g -O2 conftest.c >&5
configure:4116: $? = 0
configure:4123: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:4126: $? = 0
configure:4133: test -s conftest.o
configure:4136: $? = 0
configure:4149: result: yes
configure:4089: checking for strings.h
configure:4110: gcc -c -g -O2 conftest.c >&5
configure:4116: $? = 0
configure:4123: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:4126: $? = 0
configure:4133: test -s conftest.o
configure:4136: $? = 0
configure:4149: result: yes
configure:4089: checking for inttypes.h
configure:4110: gcc -c -g -O2 conftest.c >&5
configure:4116: $? = 0
configure:4123: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:4126: $? = 0
configure:4133: test -s conftest.o
configure:4136: $? = 0
configure:4149: result: yes
configure:4089: checking for stdint.h
configure:4110: gcc -c -g -O2 conftest.c >&5
configure:4116: $? = 0
configure:4123: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:4126: $? = 0
configure:4133: test -s conftest.o
configure:4136: $? = 0
configure:4149: result: yes
configure:4089: checking for unistd.h
configure:4110: gcc -c -g -O2 conftest.c >&5
configure:4116: $? = 0
configure:4123: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:4126: $? = 0
configure:4133: test -s conftest.o
configure:4136: $? = 0
configure:4149: result: yes
configure:4176: checking iconv.h usability
configure:4193: gcc -c -g -O2 conftest.c >&5
configure:4199: $? = 0
configure:4206: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:4209: $? = 0
configure:4216: test -s conftest.o
configure:4219: $? = 0
configure:4230: result: yes
configure:4234: checking iconv.h presence
configure:4249: gcc -E conftest.c
configure:4255: $? = 0
configure:4276: result: yes
configure:4304: checking for iconv.h
configure:4312: result: yes
configure:4365: checking build system type
configure:4383: result: i686-pc-linux-gnu
configure:4405: checking host system type
configure:4420: result: i686-pc-linux-gnu
configure:4462: checking for pg_config
configure:4495: result: no
configure:4502: error: PostgreSQL is required by PostGIS
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=no
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_iconv_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_lib_c_iconv_open=yes
ac_cv_lib_iconv_iconv_open=no
ac_cv_lib_iconv_libiconv_open=no
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=no
## ----------------- ##
## Output variables. ##
## ----------------- ##
CC='gcc'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXFLAGS=''
DB2PDF=''
DEFS=''
DLFLAGS=''
DLLTOOL=''
DLLWRAP=''
DLSUFFIX=''
DOC_RULE=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
ELF_SYS=''
EXE=''
EXEEXT=''
FLEX=''
GEOSCONFIG=''
GEOS_DIR=''
GEOS_LDFLAGS=''
GEOS_VERNUM=''
GREP='/bin/grep'
HOST_OS=''
ICONV_LDFLAGS=''
INSTALL=''
JTSCONFIG=''
JTS_INCLUDES=''
JTS_LIBDIR=''
JW=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LN_S='ln -s'
LPATH=''
LTLIBOBJS=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PDFXMLTEX=''
PERL=''
PGBEINCLUDES=''
PGBELIBS=''
PGBIN=''
PGCONFIG=''
PGFEINCLUDES=''
PGFELIBS=''
PGTEMPLATE=''
PORTNAME=''
PROJ=''
PROJ_DIR=''
PROJ_LIBDIR=''
PWDREGRESS=''
SHELL='/bin/sh'
USE_GEOS=''
USE_ICONV='1'
USE_JTS=''
USE_PROJ=''
XSLBASE=''
XSLTPROC=''
YACC=''
YFLAGS=''
ac_ct_CC='gcc'
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_ICONV_H 1
configure: exit 1
[root at zoa-project postgis-1.3.5]#