LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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...

Notices

Reply
 
LinkBack Search this Thread
Old 07-28-2008, 06: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, 10:19 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,759

Rep: Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917
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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
lex: command not found PankajDS Linux - General 5 02-14-2008 03:03 PM
cygwin-6.dll was not found scbops General 1 04-11-2006 03:36 PM
Compiing php 5 Lex: command not found 1kyle Suse/Novell 1 03-27-2006 07:47 AM
Problem: Startx Command Not Found rvijay Debian 11 02-13-2005 11:40 AM
Command not found problem rudon Linux - Newbie 3 04-16-2003 09:09 PM


All times are GMT -5. The time now is 10:08 PM.

Main Menu
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
Open Source Consulting | Domain Registration