From: Ian Campbell Subject: Re: [PATCH] libxl: add support for yajl 2.x Date: Thu, 22 Dec 2011 14:19:21 +0000 Message-ID: <1324563561.7877.89.camel@zakaz.uk.xensource.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Roger Pau Monne Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Tue, 2011-12-20 at 09:53 +0000, Roger Pau Monne wrote: > iff -r f72b99fccfca -r f4ff3ce53fd2 tools/check/check_yajl_lib > --- a/tools/check/check_yajl_lib Tue Dec 20 08:31:40 2011 +0100 > +++ b/tools/check/check_yajl_lib Tue Dec 20 10:53:16 2011 +0100 > @@ -3,4 +3,4 @@ > > . ./funcs.sh > > -has_lib libyajl.so.1 || fail "can't find libyajl.so.1 version 1" > +has_lib libyajl.so.1 || has_lib libyajl.so.2 || fail "can't find > libyajl.so.1 version 1 or libyajl.so.2 version 2" The purpose of specifically checking for .so.1 was to avoid trying to use v2. Since you've fixed this you can just make it check for libyajl.so. > diff -r f72b99fccfca -r f4ff3ce53fd2 tools/libxl/libxl_json.h > --- a/tools/libxl/libxl_json.h Tue Dec 20 08:31:40 2011 +0100 > +++ b/tools/libxl/libxl_json.h Tue Dec 20 10:53:16 2011 +0100 > @@ -16,8 +16,14 @@ > #define LIBXL_JSON_H > > #include > +#include Sadly this isn't in the version of libyajl in Debian Stable which is 1.0.8-1. :-( Ian.