Hello
I've downloaded Xerces-c-3.0.1 source onto HP-UX ia64 box and ran the configure
script as follows:
./configure --prefix=/site/sw/ots/xerces/xerces-c-3.0.1
--exec-prefix=/site/sw/ots/xerces/xerces-c-3.0.1 CXX=/opt/hp-gcc-4.2.1/bin/gcc
CXXFLAGS="-g"
--enable-netaccessor-socket
Configure script failed with the following results:
=========================================
checking build system type... ia64-hp-hpux11.31 checking host system type...
ia64-hp-hpux11.31 checking for a BSD-compatible install... config/install-sh -c
checking whether build environment is sane... yes checking for a thread-safe
mkdir -p... config/install-sh -c -d checking for gawk... gawk checking whether
make sets $(MAKE)... yes checking how to create a ustar tar archive... plaintar
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to use rpath... yes checking for C++ compiler default output
file name...
configure: error: C++ compiler cannot create executables See `config.log' for
more details.
config.log file: see below
==============================================
## --------- ##
## Platform. ##
## --------- ##
hostname = ddpsprdn
uname -m = ia64
uname -r = B.11.31
uname -s = HP-UX
uname -v = U
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: .
PATH: /net/sinai/home/d/dcd9420/bin
PATH: /usr/bin
PATH: /site/sw/ddps/devt/tools
PATH: /site/sw/ddps/devt/shl
PATH: /site/sw/ddps/devt/perl
PATH: /site/sw/ddps/devt/bin/hp
PATH: /site/sw/mkisofs/bin
PATH: /site/sw/microtech/bin
PATH: /site/bin
PATH: /opt/langtools/bin
PATH: /opt/java1.5/bin
PATH: /opt/pure6/bin
PATH: /usr/local/bin
PATH: /usr/lib
PATH: /site/sw/ddps/dev_usrc/eclipse/eclipse
PATH: /ots/apache-ant-1.6.2/bin
PATH: /site/sw/ddps/dev_usrc/java/jakarta-ant-1.5/bin
PATH: /opt/totalnet/bin
PATH: /ots/bin
PATH: /ots/rcs-5.7/bin
PATH: /opt/bin
PATH: /opt/perf/bin
PATH: /usr/bin
PATH: /usr/ccs/bin
PATH: /usr/contrib/bin
PATH: /usr/bin/X11
PATH: /usr/dt/bin
PATH: /usr/contrib/bin/X11
PATH: /usr/vue/bin
PATH: /usr/sbin
PATH: /opt/bin
PATH: /boeing/bin
PATH: /opt/rational/releases/PurifyPlus.7.0.0.0-010/hppa_hpux/bin
PATH: /opt/oracle/product/10.2.0
PATH: /opt/oracle/product/10.2.0/bin
PATH: /opt/oracle/local/bin
PATH: /site/sw/ots/gmake/make-3.81/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2061: checking build system type
configure:2079: result: ia64-hp-hpux11.31
configure:2101: checking host system type
configure:2116: result: ia64-hp-hpux11.31
configure:2155: checking for a BSD-compatible install
configure:2211: result: config/install-sh -c
configure:2222: checking whether build environment is sane
configure:2265: result: yes
configure:2293: checking for a thread-safe mkdir -p
configure:2332: result: config/install-sh -c -d
configure:2345: checking for gawk
configure:2361: found /ots/bin/gawk
configure:2372: result: gawk
configure:2383: checking whether make sets $(MAKE)
configure:2404: result: yes
configure:2587: checking how to create a ustar tar archive
configure:2600: tar --version
tar: s: unknown option
tar: usage tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize]
[[-C directory] file] ...
configure:2603: $? = 1
configure:2600: gnutar --version
./configure[2601]: gnutar: not found.
configure:2603: $? = 127
configure:2600: gtar --version
./configure[2601]: gtar: not found.
configure:2603: $? = 127
configure:2643: tardir=conftest.dir && eval gtar --format=ustar -chf -
"$tardir" >conftest.tar
./configure[2644]: gtar: not found.
configure:2646: $? = 127
configure:2643: tardir=conftest.dir && eval tar chf - "$tardir" >conftest.tar
configure:2646: $? = 0
configure:2650: tar xf - <conftest.tar
configure:2653: $? = 0
configure:2666: result: plaintar
configure:2673: checking whether to enable maintainer-specific portions of
Makefiles
configure:2682: result: no
configure:2697: checking whether to use rpath
configure:2706: result: yes
configure:2826: checking for C++ compiler version
configure:2833: /opt/hp-gcc-4.2.1/bin/gcc --version >&5
gcc (GCC) 4.2.1
Copyright (C) 2007 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:2836: $? = 0
configure:2843: /opt/hp-gcc-4.2.1/bin/gcc -v >&5
Using built-in specs.
Target: ia64-hp-hpux11.23
Configured with: /tmp/gcc-4.2.1.tar.gz/gcc-4.2.1/configure
--host=ia64-hp-hpux11.23 --target=ia64-hp-hpux11.23 --build=ia64-hp-hpux11.23
--prefix=/opt/hp-gcc-4.2.1 --with-gnu-as --without-gnu-ld
--with-ld=/usr/ccs/bin/ld --enable-threads=posix --enable-languages=c,c++
Thread model: posix
gcc version 4.2.1
configure:2846: $? = 0
configure:2853: /opt/hp-gcc-4.2.1/bin/gcc -V >&5
gcc: '-V' option must have argument
configure:2856: $? = 1
configure:2879: checking for C++ compiler default output file name
configure:2906: /opt/hp-gcc-4.2.1/bin/gcc -g conftest.cpp >&5
ld: Unsatisfied symbol "__gxx_personality_v0" in file /var/tmp//ccPHvmcm.o
1 errors.
collect2: ld returned 1 exit status
configure:2909: $? = 1
configure:2947: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "xerces-c"
| #define PACKAGE_TARNAME "xerces-c"
| #define PACKAGE_VERSION "3.0.1"
| #define PACKAGE_STRING "xerces-c 3.0.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "xerces-c"
| #define VERSION "3.0.1"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2953: error: C++ compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=ia64-hp-hpux11.31
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_CXXCPP_set=''
ac_cv_env_CXXCPP_value=''
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value=-g
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=/opt/hp-gcc-4.2.1/bin/gcc
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
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_host=ia64-hp-hpux11.31
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes
am_cv_prog_tar_ustar=plaintar
xerces_cv_rpath=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /site/sw/ots/xerces/xerces-c-3.0.1/config/missing --run
aclocal-1.10'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /site/sw/ots/xerces/xerces-c-3.0.1/config/missing --run tar'
AR=''
AS=''
AUTOCONF='${SHELL} /site/sw/ots/xerces/xerces-c-3.0.1/config/missing --run
autoconf'
AUTOHEADER='${SHELL} /site/sw/ots/xerces/xerces-c-3.0.1/config/missing --run
autoheader'
AUTOMAKE='${SHELL} /site/sw/ots/xerces/xerces-c-3.0.1/config/missing --run
automake-1.10'
AWK='gawk'
BUILD_SHARED=''
BUILD_STATIC=''
CC=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CURL_PREFIX=''
CXX='/opt/hp-gcc-4.2.1/bin/gcc'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-g'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DLLTOOL=''
DSYMUTIL=''
ECHO='print -r'
ECHO_C='ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
ICU_CXXFLAGS=''
ICU_PREFIX=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /site/sw/ots/xerces/xerces-c-3.0.1/config/missing --run
makeinfo'
NMEDIT=''
OBJDUMP=''
OBJEXT=''
PACKAGE='xerces-c'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='xerces-c'
PACKAGE_STRING='xerces-c 3.0.1'
PACKAGE_TARNAME='xerces-c'
PACKAGE_VERSION='3.0.1'
PATH_SEPARATOR=':'
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
SHREXT=''
STRIP=''
VERSION='3.0.1'
XERCES_PRETTY_MAKE_FALSE=''
XERCES_PRETTY_MAKE_TRUE=''
XERCES_USE_FILEMGR_POSIX_FALSE=''
XERCES_USE_FILEMGR_POSIX_TRUE=''
XERCES_USE_FILEMGR_WINDOWS_FALSE=''
XERCES_USE_FILEMGR_WINDOWS_TRUE=''
XERCES_USE_MSGLOADER_ICONV_FALSE=''
XERCES_USE_MSGLOADER_ICONV_TRUE=''
XERCES_USE_MSGLOADER_ICU_FALSE=''
XERCES_USE_MSGLOADER_ICU_TRUE=''
XERCES_USE_MSGLOADER_INMEMORY_FALSE=''
XERCES_USE_MSGLOADER_INMEMORY_TRUE=''
XERCES_USE_MUTEXMGR_NOTHREAD_FALSE=''
XERCES_USE_MUTEXMGR_NOTHREAD_TRUE=''
XERCES_USE_MUTEXMGR_POSIX_FALSE=''
XERCES_USE_MUTEXMGR_POSIX_TRUE=''
XERCES_USE_MUTEXMGR_WINDOWS_FALSE=''
XERCES_USE_MUTEXMGR_WINDOWS_TRUE=''
XERCES_USE_NETACCESSOR_CFURL_FALSE=''
XERCES_USE_NETACCESSOR_CFURL_TRUE=''
XERCES_USE_NETACCESSOR_CURL_FALSE=''
XERCES_USE_NETACCESSOR_CURL_TRUE=''
XERCES_USE_NETACCESSOR_SOCKET_FALSE=''
XERCES_USE_NETACCESSOR_SOCKET_TRUE=''
XERCES_USE_NETACCESSOR_WINSOCK_FALSE=''
XERCES_USE_NETACCESSOR_WINSOCK_TRUE=''
XERCES_USE_TRANSCODER_GNUICONV_FALSE=''
XERCES_USE_TRANSCODER_GNUICONV_TRUE=''
XERCES_USE_TRANSCODER_ICONV_FALSE=''
XERCES_USE_TRANSCODER_ICONV_TRUE=''
XERCES_USE_TRANSCODER_ICU_FALSE=''
XERCES_USE_TRANSCODER_ICU_TRUE=''
XERCES_USE_TRANSCODER_MACOSUNICODECONVERTER_FALSE=''
XERCES_USE_TRANSCODER_MACOSUNICODECONVERTER_TRUE=''
XERCES_USE_TRANSCODER_WINDOWS_FALSE=''
XERCES_USE_TRANSCODER_WINDOWS_TRUE=''
abs_top_builddir=''
abs_top_srcdir=''
ac_ct_CC=''
ac_ct_CXX=''
acx_pthread_config=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='tar chf - "$$tardir"'
am__untar='tar xf -'
bindir='${exec_prefix}/bin'
build='ia64-hp-hpux11.31'
build_alias=''
build_cpu='ia64'
build_os='hpux11.31'
build_vendor='hp'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='/site/sw/ots/xerces/xerces-c-3.0.1'
host='ia64-hp-hpux11.31'
host_alias=''
host_cpu='ia64'
host_os='hpux11.31'
host_vendor='hp'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /site/sw/ots/xerces/xerces-c-3.0.1/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/config/install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgconfigdir=''
prefix='/site/sw/ots/xerces/xerces-c-3.0.1'
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 "xerces-c"
#define PACKAGE_TARNAME "xerces-c"
#define PACKAGE_VERSION "3.0.1"
#define PACKAGE_STRING "xerces-c 3.0.1"
#define PACKAGE_BUGREPORT ""
#define PACKAGE "xerces-c"
#define VERSION "3.0.1"
configure: exit 77