Re: compiling problem
| From: | Smirnov | Date: | Thu, 24 May 2001 01:55:03 +0000 |
| Subject: | Re: compiling problem | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-3279@lists.php.net to get a copy of this message | ||
In article <01052320060702.00973@localhost.localdomain>, "John Morine"
<jaman@ns.sympatico.ca> 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.