www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/28/12:54:15

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 <brian AT dessent DOT net>
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: <BLU149-W648E66F80D977593BC70FBE6830 AT phx DOT gbl>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
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

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/

- Raw text -


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