+ Responder ao Tópico



  1. #1
    uoquisala
    Visitante

    Padrão Compilação

    Ai galera tudo que tendo instalar ele da erro de C++ que pacotes tenho que instalar pra naum da mais estes erros.


    Valew

  2. #2

  3. #3

    Padrão Compilação

    provavelmente ele tah pedindo o gcc-c++...

    instala ele e prontu...

    []'s

  4. #4

    Padrão Compilação

    Citação Postado originalmente por Skorpyon
    Cola ae a mensagem de erro exibida
    Acontece isso

    oberto@casa roberto]$ cd apollon-1.0.1/
    [roberto@casa apollon-1.0.1]$ ./configure
    checking build system type... i686-pc-linux-gnulibc1
    checking host system type... i686-pc-linux-gnulibc1
    checking target system type... i686-pc-linux-gnulibc1
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for -p flag to install... yes
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output file name... configure: error: C compiler cannot create executables
    See `config.log' for more details.
    [roberto@casa apollon-1.0.1]$

    Pode me ajudar o GCC ta instalado so se falta mais alguma coisa.

  5. #5
    Mr_Mind
    Visitante

    Padrão Compilação

    verifica o config.log e mostra aqui o erro mais detalhado

  6. #6

    Padrão Possivel solução

    Ei amigo se vc usa o onectiva 10 basta instalar o suporte a c++ no gcc:

    #apt-get install task-c++-devel

    mas pra sanar qualquer depedência seria melhor instalar todos os aplicativo necessários pra recompilar o kernel:

    #apt-get install task-kernel-compiling

    fallows

  7. #7

    Padrão Re: Possivel solução

    Citação Postado originalmente por rrinfor
    Ei amigo se vc usa o onectiva 10 basta instalar o suporte a c++ no gcc:

    #apt-get install task-c++-devel

    mas pra sanar qualquer depedência seria melhor instalar todos os aplicativo necessários pra recompilar o kernel:

    #apt-get install task-kernel-compiling

    fallows
    Ai amigo instalei tuod mais nada aqui vai meu config.log como o nosso amigo ai de cima falow
    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 = casa.residencia
    uname -m = i686
    uname -r = 2.6.5-63077cl
    uname -s = Linux
    uname -v = #1 Thu Jun 17 20:05:07 BRT 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/lib/kde3/bin
    PATH: /bin
    PATH: /usr/bin
    PATH: /usr/X11R6/bin
    PATH: /usr/local/bin
    PATH: /usr/bin/X11
    PATH: /usr/games
    PATH: /usr/lib/java2/bin
    PATH: /usr/lib/java2/jre/bin
    PATH: /usr/lib/qt3/bin


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

    configure:1560: checking build system type
    configure:1578: result: i686-pc-linux-gnu
    configure:1586: checking host system type
    configure:1600: result: i686-pc-linux-gnu
    configure:1608: checking target system type
    configure:1622: result: i686-pc-linux-gnu
    configure:1669: checking for a BSD-compatible install
    configure:1724: result: /usr/bin/install -c
    configure:1739: checking for -p flag to install
    configure:1752: result: yes
    configure:1763: checking whether build environment is sane
    configure:1806: result: yes
    configure:1850: checking for gawk
    configure:1866: found /bin/gawk
    configure:1876: result: gawk
    configure:1886: checking whether make sets $(MAKE)
    configure:1906: result: yes
    configure:2119: checking for style of include used by make
    configure:2147: result: GNU
    configure:2295: checking for gcc
    configure:2311: found /usr/bin/gcc
    configure:2321: result: gcc
    configure:2565: checking for C compiler version
    configure:2568: gcc --version </dev/null >&5
    gcc (GCC) 3.3.3 (release)
    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:2571: $? = 0
    configure:2573: gcc -v </dev/null >&5
    Reading specs from /usr/lib/gcc-lib/i386-conectiva-linux/3.3.3/specs
    Configured with: ../configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --enable-shared --disable-checking --enable-long-long --enable-__cxa_atexit --enable-threads=posix --disable-libunwind-exceptions --enable-libgcj --enable-languages=c,c++,f77,objc,java --with-system-zlib --host=i386-conectiva-linux --target=i386-conectiva-linux --with-gxx_include_dir=/usr/include/c++/3.3.3
    Thread model: posix
    gcc version 3.3.3 (release)
    configure:2576: $? = 0
    configure:2578: gcc -V </dev/null >&5
    gcc: `-V' option must have argument
    configure:2581: $? = 1
    configure:2604: checking for C compiler default output file name
    configure:2607: gcc conftest.c >&5
    configure:2610: $? = 0
    configure:2656: result: a.out
    configure:2661: checking whether the C compiler works
    configure:2667: ./a.out
    configure:2670: $? = 0
    configure:2687: result: yes
    configure:2694: checking whether we are cross compiling
    configure:2696: result: no
    configure:2699: checking for suffix of executables
    configure:2701: gcc -o conftest conftest.c >&5
    configure:2704: $? = 0
    configure:2729: result:
    configure:2735: checking for suffix of object files
    configure:2756: gcc -c conftest.c >&5
    configure:2759: $? = 0
    configure:2781: result: o
    configure:2785: checking whether we are using the GNU C compiler
    configure:2809: gcc -c conftest.c >&5
    configure:2815: $? = 0
    configure:2819: test -z
    || test ! -s conftest.err
    configure:2822: $? = 0
    configure:2825: test -s conftest.o
    configure:2828: $? = 0
    configure:2841: result: yes
    configure:2847: checking whether gcc accepts -g
    configure:2868: gcc -c -g conftest.c >&5
    configure:2874: $? = 0
    configure:2878: test -z
    || test ! -s conftest.err
    configure:2881: $? = 0
    configure:2884: test -s conftest.o
    configure:2887: $? = 0
    configure:2898: result: yes
    configure:2915: checking for gcc option to accept ANSI C
    configure:2985: gcc -c conftest.c >&5
    configure:2991: $? = 0
    configure:2995: test -z
    || test ! -s conftest.err
    configure:2998: $? = 0
    configure:3001: test -s conftest.o
    configure:3004: $? = 0
    configure:3022: result: none needed
    configure:3040: gcc -c conftest.c >&5
    conftest.c:2: error: parse error before "me"
    configure:3046: $? = 1
    configure: failed program was:
    | #ifndef __cplusplus
    | choke me
    | #endif
    configure:3181: checking dependency style of gcc
    configure:3266: result: gcc3
    configure:3289: checking how to run the C preprocessor
    configure:3324: gcc -E conftest.c
    configure:3330: $? = 0
    configure:3362: gcc -E conftest.c
    conftest.c:11:28: ac_nonexistent.h: No such file or directory
    configure:3368: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "apollon"
    | #define VERSION "1.0.1"
    | /* end confdefs.h. */
    | #include <ac_nonexistent.h>
    configure:3407: result: gcc -E
    configure:3431: gcc -E conftest.c
    configure:3437: $? = 0
    configure:3469: gcc -E conftest.c
    conftest.c:11:28: ac_nonexistent.h: No such file or directory
    configure:3475: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "apollon"
    | #define VERSION "1.0.1"
    | /* end confdefs.h. */
    | #include <ac_nonexistent.h>
    configure:3599: checking for g++
    configure:3628: result: no
    configure:3599: checking for c++
    configure:3628: result: no
    configure:3599: checking for gpp
    configure:3628: result: no
    configure:3599: checking for aCC
    configure:3628: result: no
    configure:3599: checking for CC
    configure:3628: result: no
    configure:3599: checking for cxx
    configure:3628: result: no
    configure:3599: checking for cc++
    configure:3628: result: no
    configure:3599: checking for cl
    configure:3628: result: no
    configure:3599: checking for FCC
    configure:3628: result: no
    configure:3599: checking for KCC
    configure:3628: result: no
    configure:3599: checking for RCC
    configure:3628: result: no
    configure:3599: checking for xlC_r
    configure:3628: result: no
    configure:3599: checking for xlC
    configure:3628: result: no
    configure:3641: checking for C++ compiler version
    configure:3644: g++ --version </dev/null >&5
    ./configure: line 1: g++: command not found
    configure:3647: $? = 127
    configure:3649: g++ -v </dev/null >&5
    ./configure: line 1: g++: command not found
    configure:3652: $? = 127
    configure:3654: g++ -V </dev/null >&5
    ./configure: line 1: g++: command not found
    configure:3657: $? = 127
    configure:3660: checking whether we are using the GNU C++ compiler
    configure:3684: g++ -c conftest.cc >&5
    ./configure: line 1: g++: command not found
    configure:3690: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "apollon"
    | #define VERSION "1.0.1"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    | #ifndef __GNUC__
    | choke me
    | #endif
    |
    | ;
    | return 0;
    | }
    configure:3716: result: no
    configure:3722: checking whether g++ accepts -g
    configure:3743: g++ -c -g conftest.cc >&5
    ./configure: line 1: g++: command not found
    configure:3749: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "apollon"
    | #define VERSION "1.0.1"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:3773: result: no
    configure:3815: g++ -c conftest.cc >&5
    ./configure: line 1: g++: command not found
    configure:3821: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "apollon"
    | #define VERSION "1.0.1"
    | /* end confdefs.h. */
    |
    | #include <stdlib.h>
    | int
    | main ()
    | {
    | exit (42);
    | ;
    | return 0;
    | }
    configure:3815: g++ -c conftest.cc >&5
    ./configure: line 1: g++: command not found
    configure:3821: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "apollon"
    | #define VERSION "1.0.1"
    | /* end confdefs.h. */
    | extern "C" void std::exit (int) throw (); using std::exit;
    | #include <stdlib.h>
    | int
    | main ()
    | {
    | exit (42);
    | ;
    | return 0;
    | }
    configure:3815: g++ -c conftest.cc >&5
    ./configure: line 1: g++: command not found
    configure:3821: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "apollon"
    | #define VERSION "1.0.1"
    | /* end confdefs.h. */
    | extern "C" void std::exit (int); using std::exit;
    | #include <stdlib.h>
    | int
    | main ()
    | {
    | exit (42);
    | ;
    | return 0;
    | }
    configure:3815: g++ -c conftest.cc >&5
    ./configure: line 1: g++: command not found
    configure:3821: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "apollon"
    | #define VERSION "1.0.1"
    | /* end confdefs.h. */
    | extern "C" void exit (int) throw ();
    | #include <stdlib.h>
    | int
    | main ()
    | {
    | exit (42);
    | ;
    | return 0;
    | }
    configure:3815: g++ -c conftest.cc >&5
    ./configure: line 1: g++: command not found
    configure:3821: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "apollon"
    | #define VERSION "1.0.1"
    | /* end confdefs.h. */
    | extern "C" void exit (int);
    | #include <stdlib.h>
    | int
    | main ()
    | {
    | exit (42);
    | ;
    | return 0;
    | }
    configure:3815: g++ -c conftest.cc >&5
    ./configure: line 1: g++: command not found
    configure:3821: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "apollon"
    | #define VERSION "1.0.1"
    | /* end confdefs.h. */
    | void exit (int);
    | #include <stdlib.h>
    | int
    | main ()
    | {
    | exit (42);
    | ;
    | return 0;
    | }
    configure:3904: checking dependency style of g++
    configure:3989: result: none
    configure:4313: checking whether g++ supports -Wmissing-format-attribute
    configure:4349: rm -rf SunWS_cache; g++ -o conftest -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wmissing-format-attribute conftest.cc 1>&5
    ./configure: line 1: g++: command not found
    configure:4355: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "apollon"
    | #define VERSION "1.0.1"
    | #ifdef __cplusplus
    | void exit (int);
    | #endif
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    | return 0;
    | ;
    | return 0;
    | }
    configure:4394: result: no
    configure:4401: checking whether gcc supports -Wmissing-format-attribute
    configure:4434: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -Wmissing-format-attribute conftest.c >&5
    configure:4440: $? = 0
    configure:4444: test -z
    || test ! -s conftest.err
    configure:4447: $? = 0
    configure:4450: test -s conftest
    configure:4453: $? = 0
    configure:4474: result: yes
    configure:4488: checking whether g++ supports -Wundef
    configure:4524: rm -rf SunWS_cache; g++ -o conftest -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wundef conftest.cc 1>&5
    ./configure: line 1: g++: command not found
    configure:4530: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "apollon"
    | #define VERSION "1.0.1"
    | #ifdef __cplusplus
    | void exit (int);
    | #endif
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    | return 0;
    | ;
    | return 0;
    | }
    configure:4569: result: no
    configure:4576: checking whether g++ supports -Wno-long-long
    configure:4612: rm -rf SunWS_cache; g++ -o conftest -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wno-long-long conftest.cc 1>&5
    ./configure: line 1: g++: command not found
    configure:4618: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "apollon"
    | #define VERSION "1.0.1"
    | #ifdef __cplusplus
    | void exit (int);
    | #endif
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    | return 0;
    | ;
    | return 0;
    | }
    configure:4657: result: no
    configure:4664: checking whether g++ supports -Wnon-virtual-dtor
    configure:4700: rm -rf SunWS_cache; g++ -o conftest -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wnon-virtual-dtor conftest.cc 1>&5
    ./configure: line 1: g++: command not found
    configure:4706: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "apollon"
    | #define VERSION "1.0.1"
    | #ifdef __cplusplus
    | void exit (int);
    | #endif
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    | return 0;
    | ;
    | return 0;
    | }
    configure:4745: result: no
    configure:5761: checking how to run the C++ preprocessor
    configure:5792: g++ -E conftest.cc
    ./configure: line 1: g++: command not found
    configure:5798: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "apollon"
    | #define VERSION "1.0.1"
    | #ifdef __cplusplus
    | void exit (int);
    | #endif
    | /* end confdefs.h. */
    | #ifdef __STDC__
    | # include <limits.h>
    | #else
    | # include <assert.h>
    | #endif
    | Syntax error
    configure:5792: g++ -E conftest.cc
    ./configure: line 1: g++: command not found
    configure:5798: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "apollon"
    | #define VERSION "1.0.1"
    | #ifdef __cplusplus
    | void exit (int);
    | #endif
    | /* end confdefs.h. */
    | #ifdef __STDC__
    | # include <limits.h>
    | #else
    | # include <assert.h>
    | #endif
    | Syntax error
    configure:5792: /lib/cpp conftest.cc
    cpp: installation problem, cannot exec `cc1plus': No such file or directory
    configure:5798: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "apollon"
    | #define VERSION "1.0.1"
    | #ifdef __cplusplus
    | void exit (int);
    | #endif
    | /* end confdefs.h. */
    | #ifdef __STDC__
    | # include <limits.h>
    | #else
    | # include <assert.h>
    | #endif
    | Syntax error
    configure:5792: /lib/cpp conftest.cc
    cpp: installation problem, cannot exec `cc1plus': No such file or directory
    configure:5798: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "apollon"
    | #define VERSION "1.0.1"
    | #ifdef __cplusplus
    | void exit (int);
    | #endif
    | /* end confdefs.h. */
    | #ifdef __STDC__
    | # include <limits.h>
    | #else
    | # include <assert.h>
    | #endif
    | Syntax error
    configure:5875: result: /lib/cpp
    configure:5899: /lib/cpp conftest.cc
    cpp: installation problem, cannot exec `cc1plus': No such file or directory
    configure:5905: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "apollon"
    | #define VERSION "1.0.1"
    | #ifdef __cplusplus
    | void exit (int);
    | #endif
    | /* end confdefs.h. */
    | #ifdef __STDC__
    | # include <limits.h>
    | #else
    | # include <assert.h>
    | #endif
    | Syntax error
    configure:5899: /lib/cpp conftest.cc
    cpp: installation problem, cannot exec `cc1plus': No such file or directory
    configure:5905: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "apollon"
    | #define VERSION "1.0.1"
    | #ifdef __cplusplus
    | void exit (int);
    | #endif
    | /* end confdefs.h. */
    | #ifdef __STDC__
    | # include <limits.h>
    | #else
    | # include <assert.h>
    | #endif
    | Syntax error
    configure:5974: error: C++ preprocessor "/lib/cpp" fails sanity check
    See `config.log' for more details.

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

    ac_cv_build=i686-pc-linux-gnu
    ac_cv_build_alias=i686-pc-linux-gnu
    ac_cv_c_compiler_gnu=yes
    ac_cv_cxx_compiler_gnu=no
    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_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_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_exeext=
    ac_cv_host=i686-pc-linux-gnu
    ac_cv_host_alias=i686-pc-linux-gnu
    ac_cv_objext=o
    ac_cv_path_install='/usr/bin/install -c'
    ac_cv_prog_AWK=gawk
    ac_cv_prog_CPP='gcc -E'
    ac_cv_prog_CXXCPP=/lib/cpp
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_cc_g=yes
    ac_cv_prog_cc_stdc=
    ac_cv_prog_cxx_g=no
    ac_cv_prog_make_make_set=yes
    ac_cv_target=i686-pc-linux-gnu
    ac_cv_target_alias=i686-pc-linux-gnu
    am_cv_CC_dependencies_compiler_type=gcc3
    am_cv_CXX_dependencies_compiler_type=none
    kde_cv_prog_cc_Wmissing_format_attribute=yes

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

    ACLOCAL='${SHELL} /home/roberto/apollon-1.0.1/admin/missing --run aclocal-1.8'
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='${SHELL} /home/roberto/apollon-1.0.1/admin/missing --run tar'
    AR=''
    ARTSCCONFIG=''
    AUTOCONF='${SHELL} /home/roberto/apollon-1.0.1/admin/missing --run autoconf'
    AUTODIRS=''
    AUTOHEADER='${SHELL} /home/roberto/apollon-1.0.1/admin/missing --run autoheader'
    AUTOMAKE='${SHELL} /home/roberto/apollon-1.0.1/admin/missing --run automake-1.8'
    AWK='gawk'
    BINRELOC_CFLAGS=''
    CC='gcc'
    CCDEPMODE='depmode=gcc3'
    CFLAGS='-ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -Wformat-security -Wmissing-format-attribute'
    CONF_FILES=' $(top_srcdir)/./admin/configure.in.min $(top_srcdir)/configure.in.in'
    CPP='gcc -E'
    CPPFLAGS=''
    CXX='g++'
    CXXCPP='/lib/cpp'
    CXXDEPMODE='depmode=none'
    CXXFLAGS='-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings'
    CYGPATH_W='echo'
    DCOPIDL2CPP=''
    DCOPIDL=''
    DCOPIDLNG=''
    DCOP_DEPENDENCIES=''
    DEFS=''
    DEPDIR='.deps'
    ECHO='echo'
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    F77=''
    FFLAGS=''
    FRAMEWORK_COREAUDIO=''
    GMSGFMT=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
    KCFG_DEPENDENCIES=''
    KCONFIG_COMPILER=''
    KDECONFIG=''
    KDE_EXTRA_RPATH=''
    KDE_INCLUDES=''
    KDE_LDFLAGS=''
    KDE_MT_LDFLAGS=''
    KDE_MT_LIBS=''
    KDE_NO_UNDEFINED=''
    KDE_PLUGIN=''
    KDE_RPATH=''
    KDE_USE_CLOSURE_FALSE=''
    KDE_USE_CLOSURE_TRUE=''
    KDE_USE_FINAL_FALSE=''
    KDE_USE_FINAL_TRUE=''
    KDE_USE_NMCHECK_FALSE=''
    KDE_USE_NMCHECK_TRUE=''
    KDE_XSL_STYLESHEET=''
    LDFLAGS=''
    LIBCOMPAT=''
    LIBCRYPT=''
    LIBDL=''
    LIBJPEG=''
    LIBOBJS=''
    LIBPNG=''
    LIBPTHREAD=''
    LIBRESOLV=''
    LIBS=''
    LIBSM=''
    LIBSOCKET=''
    LIBTOOL=''
    LIBUCB=''
    LIBUTIL=''
    LIBZ=''
    LIB_KAB=''
    LIB_KABC=''
    LIB_KDECORE=''
    LIB_KDEPIM=''
    LIB_KDEPRINT=''
    LIB_KDEUI=''
    LIB_KFILE=''
    LIB_KFM=''
    LIB_KHTML=''
    LIB_KIO=''
    LIB_KPARTS=''
    LIB_KSPELL=''
    LIB_KSYCOCA=''
    LIB_KUTILS=''
    LIB_POLL=''
    LIB_QPE=''
    LIB_QT=''
    LIB_SMB=''
    LIB_X11=''
    LIB_XEXT=''
    LIB_XRENDER=''
    LN_S=''
    LTLIBOBJS=''
    MAKEINFO='${SHELL} /home/roberto/apollon-1.0.1/admin/missing --run makeinfo'
    MCOPIDL=''
    MEINPROC=''
    MOC=''
    MSGFMT=''
    NOOPT_CFLAGS=''
    NOOPT_CXXFLAGS=''
    OBJEXT='o'
    PACKAGE='apollon'
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    PERL=''
    QTE_NORTTI=''
    QT_INCLUDES=''
    QT_LDFLAGS=''
    RANLIB=''
    SET_MAKE=''
    SHELL='/bin/sh'
    STRIP=''
    TOPSUBDIRS=''
    UIC=''
    UIC_TR=''
    USER_INCLUDES=''
    USER_LDFLAGS=''
    USE_EXCEPTIONS=''
    USE_RTTI=''
    USE_THREADS=''
    VERSION='1.0.1'
    WOVERLOADED_VIRTUAL=''
    XGETTEXT=''
    XMLLINT=''
    X_EXTRA_LIBS=''
    X_INCLUDES=''
    X_LDFLAGS=''
    X_PRE_LIBS=''
    X_RPATH=''
    ac_ct_AR=''
    ac_ct_CC='gcc'
    ac_ct_CXX='g++'
    ac_ct_F77=''
    ac_ct_RANLIB=''
    ac_ct_STRIP=''
    all_includes=''
    all_libraries=''
    am__fastdepCC_FALSE='#'
    am__fastdepCC_TRUE=''
    am__fastdepCXX_FALSE=''
    am__fastdepCXX_TRUE='#'
    am__include='include'
    am__leading_dot='.'
    am__quote=''
    bindir='${exec_prefix}/bin'
    build='i686-pc-linux-gnu'
    build_alias=''
    build_cpu='i686'
    build_os='linux-gnu'
    build_vendor='pc'
    datadir='${prefix}/share'
    exec_prefix='NONE'
    host='i686-pc-linux-gnu'
    host_alias=''
    host_cpu='i686'
    host_os='linux-gnu'
    host_vendor='pc'
    include_ARTS_FALSE=''
    include_ARTS_TRUE=''
    includedir='${prefix}/include'
    infodir='${prefix}/info'
    install_sh='/home/roberto/apollon-1.0.1/admin/install-sh'
    kde_appsdir=''
    kde_bindir=''
    kde_confdir=''
    kde_datadir=''
    kde_htmldir=''
    kde_icondir=''
    kde_includes=''
    kde_kcfgdir=''
    kde_libraries=''
    kde_libs_htmldir=''
    kde_libs_prefix=''
    kde_locale=''
    kde_mimedir=''
    kde_moduledir=''
    kde_qtver=''
    kde_servicesdir=''
    kde_servicetypesdir=''
    kde_sounddir=''
    kde_styledir=''
    kde_templatesdir=''
    kde_wallpaperdir=''
    kde_widgetdir=''
    kdeinitdir=''
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localstatedir='${prefix}/var'
    mandir='${prefix}/man'
    mkdir_p='mkdir -p -- .'
    oldincludedir='/usr/include'
    prefix='/usr/lib/kde3'
    program_transform_name='s,x,x,'
    qt_includes=''
    qt_libraries=''
    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'
    x_includes='NONE'
    x_libraries='NONE'
    xdg_appsdir=''
    xdg_directorydir=''
    xdg_menudir=''

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

    #define PACKAGE "apollon"
    #define PACKAGE_BUGREPORT ""
    #define PACKAGE_NAME ""
    #define PACKAGE_STRING ""
    #define PACKAGE_TARNAME ""
    #define PACKAGE_VERSION ""
    #define VERSION "1.0.1"
    #endif
    #ifdef __cplusplus
    void exit (int);

    configure: exit 1

  8. #8

    Padrão Solução Final

    Olá amigo!

    Esqueci de dizer que ao instalar o Código fonte do kernel (kernel-source) que faz parte do task-kernel-compiling, vc precisa prepara o kernel-souce para ser usado da seguinte forma:

    #cd /usr/src/linux-xxxxxx

    #./prepare-tree

    obs: o xxxxx acima é a versão do kernel utilizada

    após este processo seu sistema estará pronto para compilar qualquer programa

    Fallows

  9. #9

    Padrão Re: Solução Final

    Naum intendo continua dando erro no final este erro aqui ho

    configure: error: C++ preprocessor "/lib/cpp" fails sanity check

    ja fiz tudo que vc falow e nada