LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   does ubuntu have lex and yacc,how to use them?? (http://www.linuxquestions.org/questions/linux-software-2/does-ubuntu-have-lex-and-yacc-how-to-use-them-363351/)

akshay_jp 09-14-2005 01:06 PM

does ubuntu have lex and yacc,how to use them??
 
i am using ubuntu hoary, i would like to know how to use the lex (or FLEX) and YACC tools in it, i tried searching for them but could not find them in the distro, does ubuntu haory distro include these two tools??
please reply soon!!

bigrigdriver 09-14-2005 02:38 PM

To find out if you have lex and yacc, open a term window and enter these commands:
which lex
which yacc

They should return something like:
/usr/bin/lex
/usr/bin/yacc

How to use them?
Try this primer/HOWTO

jayanthorb 10-13-2005 01:02 AM

Ubuntu by default does not have lex and yacc installed.. You can install them seperately.. Try to find softwares called Bison and flex from rpmfind.net and install the same..

Migou 05-30-2006 05:06 AM

lex yacc : Solution
 
I just found the solution.
you have to use flex instead of lex
and bison instead of yacc.

the package names are flex and bison :)

bencharluo 05-26-2010 06:36 PM

install flex instead of lex
 
Quote:

Originally Posted by Migou (Post 2268996)
I just found the solution.
you have to use flex instead of lex
and bison instead of yacc.

the package names are flex and bison :)

Hi ,friends, thank you very much.
I begin to install cdecl but it need lex and yacc, I installed yacc first than when I use sudo apt-get install lex, it notes that can't find lex until I find what you have said.
Thank you for all of you

msn:softdevdhx@gmail.com


All times are GMT -5. The time now is 03:45 AM.