delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/28/08:51:04

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 28 Jul 2008 13:50:28 +0100 (BST)
From: Hugh Sasse <hgs AT dmu DOT ac DOT uk>
To: Yau KL <kok DOT lim AT hotmail DOT com>
cc: cygwin AT cygwin DOT com
Subject: =?ISO-8859-8?Q?Re=3A_Cygwin_problem=3A_lex=3A_Command_not_found=FE?=
In-Reply-To: <BLU149-W648E66F80D977593BC70FBE6830@phx.gbl>
Message-ID: <alpine.LFD.1.10.0807281341460.5782@trueman.cs.cse.dmu.ac.uk>
References: <BLU149-W648E66F80D977593BC70FBE6830 AT phx DOT gbl>
User-Agent: Alpine 1.10 (LFD 962 2008-03-14)
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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


On Mon, 28 Jul 2008, Yau KL wrote:

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

./configure for which package?
>
> 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

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

Flex is free but non-GNU lex. See:
http://www.gnu.org/software/flex/
which therefore points to sourceforge.  The problem, from the
information you have given as I see it, is that your Makefile is
looking for lex, when it should be looking for flex.  You'll need to
see how it is used in the Makefile.

>
> Thanks for your help!
>
> Regards,
> KL
>
         Hugh

--
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