[libvirt] [PATCH] xenapi: Fix compile error in previous commit

Eric Blake eblake at redhat.com
Fri Aug 20 22:45:34 UTC 2010


On 08/20/2010 04:38 PM, Eric Blake wrote:
> On 08/20/2010 04:33 PM, Matthias Bolte wrote:
>> The xenapi driver requires libxenserver which can be found here:
>>
>> http://community.citrix.com/display/xs/Download+SDKs
> 
> A word of warning - the 5.6.0-1 tarball comes with no ./configure
> script.  The Makefile is broken out of the box - it wants to install
> directly into /usr rather than /usr/local, and it is missing definitions
> for $(INSTALL_PROG) and $(LIBDIR).  Also, it fails to install
> include/xen/api/xen_all.h.  I had to do:
> 
> sudo make install INSTALL_PROG='$(INSTALL)' LIBDIR=lib64
> sudo cp include/xen/api/xen_all.h /usr/include/xen/api

That's still incomplete.  Instead, this one-liner works:

sudo make install INSTALL_PROG='$(INSTALL)' LIBDIR=lib64 \
  LIBXENAPI_HDRS='include/xen/api/*.h'

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100820/29919448/attachment-0001.sig>


More information about the libvir-list mailing list