Re: [PHP-INST] compiling problem From: Smirnov (smirnov <email protected>)
Date: 05/23/01

In article <01052320060702.00973 <email protected>>, "John Morine"
<jaman <email protected>> wrote:

> I am compiling PHP4 with MYSQL and Apache (on Linix Mandrake 7.2) when
> I do I get the following error:
>
> (everything is fine until)
> checking for flex... lex checking for yywrap in -ll... no checking lex
> output file root... ./configure: lex: command not found configure:
> error: cannot find output from lex; giving up
>
> So am I right in thinking it can't find Bison? I couldn't find it so I
> downloaded the latest version and installed it and tried again and get
> the same result... Of course when I try to compile flex it can't find
> yacc.
>
> Any suggestions?
>
> Thanks, John
>

I had the same problem.
I downloaded and installed the "flex" RPM from http://www.rpmfind.net and
after that compiling php worked fine.

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-install-unsubscribe <email protected>
For additional commands, e-mail: php-install-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>