[collectd] [PATCH] collectd fails to build ipvs plugin on RHEL based systems

Sebastian Harl sh at tokkee.org
Wed Jan 25 10:26:54 CET 2012


Hi Uli,

On Sun, Jan 22, 2012 at 01:36:48PM +0100, Ulrich Habel wrote:
> I did some mock builds on CentOS 6.2 with the latest version of
> collectd and noticed that the ipvs plugin doesn't build due to not
> finding the ip_vs.h header file. The include search path for this
> plugin is /usr/include/ip_vs.h and /usr/include/net/ip_vs.h.

> I've attached a patch for configure.in and src/ipvs.c to check for
> this location, too.

Thanks for reporting this.

This was a known issue. Please see [1] for a fix which has recently been
applied by Florian. This patch also takes into account that recent Linux
kernel headers and / or default GCC flags generate warnings when using
kernel headers directly and, thus, tries to lookup ip_vs.h without using
the kernel sources first.

Cheers,
Sebastian

[1] <https://github.com/octo/collectd/commit/d87bf146cca2c78005cf3c915cbee3cf4a985ad9>

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20120125/04b817ef/attachment.pgp>


More information about the collectd mailing list