[Libvir] Configuration and building libvirt.

We want to configure and build libvirt library (0.1.4 for instance) from tar.gz file on a IA32 platform with RHEL4U2 distro without installing and build all Xen modules. The steps are the following: tar -xzvf libvirt-0.1.4.tar.gz cd libvirt-0.1.4 ./configure --prefix=/usr make make install Unfortunatly, the "./configure --prefix=/usr " aborts with: checking for library containing xs_read... no configure: error: Xen store library not found (see attached file) corresponding to lines: dnl search for the Xen store library AC_SEARCH_LIBS(xs_read, [xenstore], [], [AC_MSG_ERROR([Xen store library not found])]) in the configure file. We have then transfered the libxenstore.so file into /usr/lib directory of our machine, but the result is the same. (NB: We had previously transferred all Xen public C header files into /usr/include/xen directory) 1- Could you tell us what are the Xen files strictly necessary to achieve this operation? 2- Is this operation also possible with a IA64 building environment on our IA32 platform? Regards.

On Wed, Sep 13, 2006 at 11:42:44AM +0200, Michel Gauthier wrote:
We want to configure and build libvirt library (0.1.4 for instance) from tar.gz file on a IA32 platform with RHEL4U2 distro without installing and build all Xen modules.
You need to install the Xen userspace libraries & Xen header files since libvirt will link against / include some of them.a
We have then transfered the libxenstore.so file into /usr/lib directory of our machine, but the result is the same. (NB: We had previously transferred all Xen public C header files into /usr/include/xen directory)
Basically look in the 'xen' and 'xen-devel' RPMs from FC6 - every file they list under /usr/lib & /usr/include are the ones you want. To be honest best bet is to just do a proper install of all the Xen bits rather than manually copying around individual files. Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|

On Wed, Sep 13, 2006 at 11:42:44AM +0200, Michel Gauthier wrote:
We want to configure and build libvirt library (0.1.4 for instance) from tar.gz file on a IA32 platform with RHEL4U2 distro without installing and build all Xen modules.
I'm not sure I fully understand. Do you want to build libvirt without Xen support ? That's not possible at the moment, but that should be fixed. Or do you want to build it with limited support, in which case which subset? Because RHEL4 definitely does not support Xen, especially as a Domain 0 OS, so I'm a bit puzzled by what you are attempting. Explain please, Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
participants (3)
-
Daniel P. Berrange
-
Daniel Veillard
-
Michel Gauthier