OVH Cloud OVH Cloud

Mandrake10.1 et compilation

7 réponses
Avatar
PERPLEX
Bonsoir à tous,
J'ai la Mandrake 10.1 (3 CDs de Linux CD) et modem 33600 kb.
Je ne trouve pas le moyen de compiler plib-1.8.2, ni FlightGear-0.9.6,
ni Simgear...etc... après décompression.
A chaque fois (même en root) le ./configure me donne le résultat suivant:

[root@Ann-Lou plib-1.8.2]# ./configure
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
includedir changed to ${prefix}/include/plib libdir is ${exec_prefix}/lib
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
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 dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check

Apparemment il manque des fichiers de compilation bien que j'ai installé
tout ce que j'ai pu trouver sur les 3 CDs en libcc, glibc etc...
Je croyais avoir tout sur les CDs pour compiler.
Ni autoconf, ni imake, ni script shell ne me dépanne lorsque un des
répertoires devrait le permettre.
Qu'est-ce qu'il me manque ? Je n'ai jamais eu ce problême avec les
8.1, 9.0 et 9.2 auxquelles je n'ai jamais ajouté d'outils de compi
lation.
En espèrant un dépannage
Cordialement à tous

7 réponses

Avatar
Patrik
Il te manque quand même des compilateurs, du style cc++ et g++

Un petit coup d'urpmi ou si tu ne disposes que des CD, tu demandes
l'installation du rpm kernel-sources, qui te mettra par défaut tous les
compilateurs nécessaires...
Avatar
PERPLEX
Patrik a écrit :
Il te manque quand même des compilateurs, du style cc++ et g++

Un petit coup d'urpmi ou si tu ne disposes que des CD, tu demandes
l'installation du rpm kernel-sources, qui te mettra par défaut tous les
compilateurs nécessaires...



Merci pour la réponse , j'ai chargé le seul paquetage
kernel-source-2.6-2.6.8.1-10mdk trouvé qui m'a installé des fichiers
supplémentaires, mais toujours le même problème.
Pas de fonctionnement de ./configure ou make.
Je ne comprends rien aux fichiers README qui sont dans ces répertoires.
Voici le fichier config.log complet:
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.52. Invocation command line was

$ /usr/src/plib-1.8.2/configure

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

hostname = Ann-Lou.fr
uname -m = i686
uname -r = 2.6.8.1-10mdk
uname -s = Linux
uname -v = #1 Wed Sep 8 17:00:52 CEST 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/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/home/philippe/bin

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

configure:962: PATH=".;."; conftest.sh
/usr/src/plib-1.8.2/configure: line 963: conftest.sh: command not found
configure:965: $? = 127
configure:1020: checking for a BSD compatible install
configure:1069: result: /usr/bin/install -c
configure:1080: checking whether build environment is sane
configure:1123: result: yes
configure:1156: checking for mawk
configure:1182: result: no
configure:1156: checking for gawk
configure:1171: found /bin/gawk
configure:1179: result: gawk
configure:1189: checking whether make sets ${MAKE}
configure:1209: result: yes
configure:1355: checking for gcc
configure:1370: found /usr/bin/gcc
configure:1378: result: gcc
configure:1606: checking for C compiler version
configure:1609: gcc --version </dev/null >&5
gcc (GCC) 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)
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:1612: $? = 0
configure:1614: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix --disable-checking
--enable-long-long --enable-__cxa_atexit --enable-clocale=gnu
--disable-libunwind-exceptions
--enable-languages=c,c++,ada,f77,objc,java
--host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)
configure:1617: $? = 0
configure:1619: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:1622: $? = 1
configure:1642: checking for C compiler default output
configure:1645: gcc conftest.c >&5
configure:1648: $? = 0
configure:1677: result: a.out
configure:1682: checking whether the C compiler works
configure:1688: ./a.out
configure:1691: $? = 0
configure:1706: result: yes
configure:1713: checking whether we are cross compiling
configure:1715: result: no
configure:1718: checking for executable suffix
configure:1720: gcc -o conftest conftest.c >&5
configure:1723: $? = 0
configure:1745: result:
configure:1751: checking for object suffix
configure:1769: gcc -c conftest.c >&5
configure:1772: $? = 0
configure:1791: result: o
configure:1795: checking whether we are using the GNU C compiler
configure:1816: gcc -c conftest.c >&5
configure:1819: $? = 0
configure:1822: test -s conftest.o
configure:1825: $? = 0
configure:1837: result: yes
configure:1843: checking whether gcc accepts -g
configure:1861: gcc -c -g conftest.c >&5
configure:1864: $? = 0
configure:1867: test -s conftest.o
configure:1870: $? = 0
configure:1880: result: yes
configure:1907: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:1910: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
configure:2016: checking for style of include used by make
configure:2043: result: GNU
configure:2049: checking dependency style of gcc
configure:2111: result: gcc3
configure:2120: checking how to run the C preprocessor
configure:2146: gcc -E conftest.c
configure:2152: $? = 0
configure:2179: gcc -E conftest.c
configure:2176:28: ac_nonexistent.h: No such file or directory
configure:2185: $? = 1
configure: failed program was:
#line 2175 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2222: result: gcc -E
configure:2237: gcc -E conftest.c
configure:2243: $? = 0
configure:2270: gcc -E conftest.c
configure:2267:28: ac_nonexistent.h: No such file or directory
configure:2276: $? = 1
configure: failed program was:
#line 2266 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2364: checking for g++
configure:2390: result: no
configure:2364: checking for c++
configure:2390: result: no
configure:2364: checking for gpp
configure:2390: result: no
configure:2364: checking for aCC
configure:2390: result: no
configure:2364: checking for CC
configure:2390: result: no
configure:2364: checking for cxx
configure:2390: result: no
configure:2364: checking for cc++
configure:2390: result: no
configure:2364: checking for cl
configure:2390: result: no
configure:2364: checking for FCC
configure:2390: result: no
configure:2364: checking for KCC
configure:2390: result: no
configure:2364: checking for RCC
configure:2390: result: no
configure:2364: checking for xlC_r
configure:2390: result: no
configure:2364: checking for xlC
configure:2390: result: no
configure:2402: checking for C++ compiler version
configure:2405: g++ --version </dev/null >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2408: $? = 127
configure:2410: g++ -v </dev/null >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2413: $? = 127
configure:2415: g++ -V </dev/null >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2418: $? = 127
configure:2421: checking whether we are using the GNU C++ compiler
configure:2442: g++ -c conftest.cc >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2445: $? = 127
configure: failed program was:
#line 2427 "configure"
#include "confdefs.h"

int
main ()
{
#ifndef __GNUC__
choke me
#endif

;
return 0;
}
configure:2463: result: no
configure:2469: checking whether g++ accepts -g
configure:2487: g++ -c -g conftest.cc >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2490: $? = 127
configure: failed program was:
#line 2475 "configure"
#include "confdefs.h"

int
main ()
{

;
return 0;
}
configure:2506: result: no
configure:2546: g++ -c conftest.cc >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2549: $? = 127
configure: failed program was:
#line 2533 "configure"
#include "confdefs.h"
#include <stdlib.h>

int
main ()
{
exit (42);
;
return 0;
}
configure:2546: g++ -c conftest.cc >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2549: $? = 127
configure: failed program was:
#line 2533 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
int
main ()
{
exit (42);
;
return 0;
}
configure:2546: g++ -c conftest.cc >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2549: $? = 127
configure: failed program was:
#line 2533 "configure"
#include "confdefs.h"
#include <stdlib.h>
extern "C" void std::exit (int) throw (); using std::exit;
int
main ()
{
exit (42);
;
return 0;
}
configure:2546: g++ -c conftest.cc >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2549: $? = 127
configure: failed program was:
#line 2533 "configure"
#include "confdefs.h"
#include <stdlib.h>
extern "C" void std::exit (int); using std::exit;
int
main ()
{
exit (42);
;
return 0;
}
configure:2546: g++ -c conftest.cc >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2549: $? = 127
configure: failed program was:
#line 2533 "configure"
#include "confdefs.h"
#include <stdlib.h>
extern "C" void exit (int) throw ();
int
main ()
{
exit (42);
;
return 0;
}
configure:2546: g++ -c conftest.cc >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2549: $? = 127
configure: failed program was:
#line 2533 "configure"
#include "confdefs.h"
#include <stdlib.h>
extern "C" void exit (int);
int
main ()
{
exit (42);
;
return 0;
}
configure:2546: g++ -c conftest.cc >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2549: $? = 127
configure: failed program was:
#line 2533 "configure"
#include "confdefs.h"
#include <stdlib.h>
void exit (int);
int
main ()
{
exit (42);
;
return 0;
}
configure:2610: checking dependency style of g++
configure:2672: result: none
configure:2681: checking how to run the C++ preprocessor
configure:2703: g++ -E conftest.cc
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2709: $? = 127
configure: failed program was:
#line 2698 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:2703: g++ -E conftest.cc
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2709: $? = 127
configure: failed program was:
#line 2698 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:2703: /lib/cpp conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or directory
configure:2709: $? = 1
configure: failed program was:
#line 2698 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:2703: /lib/cpp conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or directory
configure:2709: $? = 1
configure: failed program was:
#line 2698 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:2779: result: /lib/cpp
configure:2794: /lib/cpp conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or directory
configure:2800: $? = 1
configure: failed program was:
#line 2789 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:2794: /lib/cpp conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or directory
configure:2800: $? = 1
configure: failed program was:
#line 2789 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:2861: error: C++ preprocessor "/lib/cpp" fails sanity check

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

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_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_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_cxx_g=no
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=none

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

#define PACKAGE "plib"
#define VERSION "1.8.2"
#ifdef __cplusplus
void exit (int);
#endif


configure: exit 1

Je ne sais où trouver des explications en français pour tout ça
Avatar
oega
comme te l'a déja signalé Patrik plus haut " il te manque le compilateur
c++"
tentes un urpmi g++ ou trouves le dans la liste des rpm non installés dans
rpmdrake


"PERPLEX" a écrit dans le message news:

Patrik a écrit :
> Il te manque quand même des compilateurs, du style cc++ et g++
>
> Un petit coup d'urpmi ou si tu ne disposes que des CD, tu demandes
> l'installation du rpm kernel-sources, qui te mettra par défaut tous les
> compilateurs nécessaires...
>
Merci pour la réponse , j'ai chargé le seul paquetage
kernel-source-2.6-2.6.8.1-10mdk trouvé qui m'a installé des fichiers
supplémentaires, mais toujours le même problème.
Pas de fonctionnement de ./configure ou make.
Je ne comprends rien aux fichiers README qui sont dans ces répertoires.
Voici le fichier config.log complet:
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.52. Invocation command line was

$ /usr/src/plib-1.8.2/configure

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

hostname = Ann-Lou.fr
uname -m = i686
uname -r = 2.6.8.1-10mdk
uname -s = Linux
uname -v = #1 Wed Sep 8 17:00:52 CEST 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/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/home/philippe/bin

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

configure:962: PATH=".;."; conftest.sh
/usr/src/plib-1.8.2/configure: line 963: conftest.sh: command not found
configure:965: $? = 127
configure:1020: checking for a BSD compatible install
configure:1069: result: /usr/bin/install -c
configure:1080: checking whether build environment is sane
configure:1123: result: yes
configure:1156: checking for mawk
configure:1182: result: no
configure:1156: checking for gawk
configure:1171: found /bin/gawk
configure:1179: result: gawk
configure:1189: checking whether make sets ${MAKE}
configure:1209: result: yes
configure:1355: checking for gcc
configure:1370: found /usr/bin/gcc
configure:1378: result: gcc
configure:1606: checking for C compiler version
configure:1609: gcc --version </dev/null >&5
gcc (GCC) 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)
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:1612: $? = 0
configure:1614: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix --disable-checking
--enable-long-long --enable-__cxa_atexit --enable-clocale=gnu
--disable-libunwind-exceptions
--enable-languages=c,c++,ada,f77,objc,java
--host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)
configure:1617: $? = 0
configure:1619: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:1622: $? = 1
configure:1642: checking for C compiler default output
configure:1645: gcc conftest.c >&5
configure:1648: $? = 0
configure:1677: result: a.out
configure:1682: checking whether the C compiler works
configure:1688: ./a.out
configure:1691: $? = 0
configure:1706: result: yes
configure:1713: checking whether we are cross compiling
configure:1715: result: no
configure:1718: checking for executable suffix
configure:1720: gcc -o conftest conftest.c >&5
configure:1723: $? = 0
configure:1745: result:
configure:1751: checking for object suffix
configure:1769: gcc -c conftest.c >&5
configure:1772: $? = 0
configure:1791: result: o
configure:1795: checking whether we are using the GNU C compiler
configure:1816: gcc -c conftest.c >&5
configure:1819: $? = 0
configure:1822: test -s conftest.o
configure:1825: $? = 0
configure:1837: result: yes
configure:1843: checking whether gcc accepts -g
configure:1861: gcc -c -g conftest.c >&5
configure:1864: $? = 0
configure:1867: test -s conftest.o
configure:1870: $? = 0
configure:1880: result: yes
configure:1907: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:1910: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
configure:2016: checking for style of include used by make
configure:2043: result: GNU
configure:2049: checking dependency style of gcc
configure:2111: result: gcc3
configure:2120: checking how to run the C preprocessor
configure:2146: gcc -E conftest.c
configure:2152: $? = 0
configure:2179: gcc -E conftest.c
configure:2176:28: ac_nonexistent.h: No such file or directory
configure:2185: $? = 1
configure: failed program was:
#line 2175 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2222: result: gcc -E
configure:2237: gcc -E conftest.c
configure:2243: $? = 0
configure:2270: gcc -E conftest.c
configure:2267:28: ac_nonexistent.h: No such file or directory
configure:2276: $? = 1
configure: failed program was:
#line 2266 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2364: checking for g++
configure:2390: result: no
configure:2364: checking for c++
configure:2390: result: no
configure:2364: checking for gpp
configure:2390: result: no
configure:2364: checking for aCC
configure:2390: result: no
configure:2364: checking for CC
configure:2390: result: no
configure:2364: checking for cxx
configure:2390: result: no
configure:2364: checking for cc++
configure:2390: result: no
configure:2364: checking for cl
configure:2390: result: no
configure:2364: checking for FCC
configure:2390: result: no
configure:2364: checking for KCC
configure:2390: result: no
configure:2364: checking for RCC
configure:2390: result: no
configure:2364: checking for xlC_r
configure:2390: result: no
configure:2364: checking for xlC
configure:2390: result: no
configure:2402: checking for C++ compiler version
configure:2405: g++ --version </dev/null >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2408: $? = 127
configure:2410: g++ -v </dev/null >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2413: $? = 127
configure:2415: g++ -V </dev/null >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2418: $? = 127
configure:2421: checking whether we are using the GNU C++ compiler
configure:2442: g++ -c conftest.cc >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2445: $? = 127
configure: failed program was:
#line 2427 "configure"
#include "confdefs.h"

int
main ()
{
#ifndef __GNUC__
choke me
#endif

;
return 0;
}
configure:2463: result: no
configure:2469: checking whether g++ accepts -g
configure:2487: g++ -c -g conftest.cc >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2490: $? = 127
configure: failed program was:
#line 2475 "configure"
#include "confdefs.h"

int
main ()
{

;
return 0;
}
configure:2506: result: no
configure:2546: g++ -c conftest.cc >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2549: $? = 127
configure: failed program was:
#line 2533 "configure"
#include "confdefs.h"
#include <stdlib.h>

int
main ()
{
exit (42);
;
return 0;
}
configure:2546: g++ -c conftest.cc >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2549: $? = 127
configure: failed program was:
#line 2533 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdlib.h>
int
main ()
{
exit (42);
;
return 0;
}
configure:2546: g++ -c conftest.cc >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2549: $? = 127
configure: failed program was:
#line 2533 "configure"
#include "confdefs.h"
#include <stdlib.h>
extern "C" void std::exit (int) throw (); using std::exit;
int
main ()
{
exit (42);
;
return 0;
}
configure:2546: g++ -c conftest.cc >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2549: $? = 127
configure: failed program was:
#line 2533 "configure"
#include "confdefs.h"
#include <stdlib.h>
extern "C" void std::exit (int); using std::exit;
int
main ()
{
exit (42);
;
return 0;
}
configure:2546: g++ -c conftest.cc >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2549: $? = 127
configure: failed program was:
#line 2533 "configure"
#include "confdefs.h"
#include <stdlib.h>
extern "C" void exit (int) throw ();
int
main ()
{
exit (42);
;
return 0;
}
configure:2546: g++ -c conftest.cc >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2549: $? = 127
configure: failed program was:
#line 2533 "configure"
#include "confdefs.h"
#include <stdlib.h>
extern "C" void exit (int);
int
main ()
{
exit (42);
;
return 0;
}
configure:2546: g++ -c conftest.cc >&5
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2549: $? = 127
configure: failed program was:
#line 2533 "configure"
#include "confdefs.h"
#include <stdlib.h>
void exit (int);
int
main ()
{
exit (42);
;
return 0;
}
configure:2610: checking dependency style of g++
configure:2672: result: none
configure:2681: checking how to run the C++ preprocessor
configure:2703: g++ -E conftest.cc
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2709: $? = 127
configure: failed program was:
#line 2698 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:2703: g++ -E conftest.cc
/usr/src/plib-1.8.2/configure: line 1: g++: command not found
configure:2709: $? = 127
configure: failed program was:
#line 2698 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:2703: /lib/cpp conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or


directory
configure:2709: $? = 1
configure: failed program was:
#line 2698 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:2703: /lib/cpp conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or


directory
configure:2709: $? = 1
configure: failed program was:
#line 2698 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:2779: result: /lib/cpp
configure:2794: /lib/cpp conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or


directory
configure:2800: $? = 1
configure: failed program was:
#line 2789 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:2794: /lib/cpp conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or


directory
configure:2800: $? = 1
configure: failed program was:
#line 2789 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
configure:2861: error: C++ preprocessor "/lib/cpp" fails sanity check

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

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_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_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_cxx_g=no
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=none

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

#define PACKAGE "plib"
#define VERSION "1.8.2"
#ifdef __cplusplus
void exit (int);
#endif


configure: exit 1

Je ne sais où trouver des explications en français pour tout ça



Avatar
PERPLEX
oega a écrit :
comme te l'a déja signalé Patrik plus haut " il te manque le compilateur
c++"
tentes un urpmi g++ ou trouves le dans la liste des rpm non installés dans
rpmdrake


"PERPLEX" a écrit dans le message news:


Patrik a écrit :

Il te manque quand même des compilateurs, du style cc++ et g++

Un petit coup d'urpmi ou si tu ne disposes que des CD, tu demandes
l'installation du rpm kernel-sources, qui te mettra par défaut tous les
compilateurs nécessaires...




Merci pour la réponse , j'ai chargé le seul paquetage
kernel-source-2.6-2.6.8.1-10mdk trouvé qui m'a installé des fichiers
supplémentaires, mais toujours le même problème.
Pas de fonctionnement de ./configure ou make.






[ philippe]# urpmi g++
pas de paquetage nommé g++
[ philippe]# urpmi C++
Les paquetages suivants contiennent C++ :
libflac++4
libsigc++1.0_0
libstdc++5
libstdc++6
libstdc++6-devel

Je les ai installés à tout hasard. Pas de succès.
Etes-vous sûrs qu'on peut compiler un logiciel libre
avec la distribution Mandrake 10.1 Community, les 3 CDs
de Linux CD ?
Avatar
Yappa
On Mon, 17 Jan 2005 11:36:04 +0100, PERPLEX wrote:

oega a écrit :
comme te l'a déja signalé Patrik plus haut " il te manque le compilateur
c++"
tentes un urpmi g++ ou trouves le dans la liste des rpm non installés dans
rpmdrake


"PERPLEX" a écrit dans le message news:


Patrik a écrit :

Il te manque quand même des compilateurs, du style cc++ et g++

Un petit coup d'urpmi ou si tu ne disposes que des CD, tu demandes
l'installation du rpm kernel-sources, qui te mettra par défaut tous les
compilateurs nécessaires...




Merci pour la réponse , j'ai chargé le seul paquetage
kernel-source-2.6-2.6.8.1-10mdk trouvé qui m'a installé des fichiers
supplémentaires, mais toujours le même problème.
Pas de fonctionnement de ./configure ou make.






[ philippe]# urpmi g++
pas de paquetage nommé g++
[ philippe]# urpmi C++
Les paquetages suivants contiennent C++ :
libflac++4
libsigc++1.0_0
libstdc++5
libstdc++6
libstdc++6-devel

Je les ai installés à tout hasard. Pas de succès.
Etes-vous sûrs qu'on peut compiler un logiciel libre
avec la distribution Mandrake 10.1 Community, les 3 CDs
de Linux CD ?



oui tu peux compiler tout code sources à condition de disposer du
compilateur adéquat

par contre maintenant que le compilateur c++ est installé tu bloques
toujours au même message d'erreur ou ça a changé ?
Avatar
Patrik
Je t'ai envoyé un mail ....

A mon avis, à force d'avoir tenté d'installer sans suivre la bonne marche,
tu as créé des fichiers tronqués, et qui gênent les compilateurs.

Donc, suis bien la marche normale "./configure", avec les options adéquates,
que tu pourras trouver dans les README du logiciel à installer, puis "make"
et "make install". Tu ne peux faire que l'un après l'autre, si tu n'as pas
de messages d'erreur à chaque étape.

Pour la Mandrake 10.1, la compilation ne pose normalement pas de problème.

Donc, si tu as toujours des problèmes, mets nous les logs après ce qui a
bloqué, sans tenter de continuer l'installation.
Avatar
PERPLEX
Patrik a écrit :
Je t'ai envoyé un mail ....


Bien reçu
Merci pour ton attention, prends ton temps, il n'y a rien d'urgent
puisqu'il s'agit d'un jeu (simulateur de vol FlightSimulator)
Mais si j'ai le temps je vais refaire des essais après un make mrproper
et un make clean.

A mon avis, à force d'avoir tenté d'installer sans suivre la bonne marche,
tu as créé des fichiers tronqués, et qui gênent les compilateurs.

Donc, suis bien la marche normale "./configure", avec les options adéquates,
que tu pourras trouver dans les README du logiciel à installer, puis "make"
et "make install". Tu ne peux faire que l'un après l'autre, si tu n'as pas
de messages d'erreur à chaque étape.

Pour la Mandrake 10.1, la compilation ne pose normalement pas de problème.

Donc, si tu as toujours des problèmes, mets nous les logs après ce qui a
bloqué, sans tenter de continuer l'installation.


Tu as certainement raison, si la Mandrake 10.1 des 3 CDs a tout ce qu'il
faut pour compiler.
Un problème aussi est qu'il m'échappe beaucoup de nuances dans les
README en anglais de tous les logiciels à installer.