LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 04: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 07:42 AM. Reason: fix title
 
Old 05-02-2010, 04: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: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
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, 04: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, 04: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, 05: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, 05: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, 05: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, 05:11 AM   #8
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

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

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

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
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, 05:31 AM   #11
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
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, 07:43 AM   #12
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Duplicate threads merged.

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

thank you
 
  


Reply



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 10:21 AM
Urgent Question Regarding Urgent Questions! Need Help Now! Crashed_Again LQ Suggestions & Feedback 11 10-17-2007 08:07 PM
Urgent Urgent !!!! Mozilla Keeps All Your Deleted Emails !!!! odin123 Linux - Software 2 01-31-2004 02:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:12 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
Open Source Consulting | Domain Registration