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

error 77 / C++ compiler cannot create executables

torte1605

Newbie
Hallo ich habe mir vor kurzem wieder OpenSUSE 10.3 auf meinem Notebook installiert und wollte mich nun einmal der Programmierung mit C/C++ widmen. Ich habe mir also entsprechende Lektüre besorgt und mit KDevelop ein einfaches C++ Programm aus der Literatur eingegeben.
Wenn ich nun auf Projekt erstellen gehe und ./configure ausführe erhalte ich folgende Fehlermeldung:

configure: error: C++ compiler cannot create executables
See `config.log' for more details.
*** Beendet mit Status: 77

die Ausgabe von config.log ist

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

It was created by configure, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ /home/torsten/Documents/Studium/Programmieren/Summe_140508V2/configure 

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

hostname = noname
uname -m = i686
uname -r = 2.6.22.17-0.1-default
uname -s = Linux
uname -v = #1 SMP 2008/02/10 20:01:04 UTC

/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: /opt/kde3/bin
PATH: /home/torsten/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /usr/lib/jvm/jre/bin
PATH: /usr/lib/mit/bin
PATH: /usr/lib/mit/sbin
PATH: /usr/lib/qt3/bin


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

configure:1969: checking for a BSD-compatible install
configure:2025: result: /usr/bin/install -c
configure:2036: checking whether build environment is sane
configure:2079: result: yes
configure:2107: checking for a thread-safe mkdir -p
configure:2146: result: /bin/mkdir -p
configure:2159: checking for gawk
configure:2175: found /usr/bin/gawk
configure:2186: result: gawk
configure:2197: checking whether make sets $(MAKE)
configure:2218: result: yes
configure:2529: checking for C++ compiler version
configure:2536: i586-mingw32msvc-c++ --version >&5
/home/torsten/Documents/Studium/Programmieren/Summe_140508V2/configure: line 2537: i586-mingw32msvc-c++: command not found
configure:2539: $? = 127
configure:2546: i586-mingw32msvc-c++ -v >&5
/home/torsten/Documents/Studium/Programmieren/Summe_140508V2/configure: line 2547: i586-mingw32msvc-c++: command not found
configure:2549: $? = 127
configure:2556: i586-mingw32msvc-c++ -V >&5
/home/torsten/Documents/Studium/Programmieren/Summe_140508V2/configure: line 2557: i586-mingw32msvc-c++: command not found
configure:2559: $? = 127
configure:2582: checking for C++ compiler default output file name
configure:2609: i586-mingw32msvc-c++    conftest.cpp  >&5
/home/torsten/Documents/Studium/Programmieren/Summe_140508V2/configure: line 2610: i586-mingw32msvc-c++: command not found
configure:2612: $? = 127
configure:2650: result: 
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "summe_140508v2"
| #define VERSION "0.1"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2657: 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=set
ac_cv_env_CC_value=i586-mingw32msvc-c
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=i586-mingw32msvc-c++
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
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_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/torsten/Documents/Studium/Programmieren/Summe_140508V2/missing --run aclocal-1.10'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/torsten/Documents/Studium/Programmieren/Summe_140508V2/missing --run tar'
AR=''
AUTOCONF='${SHELL} /home/torsten/Documents/Studium/Programmieren/Summe_140508V2/missing --run autoconf'
AUTOHEADER='${SHELL} /home/torsten/Documents/Studium/Programmieren/Summe_140508V2/missing --run autoheader'
AUTOMAKE='${SHELL} /home/torsten/Documents/Studium/Programmieren/Summe_140508V2/missing --run automake-1.10'
AWK='gawk'
CC='i586-mingw32msvc-c'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX='i586-mingw32msvc-c++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
GREP=''
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=''
MAKEINFO='${SHELL} /home/torsten/Documents/Studium/Programmieren/Summe_140508V2/missing --run makeinfo'
OBJEXT=''
PACKAGE='summe_140508v2'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='0.1'
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
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=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /home/torsten/Documents/Studium/Programmieren/Summe_140508V2/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 ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "summe_140508v2"
#define VERSION "0.1"

configure: exit 77
[/code]
 
A

Anonymous

Gast
https://answers.launchpad.net/ubuntu/+source/kdevelop/+question/6936

Stichwort falscher oder nicht installierter c/c++ Compiler

robi
 
OP
T

torte1605

Newbie
Danke für den tip. Aber leider habe ich bisher noch keine Installationsquelle für den compiler gefunden. Hast Du da eventuell einen LInk für mich? :wink:
 

abgdf

Guru
Der C/C++-Compiler (gcc/g++) ist Teil Deiner Distribution. Bei SuSE benutze YaST.

Warum lernst Du nicht erstmal Dein System etwas besser kennen, dann die Shell, dann einen guten Editor, dann Shell-Skripte (, vielleicht dann noch Perl) und schreibst danach mal ein kleines C/C++-Programm, das Du in der Konsole kompilierst. Danach kommst Du dann auch mit KDevelop zurecht.

Gruß
 
Oben