Thanks, this certainly makes the error more explicit.

Applied to master!

2016-06-20 2:53 GMT-07:00 Loftus, Ciara <ciara.lof...@intel.com>:

> >
> > Numa library is needed for NUMA aware vHost User functionality.
> > Incase of missing numa package, the OVS DPDK configuration fails with
> > "error: Could not find DPDK libraries in <DPDK_LOC>/TARGET/lib" though
> > the DPDK library is installed.
> >
> > This patch fixes this inappropriate error by checking for presence of
> > numa library and output an appropriate error message "error: unable to
> > find libnuma, install the dependency package" in case of missing package.
> >
> > Signed-off-by: Bhanuprakash Bodireddy
> > <bhanuprakash.bodire...@intel.com>
> > ---
> >  acinclude.m4 | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/acinclude.m4 b/acinclude.m4
> > index 3978980..fddd913 100644
> > --- a/acinclude.m4
> > +++ b/acinclude.m4
> > @@ -209,6 +209,8 @@ AC_DEFUN([OVS_CHECK_DPDK], [
> >        [AC_DEFINE([VHOST_CUSE], [1], [DPDK vhost-cuse support enabled,
> > vhost-user disabled.])
> >         DPDK_EXTRA_LIB="-lfuse"])
> >
> > +    AC_SEARCH_LIBS([get_mempolicy],[numa],[],[AC_MSG_ERROR([unable
> > to find libnuma, install the dependency package])])
> > +
> >      # On some systems we have to add -ldl to link with dpdk
> >      #
> >      # This code, at first, tries to link without -ldl (""),
> > --
> > 2.4.11
>
>
> Acked-by: Ciara Loftus <ciara.lof...@intel.com>
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to