[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Lex
On 18-Sep-01 Will Newton wrote:
>> I'm trying to install PHP4.0.6 and am getting an error while running
>> ./configure which is complaining about not being able to find lex.
>> I've checked and don't have it on my system, nor is it on my SuSE7.0
>> disks.
>> I've had a look around the web and can find plenty of documents about
>> lex
>> but have so far been spectacularly unsuccessful in finding a download
>> source for the program itself.
>
> Lex is the original UNIX lexer generator for creating parsers. The GNU
> version of lex is called "flex". That should be available for all
> distros.
> You may also need "bison" (a replacement for yacc, a complementary
> tool).
and, when you install the flex binary (/usr/bin/flex), you should also
have installed /usr/bin/lex which is a wee scriptie containing
#!/bin/sh
exec /usr/bin/flex -l "$ [at] "
Ted.
--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding [at] nessie.mcc.ac.uk>
Fax-to-email: +44 (0)870 167 1972
Date: 18-Sep-01 Time: 19:38:20
------------------------------ XFMail ------------------------------
___________________________________________________________________
Sheffield Linux User's Group - http://www.sheflug.co.uk .
To unsubscribe from this list send mail to
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.