MonitoringPlug / monitoringplug

My collection of monitoring plugins for Nagios and similar monitoring systems.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

does not compile

gurubert opened this issue · comments

root@monitoring:/usr/local/src/monitoringplug# make
make all-recursive
make[1]: Entering directory '/usr/local/src/monitoringplug'
Making all in lib
make[2]: Entering directory '/usr/local/src/monitoringplug/lib'
/bin/bash ../build-aux/ylwrap mp_template_lex.l .c mp_template_lex.c -- :
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wcast-align -Wformat -Wformat-security -Winline -std=gnu99 -MT mp_template_lex.o -MD -MP -MF .deps/mp_template_lex.Tpo -c -o mp_template_lex.o mp_template_lex.c
gcc: error: mp_template_lex.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
Makefile:765: recipe for target 'mp_template_lex.o' failed
make[2]: *** [mp_template_lex.o] Error 1
make[2]: Leaving directory '/usr/local/src/monitoringplug/lib'
Makefile:469: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/local/src/monitoringplug'
Makefile:410: recipe for target 'all' failed
make: *** [all] Error 2

I now get this too, on Ubuntu 20.04; no matter whether I have byacc or bison installed.

Apparently this happens if I start compiling without yacc being present (you get #31), and try to continue after it is present. deleting and fetching the source anew works...