Re: Bison and Flex required to install PHP?
| From: | Evan Nemerson | Date: | Wed, 31 Mar 2004 04:17:53 +0000 |
| Subject: | Re: Bison and Flex required to install PHP? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-181898@lists.php.net to get a copy of this message | ||
On Tuesday 30 March 2004 06:08 pm, Terence wrote:
> checking lex output file root... ./configure: line 2425: lex: command not
> found
> configure: error: cannot find output from lex; giving up
>
> and from a search on Yahoo!:
>
>
> http://www.madpenguin.org/modules.php?op=modload&name=NS-Comments&file=inde
>x&req=showreply&tid=1522&sid=751&pid=1520&mode=&order=&thold=#1522
>
> <Quote>
> figured it out. I needed to install Bison and then Flex in order to compile
> php. Bison: http://ftp.gnu.org/gnu/bison/ Flex:
> http://gnuftp.ccp14.ac.uk/gnu/flex/ later
> </Quote>
>
> I just downloaded the latest version, 4.3.5, installing on RH9 - fresh
> install
>
> So my question, are Bison and Flex required and if so any particular
> reason? I never had this problem on previous versions (not that I installed
> on that many different distributions)
They are for CVS. Release versions come with the bison and flex stuff
pre-made. If you're not using CVS, make sure you're using a fresh copy of the
source.
>
> Thanks