It's very weird that the C++ preprocessor is getting set to "-E". Can you run /usr/bin/env in the shell you're using to build? About the only thing I can see in the configure script that would cause this is if you had CXXCPP set in your build environment to -E, which seems odd. But I don't see any other reason for this logic to fail.

If you don't care about having RLS (which uses the sqlite in our build), you can edit the GT4.2.0 Makefile and remove rls from the all: target at the top. I am interested, though, to figure out what went wrong.


Charles

On Jul 18, 2008, at 7:57 PM, Phung, Minh Hoang wrote:

Charles Bacon wrote:
I need the whole config.log from /usr/local/globus-4.2.0/gt4.2.0- all-source-installer/source-trees-thr/database/c/sqlite/ sqlite-3.3.17 please.

Thanks,

Charles

On Jul 16, 2008, at 9:19 PM, Phung, Minh Hoang wrote:

Hi all,

I'm building the new GT4.2 on a Centos5, x86_64 machine and encounter error with sqlite. I have both sqlite and sqlite-devel version 3.3.6-2 installed. Can someone help me? Below are the install.log file and the config.log file in sqlite directory (I only quote the relevant parts). Thanks very much.

Hi Charles,

The config.log file is below. Thanks a lot.


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.61.  Invocation command line was

$ ./configure --prefix=/usr/local/globus-4.2.0 --enable-threadsafe -- disable-tcl

## --------- ##
## Platform. ##
## --------- ##

hostname = dermatology.it.uts.edu.au
uname -m = x86_64
uname -r = 2.6.18-8.el5
uname -s = Linux
uname -v = #1 SMP Thu Mar 15 19:46:53 EDT 2007

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/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/bin
PATH: /usr/local/apache-ant-1.7.0/bin
PATH: /usr/java/jdk1.6.0_06/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /home/phungmh/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2048: checking build system type
configure:2066: result: x86_64-unknown-linux-gnu
configure:2088: checking host system type
configure:2103: result: x86_64-unknown-linux-gnu
configure:2173: checking for gcc
configure:2200: result: /usr/bin/gcc
configure:2438: checking for C compiler version
configure:2445: /usr/bin/gcc --version >&5
gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
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:2448: $? = 0
configure:2455: /usr/bin/gcc -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/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=x86_64-redhat- linux
Thread model: posix
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
configure:2458: $? = 0
configure:2465: /usr/bin/gcc -V >&5
gcc: '-V' option must have argument
configure:2468: $? = 1
configure:2491: checking for C compiler default output file name
configure:2518: /usr/bin/gcc -g -m64 -pthread -D_REENTRANT -Wall - I/usr/local/globus-4.2.0/include -I/usr/local/globus-4.2.0/include/ gcc64dbgpthr -L/usr/local/globus-4.2.0/lib -m64 conftest.c >&5
configure:2521: $? = 0
configure:2559: result: a.out
configure:2576: checking whether the C compiler works
configure:2586: ./a.out
configure:2589: $? = 0
configure:2606: result: yes
configure:2613: checking whether we are cross compiling
configure:2615: result: no
configure:2618: checking for suffix of executables
configure:2625: /usr/bin/gcc -o conftest -g -m64 -pthread - D_REENTRANT -Wall -I/usr/local/globus-4.2.0/include -I/usr/local/ globus-4.2.0/include/gcc64dbgpthr -L/usr/local/globus-4.2.0/lib - m64 conftest.c >&5
configure:2628: $? = 0
configure:2652: result:
configure:2658: checking for suffix of object files
configure:2684: /usr/bin/gcc -c -g -m64 -pthread -D_REENTRANT - Wall -I/usr/local/globus-4.2.0/include -I/usr/local/globus-4.2.0/ include/gcc64dbgpthr conftest.c >&5
configure:2687: $? = 0
configure:2710: result: o
configure:2714: checking whether we are using the GNU C compiler
configure:2743: /usr/bin/gcc -c -g -m64 -pthread -D_REENTRANT - Wall -I/usr/local/globus-4.2.0/include -I/usr/local/globus-4.2.0/ include/gcc64dbgpthr conftest.c >&5
configure:2749: $? = 0
configure:2766: result: yes
configure:2771: checking whether /usr/bin/gcc accepts -g
configure:2801: /usr/bin/gcc -c -g -I/usr/local/globus-4.2.0/ include -I/usr/local/globus-4.2.0/include/gcc64dbgpthr conftest.c >&5
configure:2807: $? = 0
configure:2906: result: yes
configure:2923: checking for /usr/bin/gcc option to accept ISO C89
configure:2997: /usr/bin/gcc -c -g -m64 -pthread -D_REENTRANT - Wall -I/usr/local/globus-4.2.0/include -I/usr/local/globus-4.2.0/ include/gcc64dbgpthr conftest.c >&5
configure:3003: $? = 0
configure:3026: result: none needed
configure:3044: checking for a sed that does not truncate output
configure:3098: result: /bin/sed
configure:3101: checking for grep that handles long lines and -e
configure:3175: result: /bin/grep
configure:3180: checking for egrep
configure:3258: result: /bin/grep -E
configure:3274: checking for ld used by /usr/bin/gcc
configure:3341: result: /usr/bin/ld
configure:3350: checking if the linker (/usr/bin/ld) is GNU ld
configure:3365: result: yes
configure:3370: checking for /usr/bin/ld option to reload object files
configure:3377: result: -r
configure:3395: checking for BSD-compatible nm
configure:3444: result: /usr/bin/nm -B
configure:3448: checking whether ln -s works
configure:3452: result: yes
configure:3459: checking how to recognise dependent libraries
configure:3635: result: pass_all
configure:3723: /usr/bin/gcc -c -g -m64 -pthread -D_REENTRANT - Wall -I/usr/local/globus-4.2.0/include -I/usr/local/globus-4.2.0/ include/gcc64dbgpthr conftest.c >&5
configure:3726: $? = 0
configure:3869: checking how to run the C preprocessor
configure:3985: result: /usr/bin/gcc -E
configure:4014: /usr/bin/gcc -E -I/usr/local/globus-4.2.0/include - I/usr/local/globus-4.2.0/include/gcc64dbgpthr conftest.c
configure:4020: $? = 0
configure:4051: /usr/bin/gcc -E -I/usr/local/globus-4.2.0/include - I/usr/local/globus-4.2.0/include/gcc64dbgpthr conftest.c
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
configure:4057: $? = 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:4095: checking for ANSI C header files
configure:4125: /usr/bin/gcc -c -g -m64 -pthread -D_REENTRANT - Wall -I/usr/local/globus-4.2.0/include -I/usr/local/globus-4.2.0/ include/gcc64dbgpthr conftest.c >&5
configure:4131: $? = 0
configure:4230: /usr/bin/gcc -o conftest -g -m64 -pthread - D_REENTRANT -Wall -I/usr/local/globus-4.2.0/include -I/usr/local/ globus-4.2.0/include/gcc64dbgpthr -L/usr/local/globus-4.2.0/lib - m64 conftest.c >&5
configure:4233: $? = 0
configure:4239: ./conftest
configure:4242: $? = 0
configure:4259: result: yes
configure:4283: checking for sys/types.h
configure:4304: /usr/bin/gcc -c -g -m64 -pthread -D_REENTRANT - Wall -I/usr/local/globus-4.2.0/include -I/usr/local/globus-4.2.0/ include/gcc64dbgpthr conftest.c >&5
configure:4310: $? = 0
configure:4326: result: yes
configure:4283: checking for sys/stat.h
configure:4304: /usr/bin/gcc -c -g -m64 -pthread -D_REENTRANT - Wall -I/usr/local/globus-4.2.0/include -I/usr/local/globus-4.2.0/ include/gcc64dbgpthr conftest.c >&5
configure:4310: $? = 0
configure:4326: result: yes
configure:4283: checking for stdlib.h
configure:4304: /usr/bin/gcc -c -g -m64 -pthread -D_REENTRANT - Wall -I/usr/local/globus-4.2.0/include -I/usr/local/globus-4.2.0/ include/gcc64dbgpthr conftest.c >&5
configure:4310: $? = 0
configure:4326: result: yes
configure:4283: checking for string.h
configure:4304: /usr/bin/gcc -c -g -m64 -pthread -D_REENTRANT - Wall -I/usr/local/globus-4.2.0/include -I/usr/local/globus-4.2.0/ include/gcc64dbgpthr conftest.c >&5
configure:4310: $? = 0
configure:4326: result: yes
configure:4283: checking for memory.h
configure:4304: /usr/bin/gcc -c -g -m64 -pthread -D_REENTRANT - Wall -I/usr/local/globus-4.2.0/include -I/usr/local/globus-4.2.0/ include/gcc64dbgpthr conftest.c >&5
configure:4310: $? = 0
configure:4326: result: yes
configure:4283: checking for strings.h
configure:4304: /usr/bin/gcc -c -g -m64 -pthread -D_REENTRANT - Wall -I/usr/local/globus-4.2.0/include -I/usr/local/globus-4.2.0/ include/gcc64dbgpthr conftest.c >&5
configure:4310: $? = 0
configure:4326: result: yes
configure:4283: checking for inttypes.h
configure:4304: /usr/bin/gcc -c -g -m64 -pthread -D_REENTRANT - Wall -I/usr/local/globus-4.2.0/include -I/usr/local/globus-4.2.0/ include/gcc64dbgpthr conftest.c >&5
configure:4310: $? = 0
configure:4326: result: yes
configure:4283: checking for stdint.h
configure:4304: /usr/bin/gcc -c -g -m64 -pthread -D_REENTRANT - Wall -I/usr/local/globus-4.2.0/include -I/usr/local/globus-4.2.0/ include/gcc64dbgpthr conftest.c >&5
configure:4310: $? = 0
configure:4326: result: yes
configure:4283: checking for unistd.h
configure:4304: /usr/bin/gcc -c -g -m64 -pthread -D_REENTRANT - Wall -I/usr/local/globus-4.2.0/include -I/usr/local/globus-4.2.0/ include/gcc64dbgpthr conftest.c >&5
configure:4310: $? = 0
configure:4326: result: yes
configure:4353: checking dlfcn.h usability
configure:4370: /usr/bin/gcc -c -g -m64 -pthread -D_REENTRANT - Wall -I/usr/local/globus-4.2.0/include -I/usr/local/globus-4.2.0/ include/gcc64dbgpthr conftest.c >&5
configure:4376: $? = 0
configure:4390: result: yes
configure:4394: checking dlfcn.h presence
configure:4409: /usr/bin/gcc -E -I/usr/local/globus-4.2.0/include - I/usr/local/globus-4.2.0/include/gcc64dbgpthr conftest.c
configure:4415: $? = 0
configure:4429: result: yes
configure:4457: checking for dlfcn.h
configure:4465: result: yes
configure:4594: checking for C++ compiler version
configure:4601: g++ --version >&5
g++ (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
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:4604: $? = 0
configure:4611: g++ -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/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=x86_64-redhat- linux
Thread model: posix
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
configure:4614: $? = 0
configure:4621: g++ -V >&5
g++: '-V' option must have argument
configure:4624: $? = 1
configure:4627: checking whether we are using the GNU C++ compiler
configure:4656: g++ -c -g -m64 -I/usr/local/globus-4.2.0/include -I/usr/local/globus-4.2.0/include/gcc64dbgpthr conftest.cpp >&5
configure:4662: $? = 0
configure:4679: result: yes
configure:4684: checking whether g++ accepts -g
configure:4714: g++ -c -g -I/usr/local/globus-4.2.0/include -I/usr/ local/globus-4.2.0/include/gcc64dbgpthr conftest.cpp >&5
configure:4720: $? = 0
configure:4819: result: yes
configure:4852: checking how to run the C++ preprocessor
configure:4964: result:  -E
configure:4993: -E -I/usr/local/globus-4.2.0/include -I/usr/local/ globus-4.2.0/include/gcc64dbgpthr conftest.cpp
./configure: line 4994: -E: command not found
configure:4999: $? = 127
configure: failed program was:
| /* 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_DLFCN_H 1
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|              Syntax error
configure:4993: -E -I/usr/local/globus-4.2.0/include -I/usr/local/ globus-4.2.0/include/gcc64dbgpthr conftest.cpp
./configure: line 4994: -E: command not found
configure:4999: $? = 127
configure: failed program was:
| /* 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_DLFCN_H 1
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|              Syntax error
configure:5061: error: C++ preprocessor " -E" fails sanity check
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/bin/gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g   -m64 -pthread -D_REENTRANT -Wall'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=' -I/usr/local/globus-4.2.0/include -I/usr/ local/globus-4.2.0/include/gcc64dbgpthr'
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value='/usr/bin/gcc -E'
ac_cv_env_CXXCPP_set=set
ac_cv_env_CXXCPP_value=' -E'
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-g   -m64 '
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=g++
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' -L/usr/local/globus-4.2.0/lib -m64 '
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_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_dlfcn_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=x86_64-unknown-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_prog_CPP='/usr/bin/gcc -E'
ac_cv_prog_CXXCPP=' -E'
ac_cv_prog_ac_ct_CC=/usr/bin/gcc
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_SED=/bin/sed
lt_cv_prog_gnu_ld=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ALLOWRELEASE=''
AR='/usr/bin/ar'
AWK=''
BUILD_CC=''
BUILD_CFLAGS=''
BUILD_EXEEXT=''
CC='/usr/bin/gcc'
CFLAGS='-g   -m64 -pthread -D_REENTRANT -Wall'
CPP='/usr/bin/gcc -E'
CPPFLAGS=' -I/usr/local/globus-4.2.0/include -I/usr/local/ globus-4.2.0/include/gcc64dbgpthr'
CXX='g++'
CXXCPP=' -E'
CXXFLAGS='-g   -m64 '
DEFS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
F77=''
FFLAGS=''
GREP='/bin/grep'
HAVE_TCL=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS=' -L/usr/local/globus-4.2.0/lib -m64 '
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S='ln -s'
LTLIBOBJS=''
OBJEXT='o'
OS_OS2=''
OS_UNIX=''
OS_WIN=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='/usr/bin/ranlib'
RELEASE=''
SHELL='/bin/sh'
STRIP=''
TARGET_DEBUG=''
TARGET_EXEEXT=''
TARGET_HAVE_READLINE=''
TARGET_READLINE_INC=''
TARGET_READLINE_LIBS=''
TARGET_THREAD_LIB=''
TCL_BIN_DIR=''
TCL_INCLUDE_SPEC=''
TCL_LIBS=''
TCL_LIB_FILE=''
TCL_LIB_FLAG=''
TCL_LIB_SPEC=''
TCL_SRC_DIR=''
TCL_STUB_LIB_FILE=''
TCL_STUB_LIB_FLAG=''
TCL_STUB_LIB_SPEC=''
TCL_VERSION=''
TEMP_STORE=''
THREADSAFE=''
THREADSOVERRIDELOCKS=''
VERSION=''
VERSION_NUMBER=''
XTHREADCONNECT=''
ac_ct_CC='/usr/bin/gcc'
ac_ct_CXX=''
ac_ct_F77=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
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='/usr/local/globus-4.2.0'
program_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_DLFCN_H 1

configure: exit 1

Reply via email to