• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] kann iperf 2.0.4 nicht installieren

Hallo,

wenn ich mich recht entsinne habe ich unter Ubuntu das Paket "iperf-2.0.4.tar.gz" entpackt, bin in das Verzeichnis rein und habe es mit dem Befehl "sudo apt-get install iperf" installiert. Das geht so nicht unter Suse. Also Dokus gelesen und gegoogelt.
Man muß ./configure > make > make install verwenden. Geht aber auch nicht richtig.
Nachdem entpacken bin ich in das Verzeichnis und wollte ./configure ausführen. Bekomme dabei schon eine Fehlermeldung. In der Konsole bin ich als root (su) angemeldet.

Code:
4850e:/home/opensuxiser/iperf-204 # ./configure
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)... 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.

Mit der config.log Datei kann ich nichts anfangen.

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

It was created by Iperf configure 2.0.4, which was
generated by GNU Autoconf 2.60.  Invocation command line was

  $ ./configure 

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

hostname = 4850e
uname -m = x86_64
uname -r = 2.6.25.11-0.1-default
uname -s = Linux
uname -v = #1 SMP 2008-07-13 20:48:28 +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/opensuxiser/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /usr/lib64/jvm/jre/bin
PATH: /usr/lib/mit/bin
PATH: /usr/lib/mit/sbin


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

configure:1791: checking for a BSD-compatible install
configure:1847: result: /usr/bin/install -c
configure:1858: checking whether build environment is sane
configure:1901: result: yes
configure:1966: checking for gawk
configure:1982: found /usr/bin/gawk
configure:1993: result: gawk
configure:2004: checking whether make sets $(MAKE)
configure:2029: result: no
configure:2303: checking for g++
configure:2333: result: no
configure:2303: checking for c++
configure:2333: result: no
configure:2303: checking for gpp
configure:2333: result: no
configure:2303: checking for aCC
configure:2333: result: no
configure:2303: checking for CC
configure:2333: result: no
configure:2303: checking for cxx
configure:2333: result: no
configure:2303: checking for cc++
configure:2333: result: no
configure:2303: checking for cl.exe
configure:2333: result: no
configure:2303: checking for FCC
configure:2333: result: no
configure:2303: checking for KCC
configure:2333: result: no
configure:2303: checking for RCC
configure:2333: result: no
configure:2303: checking for xlC_r
configure:2333: result: no
configure:2303: checking for xlC
configure:2333: result: no
configure:2361: checking for C++ compiler version
configure:2368: g++ --version >&5
./configure: line 2369: g++: command not found
configure:2371: $? = 127
configure:2378: g++ -v >&5
./configure: line 2379: g++: command not found
configure:2381: $? = 127
configure:2388: g++ -V >&5
./configure: line 2389: g++: command not found
configure:2391: $? = 127
configure:2414: checking for C++ compiler default output file name
configure:2441: g++    conftest.cpp  >&5
./configure: line 2442: g++: command not found
configure:2444: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Iperf"
| #define PACKAGE_TARNAME "iperf"
| #define PACKAGE_VERSION "2.0.4"
| #define PACKAGE_STRING "Iperf 2.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "iperf"
| #define VERSION "2.0.4"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2483: error: C++ compiler cannot create executables
See `config.log' for more details.

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

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_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/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=no

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

ACLOCAL='${SHELL} /home/opensuxiser/iperf-204/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/opensuxiser/iperf-204/missing --run tar'
AUTOCONF='${SHELL} /home/opensuxiser/iperf-204/missing --run autoconf'
AUTOHEADER='${SHELL} /home/opensuxiser/iperf-204/missing --run autoheader'
AUTOMAKE='${SHELL} /home/opensuxiser/iperf-204/missing --run automake-1.9'
AWK='gawk'
CC=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX='g++'
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/opensuxiser/iperf-204/missing --run makeinfo'
OBJEXT=''
PACKAGE='iperf'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='Iperf'
PACKAGE_STRING='Iperf 2.0.4'
PACKAGE_TARNAME='iperf'
PACKAGE_VERSION='2.0.4'
PATH_SEPARATOR=':'
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
RANLIB=''
SET_MAKE='MAKE=make'
SHELL='/bin/sh'
STRIP=''
STRIP_BEGIN=''
STRIP_DUMMY=''
STRIP_END=''
VERSION='2.0.4'
WEB100_CFLAGS=''
WEB100_CONFIG=''
WEB100_LIBS=''
ac_ct_CC=''
ac_ct_CXX=''
acx_pthread_config=''
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=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='/home/opensuxiser/iperf-204/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_alias=''

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

#define PACKAGE_NAME "Iperf"
#define PACKAGE_TARNAME "iperf"
#define PACKAGE_VERSION "2.0.4"
#define PACKAGE_STRING "Iperf 2.0.4"
#define PACKAGE_BUGREPORT ""
#define PACKAGE "iperf"
#define VERSION "2.0.4"

configure: exit 77

Wie kann man den Fehler behen und iperf installieren?
 

Tooltime

Advanced Hacker
Ich schätze der Compiler fehlt noch.
YaST -> Software -> Software installieren oder löschen
Filter auf "Schemata" setzen, die Schema
Grundlegende Entwicklungsumgebung
C/C++ Entwicklung

anwählen und mit "Akzeptieren" die Pakete installieren.
 

lOtz1009

Moderator
Teammitglied
Ja, da fehlt einiges an Compilern. Tut es nicht auch die Version 2.0.2? Die gibt es als fertige RPMs unter http://packages.opensuse-community.org/index.jsp?searchTerm=iperf&distro=openSUSE_110
 
OP
O

OpenSuxiser

Newbie
Hallo,

allerbesten Dank. Habe die "Grundlegende Entwicklungsumgebung" und "C/C++ Entwicklung" nachinstalliert und die Installation mit dem 3 Befehlen funktionierte auf Anhieb.

Die RPM Quelle kannte ich noch nicht. Der Link ist jedenfalls gesichert. Danke.
Dennoch finde ich es sinnvoll, dass ich auch selbst komplilieren und installieren kann.

Danke nochmal. Habt mir sehr geholfen.
 
Oben