Whenever I type ./configure to start the installation of PHP it gives the following error:
Checking lex output file root... ./configure: line 2425: lex: command not found
configure: error: cannot find output from lex; giving up
Does anyone know how to fix this?
Thanks.