Friday 8 November 2013

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

3 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

Note: only a member of this blog may post a comment.

Interview questions: 2020-12

Terraform provider vs provisioner Load balancing Network Load Balancer vs Application Load Balancer  Networking Layer 1 vs Layer 4 haproxy u...