Package: collectd-dev
Version: 5.4.1-1

I'm testing a custom plugin which I used to compile against collectd in stable 
without any problem.

Since the package in testing installs headers under /usr/include/collectd/core 
instead of /usr/include/collectd as the package from stable does, I have 
modified my plugin accordingly with proper paths but I hit an issue which I 
think is because of this change of headers location.

The error compiling is:

In file included from /usr/include/collectd/core/plugin.h:26:0,
                 from /usr/include/collectd/core/common.h:27,
                 from 
/home/vagrant/mta-collectd-readqstatus/src/readqstatus.c:10:
/usr/include/collectd/core/configfile.h:27:32: fatal error: 
liboconfig/oconfig.h: No such file or directory
compilation terminated.
make: *** [build] Error 1

Checking the file configfile.h it includes libconfig/oconfig.h which is no 
longer accessible because it's located one level above (/usr/includes/collectd).

I might be missing or not really understanding something, but I think either 
configfile.h should be patched on the package to include oconfig.h with the 
proper path or libconfig directory should also be placed under 
/usr/includes/colllectd/core.

Cheers,
Sergio.

Reply via email to