aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: probleme C++ sous slackware  (Read 6053 times)

TracK

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
probleme C++ sous slackware
« on: May 21, 2004, 12:27:52 PM »

j'ai voulus passer a aMule-2.0.0.rc3 pour tester et impossible de compiler
deja des je fais ./configure..... il me mets checking for C++ compiler defalut output... configure: errorr : C++ compiler cannot create executables :|
Je tiens a précisé que la 1.2.6 elle par contre tourne presque nickel (quelque petit bug graphiques).

Si quelqu'un a une idée je suis preneur :)
Logged

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 896
Re: probleme C++ sous slackware
« Reply #1 on: May 21, 2004, 07:02:35 PM »

bjr,

tu n'as pas fait un export CXX="blabla" qui empeche g++ de compiler ?

--> regarde echo $CXX

sinon, il n'y a aucune raison ...

the polish
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)

TracK

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
non toujours rien
« Reply #2 on: May 21, 2004, 08:29:06 PM »

je vais ptetre paraitre idiot mais ça fais rien si je tape echo $CXX
Logged

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 896
Re: probleme C++ sous slackware
« Reply #3 on: May 21, 2004, 10:02:06 PM »

alors c'est bon :)

si tu compiles bien 1.2.6, il n'y a aucune raison que tu aies ce message avec la rc3, sauf si tu as exporté une variable quelconque entre les 2 qui modifie le fonctionnement de g++

the polish
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)

TracK

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
vive les packages
« Reply #4 on: May 22, 2004, 11:08:01 AM »

Le fait est  que j'ai installer la version 1.2.6 via un package tgz normal sous slackware.  Et dans un package tout est deja precompilé il me semble mon probleme viendrai-t-il de la ?
Logged

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 896
Re: probleme C++ sous slackware
« Reply #5 on: May 22, 2004, 11:20:54 AM »

Bjr,

Ok, donc c'est que tu ne dois pas avoir installé les outils de compilation dont le compilateur: g++

Fais le et ca devrait marcher... (je n'e connais pas la slack, donc je peux te dire les packages exacts)

si tu as des pb, viens sur #amule sur Freenode, il y aura surement qqun qui utilise un slack :)

the polish
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)

TracK

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
c++ c'est ok
« Reply #6 on: May 22, 2004, 12:20:04 PM »

ALors la je comprend pas mon g++ est bien la je viens de compiler Gaim et ca passe alors pourquoi pas amule :(
Logged

TracK

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
fichier de sortie
« Reply #7 on: May 22, 2004, 12:40:33 PM »

Ceci est mon 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 aMule configure 2.0.0rc3, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ ./configure

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

hostname = Linux
uname -m = i686
uname -r = 2.4.26
uname -s = Linux
uname -v = #6 Sat Apr 24 15:54:12 PDT 2004

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

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /opt/www/htdig/bin
PATH: /usr/lib/java/bin
PATH: /usr/lib/java/jre/bin
PATH: /opt/kde/bin
PATH: /usr/lib/qt-3.2.1/bin
PATH: /usr/share/texmf/bin


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

configure:1383: checking for a BSD-compatible install
configure:1437: result: /usr/bin/ginstall -c
configure:1448: checking whether build environment is sane
configure:1491: result: yes
configure:1524: checking for gawk
configure:1540: found /usr/bin/gawk
configure:1550: result: gawk
configure:1560: checking whether make sets $(MAKE)
configure:1580: result: yes
configure:1748: checking whether to enable maintainer-specific portions of Makefiles
configure:1757: result: no
configure:1830: checking for g++
configure:1846: found /usr/bin/g++
configure:1856: result: g++
configure:1872: checking for C++ compiler version
configure:1875: g++ --version &5
g++ (GCC) 3.3.3
Copyright (C) 2003 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:1878: $? = 0
configure:1880: g++ -v &5
Using built-in specs.
Configured with: ../gcc-3.3.3/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.3.3
configure:1883: $? = 0
configure:1885: g++ -V &5
g++: `-V' option must have argument
configure:1888: $? = 1
configure:1912: checking for C++ compiler default output
configure:1915: g++     conftest.cc  >&5
/usr/lib/gcc-lib/i486-slackware-linux/3.3.3/../../../../i486-slackware-linux/bin/ld: cannot open crtbegin.o: No such file or directory
configure:1918: $? = 1
configure: failed program was:
| #line 1891 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "aMule"
| #define PACKAGE_TARNAME "amule"
| #define PACKAGE_VERSION "2.0.0rc3"
| #define PACKAGE_STRING "aMule 2.0.0rc3"
| #define PACKAGE_BUGREPORT "deltahf@amule.org"
| #define PACKAGE "amule"
| #define VERSION "2.0.0rc3"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:1957: error: C++ compiler cannot create executables
See `config.log' for more details.

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

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_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_path_install='/usr/bin/ginstall -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_make_make_set=yes

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

ACLOCAL='${SHELL} /root/aMule-2.0.0rc3/missing --run aclocal-1.7'
ADD_24GSOCKET_FALSE=''
ADD_24GSOCKET_TRUE=''
ADD_GSOCKET_FALSE=''
ADD_GSOCKET_TRUE=''
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /root/aMule-2.0.0rc3/missing --run tar'
AUTOCONF='${SHELL} /root/aMule-2.0.0rc3/missing --run autoconf'
AUTOHEADER='${SHELL} /root/aMule-2.0.0rc3/missing --run autoheader'
AUTOMAKE='${SHELL} /root/aMule-2.0.0rc3/missing --run automake-1.7'
AWK='gawk'
BUILD_INCLUDED_LIBINTL=''
CAS_DEFS=''
CAS_FALSE=''
CAS_TRUE=''
CATOBJEXT=''
CC=''
CCACHE=''
CCDEPMODE=''
CFLAGS=' '
COMPILE_CMD_FALSE=''
COMPILE_CMD_TRUE=''
CPP=''
CPPFLAGS=''
CRYPTO=''
CRYPTO_PP_STYLE=''
CURLFOUND=''
CURL_FLAGS=''
CURL_LIBS=''
CXX='g++'
CXXDEPMODE=''
CXXFLAGS=' '
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR=''
DISABLE_PROGRESS=''
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=''
GLIBC21=''
GMSGFMT=''
GTK_CFLAGS=''
GTK_CONFIG=''
GTK_DEFS=''
GTK_LIBS=''
GTK_USEDVERSION=''
GTK_VERSION=''
GUI_FALSE=''
GUI_TRUE=''
HAVE_GTK_FALSE=''
HAVE_GTK_TRUE=''
HAVE_TRAY_FALSE=''
HAVE_TRAY_TRUE=''
HAVE_WXBASE_FALSE=''
HAVE_WXBASE_TRUE=''
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=''
LDFLAGS=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBS=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /root/aMule-2.0.0rc3/missing --run makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
MSGMERGE=''
OBJEXT=''
PACKAGE='amule'
PACKAGE_BUGREPORT='deltahf@amule.org'
PACKAGE_NAME='aMule'
PACKAGE_STRING='aMule 2.0.0rc3'
PACKAGE_TARNAME='amule'
PACKAGE_VERSION='2.0.0rc3'
PATH_SEPARATOR=':'
PKG_CONFIG=''
POSUB=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
TRAY_FLAGS=''
USE_INCLUDED_LIBINTL=''
USE_NLS=''
USE_SAFE_TRAY=''
VERSION='2.0.0rc3'
WEBGUI_FALSE=''
WEBGUI_TRUE=''
WEB_FALSE=''
WEB_TRUE=''
WXBASE_CFLAGS=''
WXBASE_CFLAGS_ONLY=''
WXBASE_CONFIG_PATH=''
WXBASE_CPPFLAGS=''
WXBASE_CXXFLAGS=''
WXBASE_CXXFLAGS_ONLY=''
WXBASE_LIBS=''
WXBASE_LIBS_STATIC=''
WXBASE_VERSION=''
WXCAS_FALSE=''
WXCAS_TRUE=''
WXGTK_VERSION=''
WX_CFLAGS=''
WX_CFLAGS_ONLY=''
WX_CONFIG_PATH=''
WX_CPPFLAGS=''
WX_CXXFLAGS=''
WX_CXXFLAGS_ONLY=''
WX_LIBS=''
WX_LIBS_STATIC=''
WX_PARTIAL_VERSION=''
WX_VERSION=''
XGETTEXT=''
ZLIB_CFLAGS=''
ZLIB_LIBS=''
ac_ct_CC=''
ac_ct_CXX='g++'
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
ccache=''
ccache_prefix=''
crypto_prefix=''
datadir='${prefix}/share'
exec_prefix='NONE'
gtk=''
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/root/aMule-2.0.0rc3/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
systray=''
target_alias=''

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

#define PACKAGE "amule"
#define PACKAGE_BUGREPORT "deltahf@amule.org"
#define PACKAGE_NAME "aMule"
#define PACKAGE_STRING "aMule 2.0.0rc3"
#define PACKAGE_TARNAME "amule"
#define PACKAGE_VERSION "2.0.0rc3"
#define VERSION "2.0.0rc3"

configure: exit 77
Logged

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 896
Re: probleme C++ sous slackware
« Reply #8 on: May 22, 2004, 02:40:37 PM »

c'est bon ? ca marche ?
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)

TracK

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
C'est bon
« Reply #9 on: May 23, 2004, 03:13:13 PM »

Enfin ca marche alors donc je resume j'ai du reinstaller GCC et G++ ainsi que licrypto et apres .la configu et l'install sont passé comme une lettre a la poste. Merci pour ton aide ;) thepolish .
Logged