delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/28/07:50:53

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <BLU149-W648E66F80D977593BC70FBE6830@phx.gbl>
From: Yau KL <kok DOT lim AT hotmail DOT com>
To: <cygwin AT cygwin DOT com>
Subject: =?windows-1256?Q?Cygwin_problem:_lex:_Command_not_found=FE?=
Date: Mon, 28 Jul 2008 23:50:16 +1200
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com


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

_________________________________________________________________
Manage multiple email accounts with Windows Live Mail effortlessly.
http://www.get.live.com/wl/all

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019