X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <488DF8ED.A4B34745@dessent.net> Date: Mon, 28 Jul 2008 09:50:53 -0700 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Cygwin problem: lex: Command not =?iso-8859-1?Q?found=FE?= References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Yau KL wrote: > 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 You need to look at the generated makefile to see what it's trying to invoke and why it's trying to run a nonexistant program. It could simply be that the person that wrote this makefile wasn't very good at writing portable software and on their system they had the traditional unix version of 'lex' instead of 'flex' and they never thought to refer to it as $(LEX) (the result of the configure test) but instead just assumed that everyone else would have 'lex' too. Brian -- 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/