C++ compiler default output File Fehler

Dieses Thema im Forum "Linux & BSD" wurde erstellt von MrDick, 17. Mai 2007 .

  1. Diese Seite verwendet Cookies. Wenn du dich weiterhin auf dieser Seite aufhältst, akzeptierst du unseren Einsatz von Cookies. Weitere Informationen
  1. #1 17. Mai 2007
    Hallo,

    ich versuche gerade den Rainlender Server zu installieren, bekomme aber immer folgende fehlermeldung:

    Code:
    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 for a BSD-compatible install... /usr/bin/install -c
    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... 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.
    
    in der config.log steht folgendes:

    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.59. Invocation command line was
    
     $ ./configure
    
    ## --------- ##
    ## Platform. ##
    ## --------- ##
    
    hostname = SuSE-102-64-LAMP
    uname -m = x86_64
    uname -r = 2.6.18.2-34-default
    uname -s = Linux
    uname -v = #1 SMP Mon Nov 27 11:46:27 UTC 2006
    
    /usr/bin/uname -p = unknown
    /bin/uname -X = unknown
    
    /bin/arch = x86_64
    /usr/bin/arch -k = unknown
    /usr/convex/getsysinfo = unknown
    hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown
    
    PATH: /sbin
    PATH: /usr/sbin
    PATH: /usr/local/sbin
    PATH: /opt/gnome/sbin
    PATH: /usr/local/bin
    PATH: /usr/bin
    PATH: /usr/X11R6/bin
    PATH: /bin
    PATH: /usr/games
    PATH: /opt/gnome/bin
    PATH: /opt/kde3/bin
    PATH: /usr/lib/mit/bin
    PATH: /usr/lib/mit/sbin
    
    
    ## ----------- ##
    ## Core tests. ##
    ## ----------- ##
    
    configure:1310: checking for a BSD-compatible install
    configure:1365: result: /usr/bin/install -c
    configure:1376: checking whether build environment is sane
    configure:1419: result: yes
    configure:1484: checking for gawk
    configure:1500: found /usr/bin/gawk
    configure:1510: result: gawk
    configure:1520: checking whether make sets $(MAKE)
    configure:1540: result: yes
    configure:1721: checking for a BSD-compatible install
    configure:1776: result: /usr/bin/install -c
    configure:1839: checking for g++
    configure:1868: result: no
    configure:1839: checking for c++
    configure:1868: result: no
    configure:1839: checking for gpp
    configure:1868: result: no
    configure:1839: checking for aCC
    configure:1868: result: no
    configure:1839: checking for CC
    configure:1868: result: no
    configure:1839: checking for cxx
    configure:1868: result: no
    configure:1839: checking for cc++
    configure:1868: result: no
    configure:1839: checking for cl
    configure:1868: result: no
    configure:1839: checking for FCC
    configure:1868: result: no
    configure:1839: checking for KCC
    configure:1868: result: no
    configure:1839: checking for RCC
    configure:1868: result: no
    configure:1839: checking for xlC_r
    configure:1868: result: no
    configure:1839: checking for xlC
    configure:1868: result: no
    configure:1881: checking for C++ compiler version
    configure:1884: g++ --version </dev/null >&5
    ./configure: line 1885: g++: command not found
    configure:1887: $? = 127
    configure:1889: g++ -v </dev/null >&5
    ./configure: line 1890: g++: command not found
    configure:1892: $? = 127
    configure:1894: g++ -V </dev/null >&5
    ./configure: line 1895: g++: command not found
    configure:1897: $? = 127
    configure:1920: checking for C++ compiler default output file name
    configure:1923: g++ conftest.cc >&5
    ./configure: line 1924: g++: command not found
    configure:1926: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "rainlendarserver"
    | #define VERSION "0.7"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:1965: 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/install -c'
    ac_cv_prog_AWK=gawk
    ac_cv_prog_make_make_set=yes
    ## ----------------- ##
    ## Output variables. ##
    ## ----------------- ##
    
    ACLOCAL='${SHELL} /Rainlendar/Server/missing --run aclocal-1.9'
    AMDEPBACKSLASH=''
    AMDEP_FALSE=''
    AMDEP_TRUE=''
    AMTAR='${SHELL} /Rainlendar/Server/missing --run tar'
    AUTOCONF='${SHELL} /Rainlendar/Server/missing --run autoconf'
    AUTOHEADER='${SHELL} /Rainlendar/Server/missing --run autoheader'
    AUTOMAKE='${SHELL} /Rainlendar/Server/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=''
    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} /Rainlendar/Server/missing --run makeinfo'
    OBJEXT=''
    PACKAGE='rainlendarserver'
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    SET_MAKE=''
    SHELL='/bin/sh'
    STRIP=''
    VERSION='0.7'
    ac_ct_CC=''
    ac_ct_CXX='g++'
    ac_ct_STRIP=''
    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_alias=''
    datadir='${prefix}/share'
    exec_prefix='NONE'
    host_alias=''
    includedir='${prefix}/include'
    infodir='${prefix}/info'
    install_sh='/Rainlendar/Server/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localstatedir='${prefix}/var'
    mandir='${prefix}/man'
    mkdir_p='mkdir -p --'
    oldincludedir='/usr/include'
    prefix='NONE'
    program_transform_name='s,x,x,'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target_alias=''
    
    ## ----------- ##
    ## confdefs.h. ##
    ## ----------- ##
    
    #define PACKAGE "rainlendarserver"
    #define PACKAGE_BUGREPORT ""
    #define PACKAGE_NAME ""
    #define PACKAGE_STRING ""
    #define PACKAGE_TARNAME ""
    #define PACKAGE_VERSION ""
    #define VERSION "0.7"
    
    configure: exit 77
    
    Kann mir jemand sagen was das ist was ich machen muss das es ohne Fehler durch läuft ??
     

  2. Anzeige
    Dealz: stark reduzierte Angebote finden.
  3. #2 17. Mai 2007
    AW: C++ compiler default output File Fehler

    Dir fehlen ganz einfach ne Menge Packete, wie zB der c++ compiler, c++ Biblioteken halt alle wo "no" hinter steht. Die musst du alle installieren.
    Sag am besten mal, welche Linux Distribuion du verwendest.

    Edit: Ah jetzt seh ichs, laut log verwendest du Suse. Installier am besten per Packetmanager das Packet "build-essential" und das Packet das "linux-source*deine Kernel version* so inder Art heisst.
     
  4. #3 18. Mai 2007
    AW: C++ compiler default output File Fehler

    hab gerade zu build-essential nur was für Debian gefunden und das andere linux Source habe ich gar nich gefunden, könntest du mir evtl. sagen was ich eingeben muss bzw. wo ich diese Pakete bekomme zum instalieren ?!
     
  5. #4 18. Mai 2007
    AW: C++ compiler default output File Fehler

    Hi

    Du musst einen C++ Compiler installieren, wie meine Vorredner schon gesagt haben.

    Das geht bei Debian dann so:

    sudo apt-cache search gcc-4

    Danach wirst du eine Liste von Programme bekommen.
    Daraus filterst du die neuste Version des oben genannten Paketes heraus. Bei Ubuntu wäre das z.B

    gcc-4.1

    Danach machst du

    sudo apt-get install gcc-4.x

    (x steht für die neuste Versionsnummer)


    Danach sollte alles funktionieren.

    Mfg Bl0bb
     
  6. #5 18. Mai 2007
    AW: C++ compiler default output File Fehler

    Da ich ein Suse habe wird das bei mir wohl nicht gehen wenn ich bei mir eingebe:

    rpm -qa | grep gcc komtm folgendes.

    Code:
    gcc41-4.1.2_20061115-5
    gcc-4.1.3-29
    libgcc41-4.1.2_20061115-5
    libgcc41-32bit-4.1.2_20061115-5
    also scheint gcc doch installiert zu sein ?!
     

  7. Videos zum Thema
Die Seite wird geladen...