Problème pour compiler PHP
Clém
-
kilian Messages postés 8854 Statut Modérateur -
kilian Messages postés 8854 Statut Modérateur -
Bonjour tout le monde,
Je débute avec Linux et j'ai voulu compiler Apache et PHP sous cet OS. J'ai donc suivi à la lettre le tutorial de CCM sur le sujet mais ça ne fonctionne pas. Les erreurs apparaissent à partir de l'étape 4 du tutorial.
Je vous joins les lignes du terminal :
--------------------------------------------------------------------------
[clem@localhost php-4.3.10]$ ./configure --with-mysql --with-apache=../apache_1.3.33 --enable-track-vars
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
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 whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for mawk... no
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 flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2425: lex: command not found
configure: error: cannot find output from lex; giving up
[clem@localhost php-4.3.10]$ make
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
--------------------------------------------------------------------------
J'espère que vous pourrez m'aider, merci d'avance.
Je débute avec Linux et j'ai voulu compiler Apache et PHP sous cet OS. J'ai donc suivi à la lettre le tutorial de CCM sur le sujet mais ça ne fonctionne pas. Les erreurs apparaissent à partir de l'étape 4 du tutorial.
Je vous joins les lignes du terminal :
--------------------------------------------------------------------------
[clem@localhost php-4.3.10]$ ./configure --with-mysql --with-apache=../apache_1.3.33 --enable-track-vars
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
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 whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for mawk... no
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 flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2425: lex: command not found
configure: error: cannot find output from lex; giving up
[clem@localhost php-4.3.10]$ make
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
--------------------------------------------------------------------------
J'espère que vous pourrez m'aider, merci d'avance.
A voir également:
- Problème pour compiler PHP
- Easy php - Télécharger - Divers Web & Internet
- Expert php pinterest - Télécharger - Langages
- Compiler pdf - Guide
- Inno setup compiler - Télécharger - Édition & Programmation
- Compiler plusieurs fichiers excel - Guide