IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Linux Discussion :

Problème de compilation sous kdevelop3


Sujet :

Linux

  1. #1
    Membre averti
    Profil pro
    Étudiant
    Inscrit en
    Décembre 2005
    Messages
    41
    Détails du profil
    Informations personnelles :
    Localisation : France, Somme (Picardie)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Décembre 2005
    Messages : 41
    Par défaut Problème de compilation sous kdevelop3
    Bonsoir,

    voilà je viens dinstaller kdevelop3 sous ubuntu et jai voulu testé si ça marchait. J'ai juste fait un petit prog de rien de tout qui devrait affiché mon prénom ! Mais malheureusement lorsque je compile, j'ai le msg suivant :
    "cd '/home/kalel/essai' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -f Makefile.cvs && mkdir '/home/kalel/essai/debug' && cd '/home/kalel/essai/debug' && CFLAGS="-O0 -g3 " "/home/kalel/essai/configure" --enable-debug=full && cd '/home/kalel/essai/debug' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -k
    /bin/sh: make: command not found
    *** Exited with status: 127 ***
    voilà que dois je régler pour éviter ce pb ?

    merci de bien vouloir m'aider car c'est important pr un projet informatique ds le cadre de mes etudes !

    ++

  2. #2
    Expert confirmé
    Avatar de Jedai
    Homme Profil pro
    Enseignant
    Inscrit en
    Avril 2003
    Messages
    6 245
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Côte d'Or (Bourgogne)

    Informations professionnelles :
    Activité : Enseignant

    Informations forums :
    Inscription : Avril 2003
    Messages : 6 245
    Par défaut
    Il faut installer "make" (profites en pour installer autoconf automake autotools et compagnie). Il faut également binutils, gcc...
    Ubuntu n'est pas fait pour le développeur "de base", néanmoins il est très aisé de l'y adapter.

    --
    Jedaï

  3. #3
    Membre averti
    Profil pro
    Étudiant
    Inscrit en
    Décembre 2005
    Messages
    41
    Détails du profil
    Informations personnelles :
    Localisation : France, Somme (Picardie)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Décembre 2005
    Messages : 41
    Par défaut
    et comment on fait pour installer tout ça ! je suis novice dans l'univers de linux ?

    il suffit de les installer dans la console avec sudo apt-get install +nom application ?

    merci d em'aiguiller !

    ++

  4. #4
    Expert confirmé
    Avatar de Jedai
    Homme Profil pro
    Enseignant
    Inscrit en
    Avril 2003
    Messages
    6 245
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Côte d'Or (Bourgogne)

    Informations professionnelles :
    Activité : Enseignant

    Informations forums :
    Inscription : Avril 2003
    Messages : 6 245
    Par défaut
    Ubuntu étant une distribution graphique, tu peux essayer d'utiliser apt-get, mais tu peux aussi utiliser les interfaces graphiques disponibles : synaptic par exemple où une petite recherche te permettra facilement de trouver les paquetages nécessaires.
    Cependant ta question m'inquiète : comment as-tu installé kdevelop ?

    Je te conseille de lire quelques documents de base sur Ubuntu, comme ubuntu-fr en propose :
    http://doc.ubuntu-fr.org/

    --
    Jedaï

  5. #5
    Membre averti
    Profil pro
    Étudiant
    Inscrit en
    Décembre 2005
    Messages
    41
    Détails du profil
    Informations personnelles :
    Localisation : France, Somme (Picardie)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Décembre 2005
    Messages : 41
    Par défaut
    et bien justement j'ai suivi ce site que tu m'as passé en lien pour installer mes différentes applications !

    Pour installer kdevelop jai juste entrer en ligne de command apt-get install kdevelop3 !

    Maintenant je sais qu'il faut que jinstalle "make" mais par rapport à la première reponse que j'ai eu, je vois qu'il me faudrait d'autres choses, pouvez vous me faire une liste de tt ce que je dois installer pour pouvoir compiler avec kdevelop sous ubuntu ?

    (pr que ce soit simple, il faudrait que tt ce qui soit à installer puisse l'être avec un "apt-get install" ou synaptic !

    Merci de votre aide !
    En attendant vos reponses, @bientot

  6. #6
    Rédacteur
    Avatar de Franck.H
    Homme Profil pro
    Développeur .NET
    Inscrit en
    Janvier 2004
    Messages
    6 951
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 47
    Localisation : France, Haut Rhin (Alsace)

    Informations professionnelles :
    Activité : Développeur .NET
    Secteur : Service public

    Informations forums :
    Inscription : Janvier 2004
    Messages : 6 951
    Par défaut
    Je suis pas sûr qu'il y'a tout mais bon, voici une liste de ce qu'il faut:

    • autoconf
    • autogen
    • automake (la derniere version est la 1.4)
    • autotools-dev
    • gcc-x.x (3.4 ou 4.0)
    • gcc-x.x-base
    • libgcc1
    • imake
    • make
    • makedepend
    • makedev
    Mon Site
    Ma bibliothèque de gestion des chaînes de caractères en C

    L'imagination est plus importante que le savoir. A. Einstein

    Je ne répond à aucune question technique par MP, merci d'avance !

  7. #7
    Membre averti
    Profil pro
    Étudiant
    Inscrit en
    Décembre 2005
    Messages
    41
    Détails du profil
    Informations personnelles :
    Localisation : France, Somme (Picardie)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Décembre 2005
    Messages : 41
    Par défaut
    j'ai installer ce que vous m'avez dit de faire et voilà un autre message suite à ma compilation :

    "cd '/home/kalel/essai' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -f Makefile.cvs && mkdir '/home/kalel/essai/debug' && cd '/home/kalel/essai/debug' && CFLAGS="-O0 -g3 " "/home/kalel/essai/configure" --enable-debug=full && cd '/home/kalel/essai/debug' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -k
    aclocal
    aclocal: configure.in: 8: macro `AM_PROG_LIBTOOL' not found in library
    make: *** [all] Erreur 1
    *** Exited with status: 2 ***
    que dois je faire desormais ?

    merci d'avance !

  8. #8
    Membre averti
    Profil pro
    Étudiant
    Inscrit en
    Décembre 2005
    Messages
    41
    Détails du profil
    Informations personnelles :
    Localisation : France, Somme (Picardie)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Décembre 2005
    Messages : 41
    Par défaut
    jai installé en plus libtool, et maintenant il me dit danalyser le config.log que voici :

    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

    $ /home/kalel/essai/configure --enable-debug=full

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

    hostname = ubuntu
    uname -m = i686
    uname -r = 2.6.12-10-386
    uname -s = Linux
    uname -v = #1 Thu Dec 22 11:37:10 UTC 2005

    /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/bin
    PATH: /usr/local/sbin
    PATH: /sbin
    PATH: /usr/sbin
    PATH: /bin
    PATH: /usr/bin
    PATH: /usr/bin/X11
    PATH: /usr/games


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

    configure:1540: checking for a BSD-compatible install
    configure:1595: result: /usr/bin/install -c
    configure:1606: checking whether build environment is sane
    configure:1649: result: yes
    configure:1664: checking whether make sets $(MAKE)
    configure:1684: result: yes
    configure:1716: checking for working aclocal-1.4
    configure:1723: result: found
    configure:1731: checking for working autoconf
    configure:1738: result: found
    configure:1746: checking for working automake-1.4
    configure:1753: result: found
    configure:1761: checking for working autoheader
    configure:1768: result: found
    configure:1776: checking for working makeinfo
    configure:1787: result: missing
    configure:1845: checking for gcc
    configure:1874: result: no
    configure:1925: checking for cc
    configure:1941: found /usr/bin/cc
    configure:1951: result: cc
    configure:2115: checking for C compiler version
    configure:2118: cc --version </dev/null >&5
    cc (GCC) 3.4.5 20050809 (prerelease) (Ubuntu 3.4.4-6ubuntu8)
    Copyright (C) 2004 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:2121: $? = 0
    configure:2123: cc -v </dev/null >&5
    Reading specs from /usr/lib/gcc/i486-linux-gnu/3.4.5/specs
    Configured with: ../src/configure -v --enable-languages=c,c++,f77,pascal,objc,ada --prefix=/usr --libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --program-suffix=-3.4 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug i486-linux-gnu
    Thread model: posix
    gcc version 3.4.5 20050809 (prerelease) (Ubuntu 3.4.4-6ubuntu8)
    configure:2126: $? = 0
    configure:2128: cc -V </dev/null >&5
    cc: `-V' option must have argument
    configure:2131: $? = 1
    configure:2154: checking for C compiler default output file name
    configure:2157: cc -O0 -g3 conftest.c >&5
    configure:2160: $? = 0
    configure:2206: result: a.out
    configure:2211: checking whether the C compiler works
    configure:2217: ./a.out
    configure:2220: $? = 0
    configure:2237: result: yes
    configure:2244: checking whether we are cross compiling
    configure:2246: result: no
    configure:2249: checking for suffix of executables
    configure:2251: cc -o conftest -O0 -g3 conftest.c >&5
    configure:2254: $? = 0
    configure:2279: result:
    configure:2285: checking for suffix of object files
    configure:2306: cc -c -O0 -g3 conftest.c >&5
    configure:2309: $? = 0
    configure:2331: result: o
    configure:2335: checking whether we are using the GNU C compiler
    configure:2359: cc -c -O0 -g3 conftest.c >&5
    configure:2365: $? = 0
    configure:2368: test -z || test ! -s conftest.err
    configure:2371: $? = 0
    configure:2374: test -s conftest.o
    configure:2377: $? = 0
    configure:2390: result: yes
    configure:2396: checking whether cc accepts -g
    configure:2417: cc -c -g conftest.c >&5
    configure:2423: $? = 0
    configure:2426: test -z || test ! -s conftest.err
    configure:2429: $? = 0
    configure:2432: test -s conftest.o
    configure:2435: $? = 0
    configure:2446: result: yes
    configure:2463: checking for cc option to accept ANSI C
    configure:2533: cc -c -O0 -g3 conftest.c >&5
    configure:2539: $? = 0
    configure:2542: test -z || test ! -s conftest.err
    configure:2545: $? = 0
    configure:2548: test -s conftest.o
    configure:2551: $? = 0
    configure:2569: result: none needed
    configure:2587: cc -c -O0 -g3 conftest.c >&5
    conftest.c:2: error: parse error before "me"
    configure:2593: $? = 1
    configure: failed program was:
    | #ifndef __cplusplus
    | choke me
    | #endif
    configure:2801: checking build system type
    configure:2819: result: i686-pc-linux-gnu
    configure:2827: checking host system type
    configure:2841: result: i686-pc-linux-gnu
    configure:2849: checking for a sed that does not truncate output
    configure:2903: result: /bin/sed
    configure:2906: checking for egrep
    configure:2916: result: grep -E
    configure:2932: checking for ld used by cc
    configure:2999: result: /usr/bin/ld
    configure:3008: checking if the linker (/usr/bin/ld) is GNU ld
    configure:3023: result: yes
    configure:3028: checking for /usr/bin/ld option to reload object files
    configure:3035: result: -r
    configure:3044: checking for BSD-compatible nm
    configure:3086: result: /usr/bin/nm -B
    configure:3090: checking whether ln -s works
    configure:3094: result: yes
    configure:3101: checking how to recognise dependent libraries
    configure:3275: result: pass_all
    configure:3488: checking how to run the C preprocessor
    configure:3523: cc -E conftest.c
    configure:3529: $? = 0
    configure:3561: cc -E conftest.c
    conftest.c:11:28: ac_nonexistent.h: No such file or directory
    configure:3567: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "essai"
    | #define VERSION "0.1"
    | /* end confdefs.h. */
    | #include <ac_nonexistent.h>
    configure:3606: result: cc -E
    configure:3630: cc -E conftest.c
    configure:3636: $? = 0
    configure:3668: cc -E conftest.c
    conftest.c:11:28: ac_nonexistent.h: No such file or directory
    configure:3674: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "essai"
    | #define VERSION "0.1"
    | /* end confdefs.h. */
    | #include <ac_nonexistent.h>
    configure:3718: checking for ANSI C header files
    configure:3743: cc -c -O0 -g3 conftest.c >&5
    configure:3749: $? = 0
    configure:3752: test -z || test ! -s conftest.err
    configure:3755: $? = 0
    configure:3758: test -s conftest.o
    configure:3761: $? = 0
    configure:3850: cc -o conftest -O0 -g3 conftest.c >&5
    configure:3853: $? = 0
    configure:3855: ./conftest
    configure:3858: $? = 0
    configure:3873: result: yes
    configure:3897: checking for sys/types.h
    configure:3913: cc -c -O0 -g3 conftest.c >&5
    configure:3919: $? = 0
    configure:3922: test -z || test ! -s conftest.err
    configure:3925: $? = 0
    configure:3928: test -s conftest.o
    configure:3931: $? = 0
    configure:3942: result: yes
    configure:3897: checking for sys/stat.h
    configure:3913: cc -c -O0 -g3 conftest.c >&5
    configure:3919: $? = 0
    configure:3922: test -z || test ! -s conftest.err
    configure:3925: $? = 0
    configure:3928: test -s conftest.o
    configure:3931: $? = 0
    configure:3942: result: yes
    configure:3897: checking for stdlib.h
    configure:3913: cc -c -O0 -g3 conftest.c >&5
    configure:3919: $? = 0
    configure:3922: test -z || test ! -s conftest.err
    configure:3925: $? = 0
    configure:3928: test -s conftest.o
    configure:3931: $? = 0
    configure:3942: result: yes
    configure:3897: checking for string.h
    configure:3913: cc -c -O0 -g3 conftest.c >&5
    configure:3919: $? = 0
    configure:3922: test -z || test ! -s conftest.err
    configure:3925: $? = 0
    configure:3928: test -s conftest.o
    configure:3931: $? = 0
    configure:3942: result: yes
    configure:3897: checking for memory.h
    configure:3913: cc -c -O0 -g3 conftest.c >&5
    configure:3919: $? = 0
    configure:3922: test -z || test ! -s conftest.err
    configure:3925: $? = 0
    configure:3928: test -s conftest.o
    configure:3931: $? = 0
    configure:3942: result: yes
    configure:3897: checking for strings.h
    configure:3913: cc -c -O0 -g3 conftest.c >&5
    configure:3919: $? = 0
    configure:3922: test -z || test ! -s conftest.err
    configure:3925: $? = 0
    configure:3928: test -s conftest.o
    configure:3931: $? = 0
    configure:3942: result: yes
    configure:3897: checking for inttypes.h
    configure:3913: cc -c -O0 -g3 conftest.c >&5
    configure:3919: $? = 0
    configure:3922: test -z || test ! -s conftest.err
    configure:3925: $? = 0
    configure:3928: test -s conftest.o
    configure:3931: $? = 0
    configure:3942: result: yes
    configure:3897: checking for stdint.h
    configure:3913: cc -c -O0 -g3 conftest.c >&5
    configure:3919: $? = 0
    configure:3922: test -z || test ! -s conftest.err
    configure:3925: $? = 0
    configure:3928: test -s conftest.o
    configure:3931: $? = 0
    configure:3942: result: yes
    configure:3897: checking for unistd.h
    configure:3913: cc -c -O0 -g3 conftest.c >&5
    configure:3919: $? = 0
    configure:3922: test -z || test ! -s conftest.err
    configure:3925: $? = 0
    configure:3928: test -s conftest.o
    configure:3931: $? = 0
    configure:3942: result: yes
    configure:3968: checking dlfcn.h usability
    configure:3980: cc -c -O0 -g3 conftest.c >&5
    configure:3986: $? = 0
    configure:3989: test -z || test ! -s conftest.err
    configure:3992: $? = 0
    configure:3995: test -s conftest.o
    configure:3998: $? = 0
    configure:4008: result: yes
    configure:4012: checking dlfcn.h presence
    configure:4022: cc -E conftest.c
    configure:4028: $? = 0
    configure:4048: result: yes
    configure:4083: checking for dlfcn.h
    configure:4090: result: yes
    configure:4155: checking for g++
    configure:4184: result: no
    configure:4155: checking for c++
    configure:4184: result: no
    configure:4155: checking for gpp
    configure:4184: result: no
    configure:4155: checking for aCC
    configure:4184: result: no
    configure:4155: checking for CC
    configure:4184: result: no
    configure:4155: checking for cxx
    configure:4184: result: no
    configure:4155: checking for cc++
    configure:4184: result: no
    configure:4155: checking for cl
    configure:4184: result: no
    configure:4155: checking for FCC
    configure:4184: result: no
    configure:4155: checking for KCC
    configure:4184: result: no
    configure:4155: checking for RCC
    configure:4184: result: no
    configure:4155: checking for xlC_r
    configure:4184: result: no
    configure:4155: checking for xlC
    configure:4184: result: no
    configure:4197: checking for C++ compiler version
    configure:4200: g++ --version </dev/null >&5
    /home/kalel/essai/configure: line 4201: g++: command not found
    configure:4203: $? = 127
    configure:4205: g++ -v </dev/null >&5
    /home/kalel/essai/configure: line 4206: g++: command not found
    configure:4208: $? = 127
    configure:4210: g++ -V </dev/null >&5
    /home/kalel/essai/configure: line 4211: g++: command not found
    configure:4213: $? = 127
    configure:4216: checking whether we are using the GNU C++ compiler
    configure:4240: g++ -c conftest.cc >&5
    /home/kalel/essai/configure: line 4241: g++: command not found
    configure:4246: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "essai"
    | #define VERSION "0.1"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    | #ifndef __GNUC__
    | choke me
    | #endif
    |
    | ;
    | return 0;
    | }
    configure:4271: result: no
    configure:4277: checking whether g++ accepts -g
    configure:4298: g++ -c -g conftest.cc >&5
    /home/kalel/essai/configure: line 4299: g++: command not found
    configure:4304: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "essai"
    | #define VERSION "0.1"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:4327: result: no
    configure:4369: g++ -c conftest.cc >&5
    /home/kalel/essai/configure: line 4370: g++: command not found
    configure:4375: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "essai"
    | #define VERSION "0.1"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | /* end confdefs.h. */
    |
    | #include <stdlib.h>
    | int
    | main ()
    | {
    | exit (42);
    | ;
    | return 0;
    | }
    configure:4369: g++ -c conftest.cc >&5
    /home/kalel/essai/configure: line 4370: g++: command not found
    configure:4375: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "essai"
    | #define VERSION "0.1"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | /* end confdefs.h. */
    | extern "C" void std::exit (int) throw (); using std::exit;
    | #include <stdlib.h>
    | int
    | main ()
    | {
    | exit (42);
    | ;
    | return 0;
    | }
    configure:4369: g++ -c conftest.cc >&5
    /home/kalel/essai/configure: line 4370: g++: command not found
    configure:4375: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "essai"
    | #define VERSION "0.1"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | /* end confdefs.h. */
    | extern "C" void std::exit (int); using std::exit;
    | #include <stdlib.h>
    | int
    | main ()
    | {
    | exit (42);
    | ;
    | return 0;
    | }
    configure:4369: g++ -c conftest.cc >&5
    /home/kalel/essai/configure: line 4370: g++: command not found
    configure:4375: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "essai"
    | #define VERSION "0.1"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | /* end confdefs.h. */
    | extern "C" void exit (int) throw ();
    | #include <stdlib.h>
    | int
    | main ()
    | {
    | exit (42);
    | ;
    | return 0;
    | }
    configure:4369: g++ -c conftest.cc >&5
    /home/kalel/essai/configure: line 4370: g++: command not found
    configure:4375: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "essai"
    | #define VERSION "0.1"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | /* end confdefs.h. */
    | extern "C" void exit (int);
    | #include <stdlib.h>
    | int
    | main ()
    | {
    | exit (42);
    | ;
    | return 0;
    | }
    configure:4369: g++ -c conftest.cc >&5
    /home/kalel/essai/configure: line 4370: g++: command not found
    configure:4375: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "essai"
    | #define VERSION "0.1"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | /* end confdefs.h. */
    | void exit (int);
    | #include <stdlib.h>
    | int
    | main ()
    | {
    | exit (42);
    | ;
    | return 0;
    | }
    configure:4459: checking how to run the C++ preprocessor
    configure:4490: g++ -E conftest.cc
    /home/kalel/essai/configure: line 4491: g++: command not found
    configure:4496: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "essai"
    | #define VERSION "0.1"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #ifdef __cplusplus
    | void exit (int);
    | #endif
    | /* end confdefs.h. */
    | #ifdef __STDC__
    | # include <limits.h>
    | #else
    | # include <assert.h>
    | #endif
    | Syntax error
    configure:4490: g++ -E conftest.cc
    /home/kalel/essai/configure: line 4491: g++: command not found
    configure:4496: $? = 127
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "essai"
    | #define VERSION "0.1"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #ifdef __cplusplus
    | void exit (int);
    | #endif
    | /* end confdefs.h. */
    | #ifdef __STDC__
    | # include <limits.h>
    | #else
    | # include <assert.h>
    | #endif
    | Syntax error
    configure:4490: /lib/cpp conftest.cc
    cpp: installation problem, cannot exec 'cc1plus': No such file or directory
    configure:4496: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "essai"
    | #define VERSION "0.1"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #ifdef __cplusplus
    | void exit (int);
    | #endif
    | /* end confdefs.h. */
    | #ifdef __STDC__
    | # include <limits.h>
    | #else
    | # include <assert.h>
    | #endif
    | Syntax error
    configure:4490: /lib/cpp conftest.cc
    cpp: installation problem, cannot exec 'cc1plus': No such file or directory
    configure:4496: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "essai"
    | #define VERSION "0.1"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #ifdef __cplusplus
    | void exit (int);
    | #endif
    | /* end confdefs.h. */
    | #ifdef __STDC__
    | # include <limits.h>
    | #else
    | # include <assert.h>
    | #endif
    | Syntax error
    configure:4573: result: /lib/cpp
    configure:4597: /lib/cpp conftest.cc
    cpp: installation problem, cannot exec 'cc1plus': No such file or directory
    configure:4603: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "essai"
    | #define VERSION "0.1"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #ifdef __cplusplus
    | void exit (int);
    | #endif
    | /* end confdefs.h. */
    | #ifdef __STDC__
    | # include <limits.h>
    | #else
    | # include <assert.h>
    | #endif
    | Syntax error
    configure:4597: /lib/cpp conftest.cc
    cpp: installation problem, cannot exec 'cc1plus': No such file or directory
    configure:4603: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "essai"
    | #define VERSION "0.1"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #ifdef __cplusplus
    | void exit (int);
    | #endif
    | /* end confdefs.h. */
    | #ifdef __STDC__
    | # include <limits.h>
    | #else
    | # include <assert.h>
    | #endif
    | Syntax error
    configure:4672: 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=set
    ac_cv_env_CFLAGS_value='-O0 -g3 '
    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_header_dlfcn_h=yes
    ac_cv_header_inttypes_h=yes
    ac_cv_header_memory_h=yes
    ac_cv_header_stdc=yes
    ac_cv_header_stdint_h=yes
    ac_cv_header_stdlib_h=yes
    ac_cv_header_string_h=yes
    ac_cv_header_strings_h=yes
    ac_cv_header_sys_stat_h=yes
    ac_cv_header_sys_types_h=yes
    ac_cv_header_unistd_h=yes
    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_CPP='cc -E'
    ac_cv_prog_CXXCPP=/lib/cpp
    ac_cv_prog_ac_ct_CC=cc
    ac_cv_prog_cc_g=yes
    ac_cv_prog_cc_stdc=
    ac_cv_prog_cxx_g=no
    ac_cv_prog_egrep='grep -E'
    ac_cv_prog_make_make_set=yes
    lt_cv_deplibs_check_method=pass_all
    lt_cv_file_magic_cmd='$MAGIC_CMD'
    lt_cv_file_magic_test_file=
    lt_cv_ld_reload_flag=-r
    lt_cv_path_LD=/usr/bin/ld
    lt_cv_path_NM='/usr/bin/nm -B'
    lt_cv_path_SED=/bin/sed
    lt_cv_prog_gnu_ld=yes

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

    ACLOCAL='aclocal-1.4'
    AR=''
    AUTOCONF='autoconf'
    AUTOHEADER='autoheader'
    AUTOMAKE='automake-1.4'
    CC='cc'
    CFLAGS='-O0 -g3 '
    CPP='cc -E'
    CPPFLAGS=''
    CXX='g++'
    CXXCPP='/lib/cpp'
    CXXFLAGS=''
    DEFS=''
    ECHO='echo'
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP='grep -E'
    EXEEXT=''
    F77=''
    FFLAGS=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    LDFLAGS=''
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LN_S='ln -s'
    LTLIBOBJS=''
    MAKEINFO='/home/kalel/essai/missing makeinfo'
    OBJEXT='o'
    PACKAGE='essai'
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    RANLIB=''
    SET_MAKE=''
    SHELL='/bin/sh'
    STRIP=''
    VERSION='0.1'
    ac_ct_AR=''
    ac_ct_CC='cc'
    ac_ct_CXX='g++'
    ac_ct_F77=''
    ac_ct_RANLIB=''
    ac_ct_STRIP=''
    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'
    includedir='${prefix}/include'
    infodir='${prefix}/info'
    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'
    target_alias=''

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

    #define HAVE_DLFCN_H 1
    #define HAVE_INTTYPES_H 1
    #define HAVE_MEMORY_H 1
    #define HAVE_STDINT_H 1
    #define HAVE_STDLIB_H 1
    #define HAVE_STRINGS_H 1
    #define HAVE_STRING_H 1
    #define HAVE_SYS_STAT_H 1
    #define HAVE_SYS_TYPES_H 1
    #define HAVE_UNISTD_H 1
    #define PACKAGE "essai"
    #define PACKAGE_BUGREPORT ""
    #define PACKAGE_NAME ""
    #define PACKAGE_STRING ""
    #define PACKAGE_TARNAME ""
    #define PACKAGE_VERSION ""
    #define STDC_HEADERS 1
    #define VERSION "0.1"
    #endif
    #ifdef __cplusplus
    void exit (int);

    configure: exit 1

    donc maintenant je suis perdu, que dois je faire ?

    je ne sais pas comment régler le pb !

  9. #9
    Membre averti
    Profil pro
    Étudiant
    Inscrit en
    Décembre 2005
    Messages
    41
    Détails du profil
    Informations personnelles :
    Localisation : France, Somme (Picardie)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Décembre 2005
    Messages : 41
    Par défaut
    jai finalement resolu le pb, jai installer gcc, g++, cpp et konsole en plus et libtool et ça marche !

    merci et JOYEUX NOEL

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Compiler sous Dos un programme Pascal pour Unix
    Par jpclabaux dans le forum Pascal
    Réponses: 2
    Dernier message: 29/07/2005, 08h16
  2. [Eclipse 3.1]compiler sous eclipse 3.1
    Par tarik75 dans le forum Eclipse Java
    Réponses: 3
    Dernier message: 25/07/2005, 13h01
  3. problème de compilation sous XP/Centrino?
    Par RalphH dans le forum C++Builder
    Réponses: 19
    Dernier message: 23/10/2004, 16h12
  4. problème de compilation sous visual C++
    Par fabmili dans le forum MFC
    Réponses: 4
    Dernier message: 08/02/2004, 19h52
  5. [TP]Probleme de compilation sous TP7
    Par yffick dans le forum Turbo Pascal
    Réponses: 7
    Dernier message: 18/12/2003, 20h32

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo