- yum install byacc flex automake libtool libgcrypt-devel glib2-devel libtool-ltdl-devel perl-ExtUtils-MakeMaker
- comments below imply this may be necessary: apt-get install bison
- git clone https://github.com/collectd/collectd.git
- cd collectd
- ./build.sh
- ./configure
- make
- yum install lvm2-devel net-snmp-devel liboping-devel libpcap-devel libesmtp-devel libcurl-devel libmnl-devel
This comment has been removed by the author.
ReplyDeleteHi thanks for your blog. I intend on running collectd on EC2 amazon linux instances. I used the process described about. On step 6 above I got this error: Making all in liboconfig
ReplyDeletemake[3]: Entering directory `/data/builder/collectd/collectd/src/liboconfig'
/bin/sh ../../libltdl/config/ylwrap parser.y y.tab.c parser.c y.tab.h parser.h y.output parser.output -- byacc -d
byacc: e - line 69 of "/data/builder/collectd/collectd/src/liboconfig/parser.y", syntax error
%error-verbose
Can you please advise?
Thanks
yum install bison
ReplyDeleteshould fix the parser error for %error-verbose