Here what i have done:
./configure 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... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-suse-linux-gnu
checking host system type... x86_64-suse-linux-gnu
checking if this is a FreeBSD 4 or earlier system... no
checking for C++ compiler default output file name...
configure: error: in `/home/andrea/Incoming/NuovaCartella/aMule-2.2.6':
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
config.log $ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = linux
uname -m = x86_64
uname -r = 2.6.27.25-0.1-default
uname -s = Linux
uname -v = #1 SMP 2009-07-01 15:37:09 +0200
/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: /home/andrea/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /usr/lib/mit/bin
PATH: /usr/lib/mit/sbin
PATH: /opt/kde3/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2182: checking for a BSD-compatible install
configure:2250: result: /usr/bin/install -c
configure:2261: checking whether build environment is sane
configure:2304: result: yes
configure:2329: checking for a thread-safe mkdir -p
configure:2368: result: /bin/mkdir -p
configure:2381: checking for gawk
configure:2397: found /usr/bin/gawk
configure:2408: result: gawk
configure:2419: checking whether make sets $(MAKE)
configure:2441: result: yes
configure:2629: checking whether to enable maintainer-specific portions of Makefiles
configure:2638: result: no
configure:2658: checking build system type
configure:2676: result: x86_64-suse-linux-gnu
configure:2698: checking host system type
configure:2713: result: x86_64-suse-linux-gnu
configure:2779: checking if this is a FreeBSD 4 or earlier system
configure:2790: result: no
configure:2916: checking for C++ compiler version
configure:2924: /usr/bin/gcc --version >&5
gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]
Copyright (C) 2008 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:2928: $? = 0
configure:2935: /usr/bin/gcc -v >&5
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux)
configure:2939: $? = 0
configure:2946: /usr/bin/gcc -V >&5
gcc: '-V' option must have argument
configure:2950: $? = 1
configure:2973: checking for C++ compiler default output file name
configure:2995: /usr/bin/gcc conftest.cpp >&5
/tmp/ccM26DEn.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit statusconfigure:2999: $? = 1
configure:3037: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "aMule"
| #define PACKAGE_TARNAME "amule"
| #define PACKAGE_VERSION "2.2.6"
| #define PACKAGE_STRING "aMule 2.2.6"
| #define PACKAGE_BUGREPORT "
admin@amule.org"
| #define PACKAGE "amule"
| #define VERSION "2.2.6"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3043: error: in `/home/andrea/Incoming/NuovaCartella/aMule-2.2.6':
configure:3046: error: C++ compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-suse-linux-gnu
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/bin/g++
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=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=/usr/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_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_RCFLAGS_set=
ac_cv_env_RCFLAGS_value=
ac_cv_env_RC_set=
ac_cv_env_RC_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_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_host=x86_64-suse-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/andrea/Incoming/NuovaCartella/aMule-2.2.6/missing --run aclocal-1.10'
ALCC_FALSE=''
ALCC_MANPAGES=''
ALCC_TRUE=''
ALC_FALSE=''
ALC_MANPAGES=''
ALC_TRUE=''
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/andrea/Incoming/NuovaCartella/aMule-2.2.6/missing --run tar'
AMULECMD_MANPAGES=''
AMULEWEB_DEFS=''
AMULE_DAEMON_FALSE=''
AMULE_DAEMON_MANPAGES=''
AMULE_DAEMON_TRUE=''
AMULE_GUI_FALSE=''
AMULE_GUI_MANPAGES=''
AMULE_GUI_TRUE=''
AR=''
AUTOCONF='${SHELL} /home/andrea/Incoming/NuovaCartella/aMule-2.2.6/missing --run autoconf'
AUTOHEADER='${SHELL} /home/andrea/Incoming/NuovaCartella/aMule-2.2.6/missing --run autoheader'
AUTOMAKE='${SHELL} /home/andrea/Incoming/NuovaCartella/aMule-2.2.6/missing --run automake-1.10'
AWK='gawk'
BFD_CPPFLAGS=''
BFD_LIBS=''
BUILD_CC=''
BUILD_CFLAGS=''
BUILD_CPPFLAGS=''
BUILD_EXEEXT=''
BUILD_INCLUDED_LIBINTL=''
BUILD_LDFLAGS=''
CAS_DEFS=''
CAS_FALSE=''
CAS_MANPAGES=''
CAS_TRUE=''
CATOBJEXT=''
CC='/usr/bin/g++'
CCDEPMODE=''
CFLAGS=''
COMPILE_CMD_FALSE=''
COMPILE_CMD_TRUE=''
COMPILE_NLS_FALSE=''
COMPILE_NLS_TRUE=''
CPP=''
CPPFLAGS=''
CRYPTOPP_CPPFLAGS=''
CRYPTOPP_LDFLAGS=''
CRYPTOPP_LIBS=''
CXX='/usr/bin/gcc'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ED2K_FALSE=''
ED2K_MANPAGES=''
ED2K_TRUE=''
EGREP=''
ENABLE_IP2COUNTRY_FALSE=''
ENABLE_IP2COUNTRY_TRUE=''
ENABLE_UPNP_FALSE=''
ENABLE_UPNP_TRUE=''
EXEEXT=''
GDLIB_CFLAGS=''
GDLIB_CONFIG_PATH=''
GDLIB_LDFLAGS=''
GDLIB_LIBS=''
GENCAT=''
GENERATE_FLEX_HEADER_FALSE=''
GENERATE_FLEX_HEADER_TRUE=''
GEOIP_CPPFLAGS=''
GEOIP_LDFLAGS=''
GEOIP_LIBS=''
GLIBC21=''
GMSGFMT=''
GREP=''
INCINTL=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_SKINS_FALSE=''
INSTALL_SKINS_TRUE=''
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INSTOBJEXT=''
INTLBISON=''
INTLLIBS=''
INTLOBJS=''
INTL_LIBTOOL_SUFFIX_PREFIX=''
LD=''
LDFLAGS=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBPNG_CFLAGS=''
LIBPNG_CONFIG_PATH=''
LIBPNG_LDFLAGS=''
LIBPNG_LIBS=''
LIBS=''
LIBUPNP_CFLAGS=''
LIBUPNP_CPPFLAGS=''
LIBUPNP_LDFLAGS=''
LIBUPNP_LIBS=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/andrea/Incoming/NuovaCartella/aMule-2.2.6/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
MKINSTALLDIRS=''
MONOLITHIC_FALSE=''
MONOLITHIC_MANPAGES=''
MONOLITHIC_TRUE=''
MSGFMT=''
MSGMERGE=''
MULECFLAGS=''
MULECPPFLAGS=''
MULECXXFLAGS=''
MULELDFLAGS=' -lpthread'
MULERCFLAGS=''
NEED_CORESERVICES_FALSE=''
NEED_CORESERVICES_TRUE=''
NEED_RC_FALSE=''
NEED_RC_TRUE=''
OBJEXT=''
PACKAGE='amule'
PACKAGE_BUGREPORT='admin@amule.org'
PACKAGE_NAME='aMule'
PACKAGE_STRING='aMule 2.2.6'
PACKAGE_TARNAME='amule'
PACKAGE_VERSION='2.2.6'
PATH_SEPARATOR=':'
PKG_CONFIG=''
POSUB=''
POW_LIB=''
RANLIB=''
RC=''
RCFLAGS=''
READLINE_LIBS=''
REGEX_LIBS=''
RESOLV_LIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
SVNDATE=''
SYS_WIN32_FALSE=''
SYS_WIN32_TRUE=''
USE_INCLUDED_LIBINTL=''
USE_NLS=''
VERSION='2.2.6'
WEB_FALSE=''
WEB_MANPAGES=''
WEB_TRUE=''
WXBASE_CPPFLAGS=''
WXBASE_LIBS=''
WXCAS_FALSE=''
WXCAS_MANPAGES=''
WXCAS_TRUE=''
WX_CFLAGS=''
WX_CFLAGS_ONLY=''
WX_CONFIG_PATH=''
WX_CPPFLAGS=''
WX_CXXFLAGS=''
WX_CXXFLAGS_ONLY=''
WX_DEBUG=''
WX_LIBS=''
WX_LIBS_STATIC=''
WX_PORT=''
WX_RESCOMP=''
WX_SHARED=''
WX_UNICODE=''
WX_VERSION_FULL=''
WX_VERSION_MAJOR=''
WX_VERSION_MINOR=''
X11LIBS=''
XGETTEXT=''
XMKMF=''
YACC=''
YFLAGS=''
ZLIB_CPPFLAGS=''
ZLIB_LDFLAGS=''
ZLIB_LIBS=''
ac_ct_BUILD_CC=''
ac_ct_CC=''
ac_ct_CXX=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-suse-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='suse'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-suse-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='suse'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /home/andrea/Incoming/NuovaCartella/aMule-2.2.6/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
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 "aMule"
#define PACKAGE_TARNAME "amule"
#define PACKAGE_VERSION "2.2.6"
#define PACKAGE_STRING "aMule 2.2.6"
#define PACKAGE_BUGREPORT "
admin@amule.org"
#define PACKAGE "amule"
#define VERSION "2.2.6"
configure: exit 77
ls -l /usr/bin/wx*-rwxr-xr-x 1 root root 378520 18 mag 12:21 /usr/bin/wxcas
ls -l /usr/local/bin/wx*ls: impossibile accedere a /usr/local/bin/wx*: No such file or directory
rpm -qa | grep wxwxWidgets-2.8.9.2-0.pm.2
I know I have some of packages needed for the compilation missing since a i've built amule from sources several times but i just want to know why configure fails.
I resolved the problem setting the right compiler with 'export CXX=/usr/bin/g++'.
why this doesn't happen automatically? Thanks for the help