> Je dois compiler mysql mais je ne peux pas ! > La version de mysql est 3.23.40. Ca m'étonne que ça vienne de la > version... > Comment savoir si GCC gère le c++. ? J'ai la version 2.95.3. Faut que tu aies installé g++
"GCC" est en fait "GNU Compiler Collection" et comprend: - gcc: compilateur C - g++: compilateur C++ - g77: compilateur Fortran - gcj: compilateur Java - gobjc: compilateur Objective-C C'est un peu farfelu d'avoir "GCC", "gcc" et "g++" ;) > Est-ce que g++ est un compilateur à part entière ? Bien sur. Le meilleur (en ce qui concerne le support du standard ANSI C++) compilateur que tu puisses trouver ;) > ./configure --prefix=/usr/local/mysql > creating cache ./config.cache > checking host system type... i686-pc-linux-gnu > checking target system type... i686-pc-linux-gnu > checking build system type... i686-pc-linux-gnu > 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... missing > checking for working autoconf... missing > checking for working automake... missing > checking for working autoheader... missing > checking for working makeinfo... missing > checking whether to enable maintainer-specific portions of Makefiles... no > checking whether build environment is sane... yes > checking whether make sets ${MAKE}... (cached) yes > checking for gawk... gawk > 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. Faut installer g++ ! > > J'ai essayé pour voir de lancer le "configure" de PHP4. > Et voilà : > > ./configure --prefix=/usr/local > creating 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... missing > checking for working autoconf... missing > checking for working automake... missing > checking for working autoheader... missing > checking for working makeinfo... missing > Updated php_version.h > checking whether to enable maintainer-specific portions of Makefiles... no > checking host system type... i686-pc-linux-gnu > checking for gawk... gawk > checking for bison... no > checking for byacc... no > configure: warning: You will need bison if you want to regenerate the PHP > parsers. > 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 how to run the C preprocessor... gcc -E > checking for AIX... no > checking for gcc option to accept ANSI C... none needed > checking for ranlib... ranlib > checking whether gcc and cc understand -c and -o together... yes > checking whether ln -s works... yes > checking for flex... lex > checking for yywrap in -ll... no > checking lex output file root... ./configure: lex: command not found > configure: error: cannot find output from lex; giving up Faut installer les paquets "flex" et "bison" > Je ne comprend pas. Je l'ai pourtant correctement installé avant de > tout réinstaller. SI ça continue je réinstalle pour une dernière fois. Ah ben oui, mais tu as besoin d'autres programmes si tu le compiles à partir des sources que si tu installes un paquet pré-compilé. Les outils/paquets classiques sont gcc, g++ (ou "gpp"), gpp-shared (sur SuSE), autoconf, automake, flex, bison, ... -- -o) / Pascal Bleser ATOS Origin| /\\ \ e-Business Platform Aachen, Germany| _\_v \<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>| ---------------------------------------------------| Jesus saves, but Buddha makes incremental backups : ---------------------------------------------------' [ Soyez précis dans vos sujets svp afin de déterminer directement ] [ le type de demande... ] [ Pour vous (dés)inscrire, aller sur http://linuxbe.org/ml.php ] [ Archives de la mailing list: http://archives.linuxbe.org/linux/ ] [ http://LinuxBe.org Contact: [EMAIL PROTECTED] ]