[oe] [PATCH] collectd: fix build failure with libnotify in sysroot

Paul Eggleton paul.eggleton at linux.intel.com
Thu May 16 11:07:46 UTC 2013


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_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.
> 
> Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
> ---
>  meta-oe/recipes-extended/collectd/collectd_5.2.2.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb
> b/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb index
> a508840..8641530 100644
> --- a/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb
> +++ b/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb
> @@ -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

-- 

Paul Eggleton
Intel Open Source Technology Centre




More information about the Openembedded-devel mailing list