Received: from eggs.gnu.org ([208.118.235.92]:36553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5GV8-0003Cy-8U for qemu-devel@nongnu.org; Wed, 07 Mar 2012 08:02:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5GV3-0007Ez-4m for qemu-devel@nongnu.org; Wed, 07 Mar 2012 08:01:53 -0500 Received: from mx1.redhat.com ([209.132.183.28]:30743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5GV2-0007En-Sm for qemu-devel@nongnu.org; Wed, 07 Mar 2012 08:01:49 -0500 Date: Wed, 7 Mar 2012 15:01:39 +0200 From: Alon Levy Message-ID: <20120307130139.GD6668@garlic.tlv.redhat.com> References: <878vkegovg.fsf@rustcorp.com.au> <4F329327.80609@redhat.com> <4F5748C3.9010708@redhat.com> <4F5757F8.7050804@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F5757F8.7050804@redhat.com> Subject: Re: [Qemu-devel] [PATCH] configure: ignore spice libraries on 32 bit. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Peter Maydell , Rusty Russell , qemu-devel On Wed, Mar 07, 2012 at 01:43:36PM +0100, Gerd Hoffmann wrote: > Hi, > > > git bisect blames commit 2e1a98c9c "qxl: introduce QXLCookie". > > Do we need a preprocessor guard so we don't try to use these > > if the host's spice headers don't support them? > > > (My host is Ubuntu Oneiric with libspice-server-dev 0.8.2-2 > > and spice-protocol-dev 0.8.0-0ubuntu1.) > > Hmm, spice-protocol 0.8.1 adds them. qemu configure has a hard > dependency on spice-server 0.8.2 or newer, and I through that > automagically pulls in a recent enougth spice-protocol too because it is > needed to build spice-server in the first place. > > Alon? Did I mix up the versioning? Or is this a bug in the ubuntu > package dependencies? There is no spice-protocol requires in spice-server.pc from 0.8 branch (took the 0.8.2 commit f0e5a3cb77625b32050f052a8ede7ab0ca008224), This is the Requires line: Requires: pixman-1 >= 0.17.7 celt051 >= 0.5.1.1 alsa openssl xrandr xfixes x11 xext xrender so I think we need to add our own. diff --git a/configure b/configure index a5eb832..ecdfe9a 100755 --- a/configure +++ b/configure @@ -2544,6 +2544,7 @@ EOF spice_cflags=$($pkg_config --cflags spice-protocol spice-server 2>/dev/null) spice_libs=$($pkg_config --libs spice-protocol spice-server 2>/dev/null) if $pkg_config --atleast-version=0.8.2 spice-server >/dev/null 2>&1 && \ + $pkg_config --atleast-version=0.8.1 spice-protocol > /dev/null 2>&1 && \ compile_prog "$spice_cflags" "$spice_libs" ; then spice="yes" libs_softmmu="$libs_softmmu $spice_libs" > > cheers, > Gerd >