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 https://github.com/collectd/collectd.git
  3. cd collectd
  4. ./build.sh
  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

Comments

  1. This comment has been removed by the author.

    ReplyDelete
  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 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

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

    ReplyDelete

Post a Comment

Popular posts from this blog

Openvpn and unbound combined break dig command

Stress Linux system: stress-ng

Google Nexus 4: permanent back panel glass repair for less than a penny