Building latest collectd on Amazon Linux server in AWS

  1. yum install byacc flex automake libtool libgcrypt-devel glib2-devel libtool-ltdl-devel perl-ExtUtils-MakeMaker
    1. comments below imply this may be necessary: apt-get install bison
  2. git clone
  3. cd collectd
  4. ./
  5. ./configure
  6. make 
 Some helpful libs, start over to use them
  1. yum install lvm2-devel net-snmp-devel liboping-devel libpcap-devel libesmtp-devel libcurl-devel libmnl-devel
Dated: Nov, 2013


  1. This comment has been removed by the author.

  2. Hi 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
    make[3]: Entering directory `/data/builder/collectd/collectd/src/liboconfig'
    /bin/sh ../../libltdl/config/ylwrap parser.y parser.c parser.h y.output parser.output -- byacc -d
    byacc: e - line 69 of "/data/builder/collectd/collectd/src/liboconfig/parser.y", syntax error

    Can you please advise?

  3. yum install bison
    should fix the parser error for %error-verbose


Post a Comment

Popular posts from this blog

Debugging pfsense firewall rules clearly and easily

Direct ssh to a server via proxy using putty/plink on Windows

telnet vs netcat