[collectd] Still won't compile on Ubuntu Server 11.04, 11.10

Andy Edmonds andy at edmonds.be
Thu Nov 3 21:10:19 CET 2011


collectd is compiling on ubuntu. These are the steps I shared with Bill
earlier...


   1. git clone https://github.com/octo/collectd.git
   2. sudo apt-get install bison flex autoconf pkg-config libtool
   libgcrypt-dev
   3. cd collectd
   4. ./build.sh
   5. ./configure
   6. make all install


Andy
andy.edmonds.be


On Thu, Nov 3, 2011 at 20:05, Amer <stalkerboi at gmail.com> wrote:

> Hold on I think I misread you. Did you manage to get collectd to
> compile successfully on Ubuntu at the end, after installing flex? Or
> you were just pointing out another compiling issue which could be
> fixed by installing flex?
>
>
>
> On Fri, Nov 4, 2011 at 3:46 AM, Bill Harris <savoy9020 at texoma.net> wrote:
> > Amer,
> >
> > Sorry,  it's just flex
> >
> > Bill
> >
> >
> > On Nov 3, 2011, at 2:41 PM, Amer wrote:
> >
> >> Ok but I couldn't find such package name on ubuntu. Is flex-dev its
> >> full package name?
> >>
> >>
> >> On Fri, Nov 4, 2011 at 3:19 AM, Bill Harris <savoy9020 at texoma.net>
> wrote:
> >>> Amer,
> >>>
> >>> Something else I've noticed when compiling on Ubuntu..
> >>>
> >>> Configure misses the fact that libfl.x is missing..  and exit normally,
> >>> The make then fails with the -lfl error.
> >>>
> >>> Installing flex-dev solves the problem, but figured I'd mention
> >>> it since it seems to have been missed.
> >>>
> >>> Bill
> >>>
> >>>
> >>>
> >>> On Nov 3, 2011, at 2:05 PM, Amer wrote:
> >>>
> >>>> Same problem here. I thought this was gonna get fixed in the 5.0.1
> >>>> when they pushed a new update recently
> >>>>
> >>>> Florian, could we request for a minor update with fix for this bug on
> >>>> the collectd package on the main site? If someone could come up with a
> >>>> fix patch that would be appreciated too
> >>>>
> >>>>
> >>>>
> >>>> On Thu, Oct 20, 2011 at 10:35 AM, Bill Harris <savoy9020 at texoma.net>
> wrote:
> >>>>> This has been occurring for several months..  Anyone seen
> >>>>> a patch for it?    This was from daily tarball..
> >>>>>
> >>>>> Bill
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> make[3]: Entering directory `/work/collectd-5.0.1/src/owniptc'
> >>>>> /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
> -I. -I. -I../../src    -Wall -Werror -g -O2 -c -o libip4tc.lo libip4tc.c
> >>>>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../../src -Wall
> -Werror -g -O2 -c libip4tc.c  -fPIC -DPIC -o .libs/libip4tc.o
> >>>>> In file included from libip4tc.c:136:0:
> >>>>> libiptc.c:84:8: error: redefinition of ‘struct xt_error_target’
> >>>>> /usr/include/linux/netfilter/x_tables.h:69:8: note: originally
> defined here
> >>>>> make[3]: *** [libip4tc.lo] Error 1
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> collectd mailing list
> >>>>> collectd at verplant.org
> >>>>> http://mailman.verplant.org/listinfo/collectd
> >>>>>
> >>>
> >>>
> >
> >
>
> _______________________________________________
> collectd mailing list
> collectd at verplant.org
> http://mailman.verplant.org/listinfo/collectd
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20111103/14411df2/attachment-0001.html>


More information about the collectd mailing list