Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 24/10/2005, à 08:28

stev84

[Résolu] Probleme compilation

Bonjour, je suis ous kdevelop et j'essaye de compiler un simple "Hello world" mais j'obtient le message suivant:
cd '/home/steve/test' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -f Makefile.cvs && mkdir '/home/steve/test/debug' && cd '/home/steve/test/debug' && CFLAGS="-O0 -g3 " "/home/steve/test/configure" --enable-debug=full && cd '/home/steve/test/debug' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -k
/bin/sh: make: command not found
*** Exited with status: 127 ***

Quelqu'un aurait-il une idée?

Hors ligne

#2 Le 22/12/2005, à 21:52

Lord Van

Re : [Résolu] Probleme compilation

jai exactement le meme pb, qqn aurait une solution ??

Hors ligne

#3 Le 23/12/2005, à 03:26

maloq

Re : [Résolu] Probleme compilation

un peu plus de précision? (language etcetc...)

Hors ligne

#4 Le 23/12/2005, à 03:42

neves

Re : [Résolu] Probleme compilation

Heu bah vous avez essayé un bete

sudo apt-get install make

?

Hors ligne

#5 Le 23/12/2005, à 11:51

Lord Van

Re : [Résolu] Probleme compilation

Je voulais savoir si installer "make" suffira à utiliser de façon normal la compilation ? Si non, comment peux ton savoir dans synaptic, ce que je dois installer aussi pour pouvoir faire marcher kdevelop ?

Si ce n'est pas clair, je veux juste savoir comment faire une recherche dans synaptic, pour trouver toutes les librairies (ou autres liens avec kdevelop) à installer pour kdevelop avec synaptic ?

merci d'avance
+

Hors ligne

#6 Le 23/12/2005, à 15:51

bernez

Re : [Résolu] Probleme compilation

Manifestement tu n'as pas le paquetage make, il faut donc l'installer car si tu développes il y aura probablement des makefile tongue

/bin/sh: make: command not found

Vérifie aussi si tu as les compilateurs qui vont bien, gcc et g++
roll


vyé kanari ka fè bonsoup.
Kenavo. A galon !

Hors ligne

#7 Le 23/12/2005, à 19:13

Lord Van

Re : [Résolu] Probleme compilation

ok je vais essayer tout ça et je vous dis koi !

merci beaucoup !

Hors ligne

#8 Le 23/12/2005, à 19:52

Lord Van

Re : [Résolu] Probleme compilation

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 ?

Hors ligne

#9 Le 23/12/2005, à 21:18

bernez

Re : [Résolu] Probleme compilation

Et sans passer par kdevelop, essaie de compiler ton petit test en ligne de commande : gcc -o test ton-truc.c


vyé kanari ka fè bonsoup.
Kenavo. A galon !

Hors ligne

#10 Le 23/12/2005, à 21:33

Lord Van

Re : [Résolu] Probleme compilation

je ne sais pas comment on fait pour faire et tester un programme en c dans la ligne de commande !
je copie mon programme dans la commande !
dsl je ne sais pas du tout comment on fait !

Hors ligne

#11 Le 23/12/2005, à 21:33

neves

Re : [Résolu] Probleme compilation

sudo apt-get install libtool

d'apres google smile (pas testé donc)

Hors ligne

#12 Le 23/12/2005, à 21:36

Lord Van

Re : [Résolu] Probleme compilation

en faisant sudo apt-get install libtool, jai reessayé mon programme et voici le resultat de cette 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
autoheader
automake
autoconf
installing -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for gcc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
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 whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
*** Exited with status: 1 ***


je pense qu'on approche du but !
que dois je encore installer ?

merci d'avance

Hors ligne

#13 Le 23/12/2005, à 21:43

bernez

Re : [Résolu] Probleme compilation

Analyse le config.log :

See `config.log' for more details.

roll


vyé kanari ka fè bonsoup.
Kenavo. A galon !

Hors ligne

#14 Le 23/12/2005, à 21:46

Lord Van

Re : [Résolu] Probleme compilation

comment je fais ça ?

Hors ligne

#15 Le 23/12/2005, à 21:50

bernez

Re : [Résolu] Probleme compilation

dans le répertoire où tu compiles à priori tu dois bien pouvoir trouver ce fichier hmm
puis tu l'édites par un sudo gedit config.log  ou même peut-être un gedit config.log tout simple, enfin bref, un éditeur de texte quelconque. smile


vyé kanari ka fè bonsoup.
Kenavo. A galon !

Hors ligne

#16 Le 23/12/2005, à 21:54

Lord Van

Re : [Résolu] Probleme compilation

ou puis je voir quel est le repertoire ou je compile ?

Hors ligne

#17 Le 23/12/2005, à 21:55

Lord Van

Re : [Résolu] Probleme compilation

ça y est je lai, que suis je censé faire maintenant ?

Hors ligne

#18 Le 23/12/2005, à 21:56

bernez

Re : [Résolu] Probleme compilation

le lire après l'avoir édité hmm


vyé kanari ka fè bonsoup.
Kenavo. A galon !

Hors ligne

#19 Le 23/12/2005, à 21:56

Lord Van

Re : [Résolu] Probleme compilation

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

Hors ligne

#20 Le 23/12/2005, à 21:57

Lord Van

Re : [Résolu] Probleme compilation

du coup je lai mis en entier, jespère que c pas genant !

en tout cas, jespère régler le pb !

Hors ligne

#21 Le 23/12/2005, à 21:57

Lord Van

Re : [Résolu] Probleme compilation

qu'en pensez vous ?

Hors ligne

#22 Le 23/12/2005, à 22:06

bernez

Re : [Résolu] Probleme compilation

Je ne sais pas trop si tu as installé gcc ? mais c'est assez bizarre, à croire que ton kdevelop n'a pas l'air d'être configuré pour savoir ce qu'il doit faire ! quels outils, quel compilateur...A voir tout ça à tête reposée roll


vyé kanari ka fè bonsoup.
Kenavo. A galon !

Hors ligne

#23 Le 23/12/2005, à 22:12

Lord Van

Re : [Résolu] Probleme compilation

je suis novice en la matière, je suis incapable de corriger le pb moi même !
donc je ne suis pas pressé pour avoir la solution à mon pb, surtout si ça demande du temps de réflexion !

dc ce que je demande c'est juste quand vous saurez la réponse, faites en moi part !

De plus, je fais une liste de ce que jai installé pr avoir kdevelop3 et depuis que jessaie de compiler :
autoconf
automake
autogen
autotools-dev
gcc-3.4
gcc-3.4-base
libgcc1
imake
make
makedepend
makedev
libtool

voilà dc dèsque vous savez

merci !!

Hors ligne

#24 Le 23/12/2005, à 23:30

neves

Re : [Résolu] Probleme compilation

bon bah testons un p'tit coup de

sudo apt-get install gcc cpp g++

maitenant tongue

Dernière modification par neves (Le 23/12/2005, à 23:30)

Hors ligne

#25 Le 24/12/2005, à 13:57

Lord Van

Re : [Résolu] Probleme compilation

bonjour,

je viens d'installer la dernière chose qu'on ma dit de faire
desormais la compilation me signale "Success", merci beaucoup !

Malheureusement, quand je fais éxécuté le programme, voilà ce que ça marque :

"konsole --workdir /home/kalel/essai/debug/src -e/bin/sh -c './essai ; echo "Press enter to continue!";read dummy'
/bin/sh: konsole : command not found
***Exited with status: 127***"

quel est ce probleme d'éxécution du programme sous kdevelop ?

merci d'avance

Hors ligne