Click to See Complete Forum and Search --> : ./configure --with-apxs? in PHP4 : lex command not found


micxz
04-03-2001, 02:23 AM
I've been trying to install PHP4 on my laptop. But when I try to ./configure like the instructions say I get the error:

waiting for lex output......
bash: command not found
no output from lex so, quiting...

or something to that effect. I've searched all over the web but only find old email, bb archives of people having the same problem. Can anyone help me?
:mad:

John_Doh
04-03-2001, 08:42 AM
You need to install the flex package, which "lex" is a part of. Never tried SUSE, but its probably in a .rpm on one of your install CD's.

micxz
04-04-2001, 12:30 AM
What is lex , flex? :confused:

John_Doh
04-04-2001, 08:04 AM
From the man file: "...a tool for generating programs that perform pattern-matching on text".

micxz
04-04-2001, 08:18 PM
Your roght it took me a while to find it but I found a rpm called flex.rpm I installed it and tonight I'm going to try remaking PHP4. That's for your help. I'll be sure to check my rpm's before I hassle with posting. Thamks again John_Doh

:p