Problème de compilateur sur Cent OS

o0-miss_pretty_in_punk-0o -  
 beltegeuse -
Bonjour,

(Alors voilà, je ne suis pas vraiment une pro de linux, et j'aimerais avoir une réponse pas très compliquée svp ;-D)
Mon problème, c'est que lorsque je veux installer une application (là c'est aMule), je vais dans ma ligne de commandes, je tape mon petit ./configure, et voilà ce que ça me fait:

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.

Ouais.
Mais ça m'aide pas pour autant, je pige rien moi...
Dans config.log y a écrit:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by aMule configure 2.1.3, which was
generated by GNU Autoconf 2.59e. Invocation command line was

$ ./configure

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

hostname = mrl95-1-88-174-76-167.fbx.proxad.net
uname -m = i686
uname -r = 2.6.18-8.el5
uname -s = Linux
uname -v = #1 SMP Thu Mar 15 19:57:35 EDT 2007

/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/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /home/emma/bin

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

configure:1944: checking build system type
configure:1962: result: i686-pc-linux-gnu
configure:1984: checking host system type
configure:1999: result: i686-pc-linux-gnu
configure:2021: checking target system type
configure:2036: result: i686-pc-linux-gnu
configure:2078: checking for a BSD-compatible install
configure:2134: result: /usr/bin/install -c
configure:2145: checking whether build environment is sane
configure:2188: result: yes
configure:2253: checking for gawk
configure:2269: found /usr/bin/gawk
configure:2280: result: gawk
configure:2291: checking whether make sets $(MAKE)
configure:2312: result: yes
configure:2500: checking whether to enable maintainer-specific portions of Makefiles
configure:2509: result: no
configure:2621: checking for g++
configure:2651: result: no
configure:2621: checking for c++
configure:2651: result: no
configure:2621: checking for gpp
configure:2651: result: no
configure:2621: checking for aCC
configure:2651: result: no
configure:2621: checking for CC
configure:2651: result: no
configure:2621: checking for cxx
configure:2651: result: no
configure:2621: checking for cc++
configure:2651: result: no
configure:2621: checking for cl.exe
configure:2651: result: no
configure:2621: checking for FCC
configure:2651: result: no
configure:2621: checking for KCC
configure:2651: result: no
configure:2621: checking for RCC
configure:2651: result: no
configure:2621: checking for xlC_r
configure:2651: result: no
configure:2621: checking for xlC
configure:2651: result: no
configure:2679: checking for C++ compiler version
configure:2686: g++ --version >&5
./configure: line 2687: g++: command not found
configure:2689: $? = 127
configure:2696: g++ -v >&5
./configure: line 2697: g++: command not found
configure:2699: $? = 127
configure:2706: g++ -V >&5
./configure: line 2707: g++: command not found
configure:2709: $? = 127
configure:2732: checking for C++ compiler default output file name
configure:2759: g++ conftest.cpp >&5
./configure: line 2760: g++: command not found
configure:2762: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "aMule"
| #define PACKAGE_TARNAME "amule"
| #define PACKAGE_VERSION "2.1.3"
| #define PACKAGE_STRING "aMule 2.1.3"
| #define PACKAGE_BUGREPORT "admin@amule.org"
| #define PACKAGE "amule"
| #define VERSION "2.1.3"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2801: error: C++ compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=i686-pc-linux-gnu
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=
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_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=i686-pc-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-linux-gnu

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

ACLOCAL='${SHELL} /home/emma/aMule-2.1.3/missing --run aclocal-1.9'
ALCC_FALSE=''
ALCC_TRUE=''
ALC_FALSE=''
ALC_TRUE=''
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/emma/aMule-2.1.3/missing --run tar'
AMULEWEB_DEFS=''
AMULE_DAEMON_FALSE=''
AMULE_DAEMON_TRUE=''
AMULE_GUI_FALSE=''
AMULE_GUI_TRUE=''
AR=''
AUTOCONF='${SHELL} /home/emma/aMule-2.1.3/missing --run autoconf'
AUTOHEADER='${SHELL} /home/emma/aMule-2.1.3/missing --run autoheader'
AUTOMAKE='${SHELL} /home/emma/aMule-2.1.3/missing --run automake-1.9'
AWK='gawk'
BFD_FLAGS=''
BFD_LIB=''
BUILD_INCLUDED_LIBINTL=''
CAS_DEFS=''
CAS_FALSE=''
CAS_TRUE=''
CATOBJEXT=''
CC=''
CCACHE=''
CCDEPMODE=''
CFLAGS=''
COMPILE_CMD_FALSE=''
COMPILE_CMD_TRUE=''
COMPILE_NLS_FALSE=''
COMPILE_NLS_TRUE=''
CPP=''
CPPFLAGS=''
CRYPTOLIBS=''
CRYPTO_PP_STYLE=''
CXX='g++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ED2K_FALSE=''
ED2K_TRUE=''
EGREP=''
EXEEXT=''
GDLIB_CFLAGS=''
GDLIB_CFLAGS_ONLY=''
GDLIB_CONFIG_PATH=''
GDLIB_CPPFLAGS=''
GDLIB_CXXFLAGS=''
GDLIB_CXXFLAGS_ONLY=''
GDLIB_LDFLAGS=''
GDLIB_LIBS=''
GDLIB_LIBS_STATIC=''
GDLIB_VERSION=''
GENCAT=''
GENERATE_FLEX_HEADER_FALSE=''
GENERATE_FLEX_HEADER_TRUE=''
GLIBC21=''
GMSGFMT=''
GREP=''
HAVE_FLEX_EXTENDED=''
HAVE_GETTEXT=''
HOSTCC=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLBISON=''
INTLLIBS=''
INTLOBJS=''
INTL_LIBTOOL_SUFFIX_PREFIX=''
LD=''
LDFLAGS=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBPNG_CFLAGS=''
LIBPNG_CONFIG_PATH=''
LIBPNG_CXXFLAGS=''
LIBPNG_LDFLAGS=''
LIBPNG_LIBS=''
LIBS=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/emma/aMule-2.1.3/missing --run makeinfo'
MKINSTALLDIRS=''
MONOLITHIC_FALSE=''
MONOLITHIC_TRUE=''
MSGFMT=''
MSGMERGE=''
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.1.3'
PACKAGE_TARNAME='amule'
PACKAGE_VERSION='2.1.3'
PATH_SEPARATOR=':'
POSUB=''
POW_LIB=''
RANLIB=''
RCFLAGS=''
READLINE_LIBS=''
RESOLV_LIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_EMBEDDED_CRYPTO_FALSE=''
USE_EMBEDDED_CRYPTO_TRUE=''
USE_INCLUDED_LIBINTL=''
USE_NLS=''
VERSION='2.1.3'
WEB_FALSE=''
WEB_TRUE=''
WXBASE_CFLAGS=''
WXBASE_CXXFLAGS=''
WXBASE_LIBS=''
WXCAS_FALSE=''
WXCAS_TRUE=''
WX_CFLAGS=''
WX_CFLAGS_ONLY=''
WX_CONFIG_PATH=''
WX_CPPFLAGS=''
WX_CXXFLAGS=''
WX_CXXFLAGS_ONLY=''
WX_LIBS=''
WX_LIBS_STATIC=''
WX_VERSION=''
X11LIBS=''
XGETTEXT=''
XMKMF=''
YACC=''
YFLAGS=''
ZLIB_CFLAGS=''
ZLIB_LIBS=''
ac_ct_CC=''
ac_ct_CXX=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
ccache=''
ccache_prefix=''
crypto_prefix=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
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'
install_sh='/home/emma/aMule-2.1.3/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='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='i686-pc-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "aMule"
#define PACKAGE_TARNAME "amule"
#define PACKAGE_VERSION "2.1.3"
#define PACKAGE_STRING "aMule 2.1.3"
#define PACKAGE_BUGREPORT "admin@amule.org"
#define PACKAGE "amule"
#define VERSION "2.1.3"

configure: exit 77
Comprend toujours pas.

Au secooooooooooooooooooooooooooooours!
lol
A voir également:

7 réponses

beltegeuse
 
je pense voir ton probleme ... c'est ta "premiere" complation ?

en tout cas quand tu regarde ca
configure:2621: checking for g++
configure:2651: result: no
configure:2621: checking for c++
configure:2651: result: no
configure:2621: checking for gpp
configure:2651: result: no
configure:2621: checking for aCC
configure:2651: result: no
configure:2621: checking for CC
configure:2651: result: no
configure:2621: checking for cxx
configure:2651: result: no
configure:2621: checking for cc++
configure:2651: result: no
configure:2621: checking for cl.exe
configure:2651: result: no
configure:2621: checking for FCC
configure:2651: result: no
configure:2621: checking for KCC
configure:2651: result: no
configure:2621: checking for RCC
configure:2651: result: no
configure:2621: checking for xlC_r
configure:2651: result: no
configure:2621: checking for xlC
configure:2651: result: no

Si je me trompe pas il cherche un compilateur c++ que tu n'a pas.
Donc pour installer g++ et si je me trompe pas (je ne suis pas un habitué des distribution red hat) il faut voir ca avec yum...
0
Julius
 
Harg... et pourquoi tu n'utilises pas simplement les dépots de ta distrib ? Ou bien un RPM que tu trouves dans les dépots Fedora par exemple.
0
beltegeuse
 
pour installer amule :
yum install amule
0
o0-miss_pretty_in_punk-0o
 
merci pour le truc de yum install amule, mais je sais pas quoi faire il me dit ça:
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
Et je sais pas comment le lancer après TT ...

Mais amule c'était qu'un exemple en fait ça me fait ce truc là pour tout...
Et pis moi j'suis débarquée d'Ubuntu donc installer des trucs "à la main" c'est pas trop ma spécialité...
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
Julius
 
Rhaaa fallait rester sous Ubuntu :D

Il faut que tu vérifies dans ton sources.list ou équivalent que les dépots sont corrects. Puis il faut l'équivalent de apt-get update. Mais bon, yum je gère pas.
0
o0-miss_pretty_in_punk-0o
 
a... Je dis pas que c'est difficile, mais j'ai rien compris... TT'
0
beltegeuse
 
ce n'estpas pareil que ubuntu car il faut que tu cherche des fichier.rpm qui est l'equivalent du .deb sous les systeme dérivées de debian (exemple ubuntu).

Tu peut aller voir a cette adresse :
https://doc.fedora-fr.org/wiki/YUM_:_Configuration_du_gestionnaire_de_paquets
0