Monit requires both flex and bison. Bison is recommended instead of byacc though byacc should work but does not seems to from your output. At least we know bison works. Also make sure that both flex and bison is included in your PATH.
On 23. juli. 2008, at 15.35, John Timms wrote: Monit specifically requested flex when I ran ./configure. Then it requested yacc when I ran make. Yacc is included in btyacc, byacc, and bison, all of which I have tried. Is flex supposed to include yacc? John
On Wed, Jul 23, 2008 at 9:31 AM, Brian Downey <address@hidden> wrote: On Jul 23, 2008, at 6:19 AM, John Timms wrote: I'm trying to install Monit 5.0 Beta 1 on a completely clean Ubuntu Server. It fails at the make command. This is what I've done, in chronological order: installed:
<snip> error: byacc -dt p.y byacc: f - cannot open "y.tab.h" make: *** [y.tab.c] Error 2 If I remember correctly, I ran into this identical problem when building on some HP-UX servers. The solution for us was to use flex instead of bison, I just couldn't get bison to work at all. The monit build only needs one or the other. Hope that helps...
-Brian
|