LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices



Reply
 
Search this Thread
Old 07-28-2008, 07:26 AM   #1
EasyLife
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
Cygwin problem: lex: Command not found


Hi All,

I would appreciate your answer very much on this. When I do ./configure in cygwin, I got the two following related messages:

checking for flex... flex
checking lex output file root... lex.yy


The above shows that I have flex. However, when I run make, I got this error

make[1]: lex: Command not found

I have installed flex in Cygwin. I did the following:

$ which flex
/usr/bin/flex

$ which lex
which: no lex in (/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:....)

I also echo $PATH and my $PATH leads to /usr/bin/flex.

I suppose that to use lex, one has to install flex, and I have done that, what's the problem?

Thanks for your help!

Regards,
KL
 
Old 07-28-2008, 11:19 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,286

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
Usually 'lex' is just a softlink to 'flex'
( in /usr/bin/ )
I do not know Cygwin, concerning links,
but a copy of 'flex' should also do.

Regards
 
  


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
lex: command not found PankajDS Linux - General 5 02-14-2008 04:03 PM
cygwin-6.dll was not found scbops General 1 04-11-2006 04:36 PM
Compiing php 5 Lex: command not found 1kyle Suse/Novell 1 03-27-2006 08:47 AM
Problem: Startx Command Not Found rvijay Debian 11 02-13-2005 12:40 PM
Command not found problem rudon Linux - Newbie 3 04-16-2003 10:09 PM


All times are GMT -5. The time now is 07:33 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration