Probleme compilation php sur debian

Fermé
nouhoun Messages postés 25 Date d'inscription vendredi 30 novembre 2007 Statut Membre Dernière intervention 19 février 2009 - 16 déc. 2008 à 19:04
nouhoun Messages postés 25 Date d'inscription vendredi 30 novembre 2007 Statut Membre Dernière intervention 19 février 2009 - 16 déc. 2008 à 19:24
Bonjour,



j'ai téléchargé les sources de php-4.4.9
je veux le configurer pour apache et oracle instantclient

quand je lance la commande

./configure --with-oci8-instant-client --prefix=/usr/local/php --with-apxs=/usr/local/apache/bin/apxs --enable-sigchild --with-config-file-path=/usr/local/apache/conf

j'obtiens le résultat suivant:

loading cache ./config.cache
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
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 whether ln -s works... yes
checking for gawk... no
checking for mawk... mawk
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 2554: lex: command not found
configure: error: cannot find output from lex; giving up

y'a t-il un paquet que je n'ai pas installé?
A voir également:

2 réponses

lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019 3 567
16 déc. 2008 à 19:09
Salut,

aptitude install flex
et recommence ;-)
1
nouhoun Messages postés 25 Date d'inscription vendredi 30 novembre 2007 Statut Membre Dernière intervention 19 février 2009
16 déc. 2008 à 19:21
merci je fais ça tout de suite
0
nouhoun Messages postés 25 Date d'inscription vendredi 30 novembre 2007 Statut Membre Dernière intervention 19 février 2009
16 déc. 2008 à 19:24
ça marche merci pour l'aide
0