------ Forwarded Article <[EMAIL PROTECTED]>
------ From "Dave Johansen" <[EMAIL PROTECTED]>

I'm having a problem setting up Lesstif. I untarred it and then I ran
configure and it gave me this error:

checking for flex... no
checking for lex... no
./configure: flex: command not found
checking for flew... lex
checking for yywrap in -ll... no
chekcking lex output file root... ./configure: lex: command not found
configure: error: cannot find outpuet from lex; giving up

What do I need to install or change or setup to get it working?
Dave Johansen



------ End of Forwarded Article


I contacted him via email meanwhile.
My first idea is to replace AM_PROG_LEX by AC_PROG_LEX.


In general I'm surprised and disappointed that the build
fails this way. Anyone with more experience of those
macros AC/M_PROG_LEX who knows why it quits configure?
This is something which should happen only under
extraordinary circumstances!
The auto* docs are very sparse on that topic:

AM_PROG_LEX is supposed to do something with the 'missing'
shell script as opposed to AC_PROG_LEX. Seems this macro
does the opposite of what one would expect ...?

-- 
Alexander Mai
[EMAIL PROTECTED]

Reply via email to