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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]