Dear Forum,

I am trying to install php form the tutorial "Building a Database-Driven Web Site Using PHP and MySQL" as per it's instructions.

When I type the following:

./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php --with-apxs=/usr/sbin/apxs --enable-track-vars --enable-magic-quotes --enable-debugger

I get the following error:

lex: command not found
error: cannot find output from lex; giving up

I'm using Suse 7.1 ppc edition.

Anyone got any ideas???