Click to See Complete Forum and Search --> : php installing error: ./configure: lex:


Anon
02-06-2002, 11:17 PM
While trying to install php_4.0.6 on Mandrake 8.0 with apache_1.3.19 and mysql support
I get the following messages :

command:
./configure --with-mysql=/usr/local/mysql --with-apxs

messages:
checking lex output file root... ./configure: lex: command not found
configure: error: cannot find output from lex; giving up

any body knows

Thank You then....
Jumala

Anon
02-07-2002, 02:05 AM
Look for lex on your server and make sure its in your PATH variable.

bash$>locate lex

Anon
06-26-2002, 10:19 PM
Actually, I ran into the same problem.

I just did a search using rpmdrake for *lex* and found flex.

It worked after that.

Anon
08-07-2002, 03:35 PM
In RedHat, just install flex and everything will work.

flex-2.5.4a-15.i386.rpm