This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin problem: lex: Command not foundþ


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]