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 To: Yau KL 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: Message-ID: References: User-Agent: Alpine 1.10 (LFD 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/