collectd: fix build failure with libnotify in sysroot
PATCH 1/1 collectd: fix build failure with libnotify in sysroot
If libnotify is in the sysroot, collectd will try to use it and then fail at do_compile because gtk/gtk.h can't be found. Since this is functionality that's not likely to be needed in the embedded context as far as collectd goes, just disable it.
--- meta-oe/recipes-extended/collectd/collectd_5.2.2.bb | 1 + 1 file changed, 1 insertion(+)
meta-oe/recipes-extended/collectd/collectd_5.2.2.bb +1 -0
@@ -26,6 +26,7 @@ EXTRA_OECONF = " \ ${FPLAYOUT} \ --disable-perl --with-libperl=no --with-perl-bindings=no \ --with-libgcrypt=${STAGING_BINDIR_CROSS}/libgcrypt-config \ + --disable-notify_desktop \ " do_install_append() {
Signature · 1 line
1.8.1.2
Quoted 16 lines · On Thursday 16 May 2013 11:55:01 Paul Eggleton wrote:
If libnotify is in the sysroot, collectd will try to use it and then fail at
do_compilebecausegtk/gtk.hcan't be found. Since this is functionality that's not likely to be needed in the embedded context as far as collectd goes, just disable it.Signed-off-by Paul Eggleton <[email protected]>--- meta-oe/recipes-extended/collectd/collectd_5.2.2.bb | 1 + 1 file changed, 1 insertion(+)(quoted diff) +0
-0b/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb index a508840..8641530 100644
meta-oe/recipes-extended/collectd/collectd_5.2.2.bb EXTRA_OECONF = " \ · line 32
Quoted 7 lines
meta-oe/recipes-extended/collectd/collectd_5.2.2.bb +1
-0@@ -26,6 +26,7 @@ EXTRA_OECONF = " \ ${FPLAYOUT} \ --disable-perl --with-libperl=no --with-perl-bindings=no \ --with-libgcrypt=${STAGING_BINDIR_CROSS}/libgcrypt-config \ + --disable-notify_desktop \ " do_install_append() {
I missed out the subject prefix, sorry, this is meant for the meta-oe layer in case it wasn't obvious.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre