LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-02-2010, 05:12 AM   #1
vinit_root
LQ Newbie
 
Registered: May 2010
Posts: 4

Rep: Reputation: 0
Problem with lex command


i have using the fedora 12
when execute a lex program
it was showing error bash: lex: command not found

Last edited by pixellany; 05-02-2010 at 08:42 AM. Reason: fix title
 
Old 05-02-2010, 05:32 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello and welcome to LinuxQuestions,

First of all it's only urgent to you, not to any of us here on LQ. Second, please use a descriptive title, 'urgent' is not a very attractive one and most of the time has the opposite effect. If you like us to help you, then you'll need to provide more information like, what distro and version are you using, what's the 'lex' program, did you install this program and if so where there any errors when installing?

Kind regards,

Eric
 
Old 05-02-2010, 05:38 AM   #3
vinit_root
LQ Newbie
 
Registered: May 2010
Posts: 4

Original Poster
Rep: Reputation: 0
lex command not working

am trying lex programming..but its not workin..its giving me error like

[vinit@localhost vinit]$ lex 1a.l

bash: lex: command not found
 
Old 05-02-2010, 05:41 AM   #4
ophirg
Member
 
Registered: Jan 2008
Location: Israel
Distribution: Kubuntu 13.10
Posts: 134

Rep: Reputation: 34
try flex instead.

lex=flex
yacc=bison

you may have to install them if you don't have them by default.
 
Old 05-02-2010, 06:05 AM   #5
vinit_root
LQ Newbie
 
Registered: May 2010
Posts: 4

Original Poster
Rep: Reputation: 0
flex and bison
 
0 members found this post helpful.
Old 05-02-2010, 06:06 AM   #6
ophirg
Member
 
Registered: Jan 2008
Location: Israel
Distribution: Kubuntu 13.10
Posts: 134

Rep: Reputation: 34
hi vinit_root
i see that you still have the same problem you had in the previous post
you can add a reply to the original thread
double posting is likely to help you less than posting in the original thread
if you post a reply in the original thread, the users that helped you get a notification
 
Old 05-02-2010, 06:10 AM   #7
vinit_root
LQ Newbie
 
Registered: May 2010
Posts: 4

Original Poster
Rep: Reputation: 0
lex command not working
am trying lex programming..but its not workin..its giving me error like

[vinit@localhost vinit]$ lex 1a.l

bash: lex: command not found
The flex and bison giving the same error as in by lex and yacc
 
Old 05-02-2010, 06:11 AM   #8
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
What is the output of
Code:
which lex
 
Old 05-02-2010, 06:20 AM   #9
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
It would help if you answered EricTRA's questions.
 
1 members found this post helpful.
Old 05-02-2010, 06:22 AM   #10
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
OP vinit_root has continued this thread in a new thread at http://www.linuxquestions.org/questi...orking-805423/
 
1 members found this post helpful.
Old 05-02-2010, 06:31 AM   #11
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
This thread is a continuation of this thread in which EricTRA asked some useful questions (in this post). It would help us to help you, vinit_root, if you answered those questions.
 
1 members found this post helpful.
Old 05-02-2010, 08:43 AM   #12
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Duplicate threads merged.

vinit*;
Please keep all related topics in one thread and do not post duplicates.

thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
boot sector and lilo collapse !!!!! URGENT URGENT URGEN !!!!! frelihm Linux - Software 21 12-02-2009 11:21 AM
Urgent Question Regarding Urgent Questions! Need Help Now! Crashed_Again LQ Suggestions & Feedback 11 10-17-2007 09:07 PM
Urgent Urgent !!!! Mozilla Keeps All Your Deleted Emails !!!! odin123 Linux - Software 2 01-31-2004 03:22 AM


All times are GMT -5. The time now is 08:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration