PDA

View Full Version : Dipendenze(forse) PHP


Pettinato
07-02-2003, 13:38
Ciao

ho scaricato la versione 4.3.0 di PHP dopo averla decompressa faccio ./configure e mi da errore.
Praticamente mi dice: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: lex: command not found
configure: error: cannot find output from lex; giving up

Ciao e grazie

VICIUS
07-02-2003, 17:22
ti mancano i programmi Bison e Flex
ftp://ftp.gnu.org/pub/gnu/bison/
ftp://ftp.gnu.org/pub/non-gnu/flex/

Pettinato
07-02-2003, 20:24
Grazie boss :cool:

Pettinato
07-02-2003, 23:08
Ciao

allora bison tutto ok ma con flex mi dice:

yacc -d ./parse.y
make: yacc: Command not found
make: *** [parse.c] Error 127

Ciao e grazie

Pettinato
07-02-2003, 23:39
anzi adesso quando faccio make install mi dice questo ovviamente lofaccio da root:

/bin/sh ./mkinstalldirs \
/usr/local/bin /usr/local/lib /usr/local/include /usr/local/man/man1
rm -f /usr/local/man/man1/flexdoc.1
1977/usr/bin/install -c -m 644 ./flex.1 /usr/local/man/man1/flex.1
make: 1977/usr/bin/install: Command not found
make: *** [install.man] Error 127

Ciao e grazie

Pettinato
08-02-2003, 10:32
UP! :D

Pettinato
08-02-2003, 11:38
Risolto da solo :rolleyes: