Création
d'entreprise
Posez votre question Signaler

Probleme compilation php sur debian

nouhoun 25Messages postés 30 novembre 2007Date d'inscription - Dernière réponse le 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é?
Lire la suite 

Probleme compilation php sur debian »

3 réponses
Réponse
+0
moins plus
Salut,

aptitude install flex
et recommence ;-)
Ajouter un commentaire
Réponse
+0
moins plus
merci je fais ça tout de suite
nouhoun- 16 déc. 2008 à 19:24
ça marche merci pour l'aide
Ajouter un commentaire
Ce document intitulé « probleme compilation php sur debian » issu de CommentCaMarche (www.commentcamarche.net) est mis à disposition sous les termes de la licence Creative Commons. Vous pouvez copier, modifier des copies de cette page, dans les conditions fixées par la licence, tant que cette note apparaît clairement.
Dossier à la une
Passage au tout numérique : quel coût pour les particuliers ?