Re: pb de compilation (ou de compilateur plûtot)
On Sun, 2002-08-25 at 17:02, bobby.lee@free.fr wrote:
> Bonjour à tous :)
>
> J'espère que vous pardonnerez mon ignorance (je vois défiler dans ma boîte aux
> lettres des questions autrement plus complexes ;) mais je n'arrive pas à
> compiler la plupart des applications que je télécharge, alors que j'ai pu
> compiler un noyau.
>
> Si vous pouviez m'aider à comprendre quelle mon erreur (sûrement flagrante ;)
> je serai fort content!
>
> Voici ce que donne la sortie (j'obtiens ceci régulièrement):
>
> minilinux:/home/bobby/xmms/playmp3list-0.95# ./configure
> loading cache ./config.cache
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... missing
> checking for gcc... gcc
> checking whether the C compiler (gcc ) works... yes
> checking whether the C compiler (gcc ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking for c++... no
> checking for g++... no
> checking for gcc... gcc
> checking whether the C++ compiler (gcc ) works... no
> configure: error: installation or configuration problem: C++ compiler
> cannot create executables.
>
> Voici aussi la liste des paquets gcc et cpp sur mon système:
>
> minilinux:/home/bobby/xmms/playmp3list-0.95# dpkg -l '*cpp*' '*gcc*'
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-
> installed
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
> uppercase=bad)
> ||/ Name Version Description
> +++-================-================-
> ================================================
> ii cpp 2.95.2-13.1 The GNU C preprocessor.
> pn cpp-3.0 <none> (no description available)
> un egcc <none> (no description available)
> ii gcc 2.95.2-13.1 The GNU C compiler.
> un gcc-2.95 <none> (no description available)
> un gcc-2.95-doc <none> (no description available)
> pn gcc-3.0 <none> (no description available)
> pn gcc-3.0-base <none> (no description available)
> un gcc-3.0-doc <none> (no description available)
> un gcc-doc <none> (no description available)
> ii gcc272 2.7.2.3-15 The GNU C compiler.
> un gcc272-docs <none> (no description available)
> un libgcc0 <none> (no description available)
> ii libgcc1 3.0.4-7 GCC support library.
> un libgcc300 <none> (no description available)
>
>
Installe le package g++ (--> checking whether the C++ compiler (gcc )
works... no )
Reply to: