MonitoringPlug / monitoringplug

My collection of monitoring plugins for Nagios and similar monitoring systems.
GNU General Public License v2.0
61 stars 17 forks source link

Compile error on Debian #3

Closed moschlar closed 11 years ago

moschlar commented 11 years ago
~/src/monitoringplug-monitoringplug-0.15$ ./autogen.sh && ./configure && make
...
Found GNU Autoconf version 2.67
Found GNU Automake version 1.11.1
Found GNU Libtool version 2.2.6b
...
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I.. -I../lib  -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wcast-align -Wformat -Wformat-security -Winline -MT mp_template_yacc.o -MD -MP -MF .deps/mp_template_yacc.Tpo -c -o mp_template_yacc.o mp_template_yacc.c
mv -f .deps/mp_template_yacc.Tpo .deps/mp_template_yacc.Po
/bin/bash ../build-aux/ylwrap mp_template_lex.l .c mp_template_lex.c -- :  
make[2]: *** [mp_template_lex.c] Error 1
make[2]: Leaving directory `/home/moschlar/src/monitoringplug-monitoringplug-0.15/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/moschlar/src/monitoringplug-monitoringplug-0.15'
make: *** [all] Error 2
~/src/monitoringplug-monitoringplug-0.15$ cd lib
~/src/monitoringplug-monitoringplug-0.15/lib$ /bin/bash ../build-aux/ylwrap mp_template_lex.l .c mp_template_lex.c -- :  
~/src/monitoringplug-monitoringplug-0.15/lib$ echo $?
1

I haven't seen ylwrap before, so I'm not sure how to debug that...

jiuka commented 11 years ago

Can you please install bison and flex or try the release tarball? For building a release-tarball some additional build dependencies are required. Bison and flex for building the template engine and docbook for building the manpaged. Those precompiled thing are then packed into the tarball.

http://svn.durchmesser.ch/download/monitoringplug/monitoringplug-0.15/monitoringplug-0.15.tar.gz

moschlar commented 11 years ago

Ah, okay, sorry, I hadn't noticed that there are release tarballs, I just downloaded the git tag tarball!

moschlar commented 11 years ago

Great, now it works! ;) You should put that link to the downloads somewhere in the README.