help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make error with Flex??


From: Hans-Bernhard Broeker
Subject: Re: make error with Flex??
Date: Sun, 24 Feb 2002 14:47:01 +0100 (MET)

On Sat, 23 Feb 2002, Nikos Balkanas wrote:

> Pretty straight forward. The shell (sh) is complaining that it cannot find
> yacc to execute yacc -d parse.y.

I don't quite agree to this statement.  After all, one of the central
reasons of existence for the "configure" script is to detect the presence
of 'yacc' and/or 'bison', and adapt the Makefile it generates accordingly.

In other words: if there is no 'yacc' on the machine, then configure
should never have written a Makefile that tries to run it.  It should
either fall back to the distributed, pre-yacc'ed version of the parser, or
print out an unmistakable message and terminate itself.

If it tries to run a non-existing 'yacc', that's essentially a bug in the
'configure.in' script or in autoconf.

-- 
Hans-Bernhard Broeker (address@hidden)
Even if all the snow were burnt, ashes would remain.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]