[ P l a c e b O @ 10.02.2005. 21:04 ] @
Skinuo sam source PHP i prilikom pokusaja konfigurisanja javlja mi gresku. Kopao sam po uputstvima, ali nisam nasao nista konkretno u vezi mog problema. Problem izgleda ovako:

Code:
[root@localhost php-4.3.10]# ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
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
[root@localhost php-4.3.10]#



Moze li neko da mi ukaze u cemu je problem i kako da ga resim?

[ _owl_ @ 10.02.2005. 21:09 ] @
Vrlo cudno po gresci koju prijavljuje izgleda da nemas program koji se zove lex (dolazi u paketu koji se zove flex). Ako na sistemu nisi vrsio neka dodatna podesavanja (pa si slucajno zeznuo $PATH) onda treba da instaliras ovaj program.
[ P l a c e b O @ 10.02.2005. 21:14 ] @
bas si brz :-)

Ne, nikakva dodatna podesavanja nisam vrsio, tako da sigurno nisam poremetio putanju. Pre ce biti da nemam taj program - inace sistem je Mandrake 9.1

Potrazicu program, a ako ga nadjem instaliracu ga, pa cu javiti sta je bilo.

[ P l a c e b O @ 10.02.2005. 21:43 ] @
program instaliran sa mandrake paketa, php instaliran and problem solved ;-)