From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: libxen build warnings due to empty XML2_CONFIG or CURL_CONFIG Date: Thu, 22 Nov 2012 15:37:41 +0100 Message-ID: <20121122143741.GA17600@aepfle.de> References: <20121122135603.GA13807@aepfle.de> <1353593466.13542.158.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1353593466.13542.158.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Thu, Nov 22, Ian Campbell wrote: > On Thu, 2012-11-22 at 13:56 +0000, Olaf Hering wrote: > > If XML2_CONFIG or CURL_CONFIG is empty, make in tools/libxen will print > > an error 'make[3]: --cflags: Command not found'. I think a simple way to > > fix this is: > > shell test -n "$(XML2_CONFIG)" ; then $(XML2_CONFIG) --cflags ; fi > > XML2_CONFIG/CURL_CONFIG comes from configure.ac so if it is empty things > should be arranged such that either configure fails or libxen isn't > built, probably the second options. Now I see, configure is called with --enable-xenapi. For some reason the linking does not fail due to missing libxml*.so. curl is only required for the test programs. > Does anyone even use libxen? AFAIK it targets the incomplete 0.X version > of the XenAPI which xend half implements. I dont know. Olaf