Erro na instalação do PHP 5.0.5
Ta acontecendo um erro na instação do PHP 5.0.5, quando dou o comando ./configure aparece a seguinte mensagem:
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 whether ln -s works... yes
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 2428: lex: command not found
configure: error: cannot find output from lex; giving up
O que posso fazer?
O apache já está instalado a versão do apache é 2.0.54, a distribuição que está sendo usada é Mandriva Linux 2006 BETA, o computador é bom para o uso do servidor a configuração é:
P4 3.0 HT - 1MB Cache
1024 de Mémoria (Dual Channel)
Bom a bastante para um servidor. Tenho o windows instalado só para imprimir documentos.
Espero que me ajudem.
Erro na instalação do PHP 5.0.5
achoq é problema de dependencia...dê uma procurada no google
Erro na instalação do PHP 5.0.5
Vc não te nenhum gerenciador de pacotes
tipo rpm ou apt no mandriva
tenta por eles pelo visto falta algo relacionado ao lex