I writed a howto to compile the libvirt and virt-manager on Debian etch:<br><a href="http://wiki.xen-br.org/index.php?title=Compiling_libvirt_in_Debian_etch">http://wiki.xen-br.org/index.php?title=Compiling_libvirt_in_Debian_etch
</a><br><br>I make a libxen3-dev to solve the libvirt compilation (in document).<br><br>Regards<br><br><br>Marco Sinhoreli<br><br><div><span class="gmail_quote">On 7/4/07, <b class="gmail_sendername">Daniel P. Berrange</b>
 <<a href="mailto:berrange@redhat.com">berrange@redhat.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Wed, Jul 04, 2007 at 04:45:26PM -0400, Daniel Veillard wrote:
<br>> On Wed, Jul 04, 2007 at 09:55:20PM +0200, Roman Ammann wrote:<br>> > I read on the list that other people tried to install libvirt on Debian<br>> > Etch. I finally succeeded so I'll post a little Howto. Maybe someone
<br>> > with a better understanding of automake and C stuff knows a nicer way<br>> > but the ugly folder with the links to the different header files.<br>> ><br>> > The start point is a Debian Etch with a running Xen (in my case it's the
<br>> > xen-hypervisor-3.0.3-1-i386-pae package). If you're not using the PAE<br>> > version of the xen-hypervisor change the "apt-get source" line<br>> > accordingly.<br>> ><br>> > First you will need to install a bunch of development packages
<br>> ><br>> >   apt-get install build-essential libxml2-dev libncurses5-dev<br>> >   apt-get isntall libreadline5-dev python-dev<br>> ><br>> > Go to your home directory and install the Xen hypervisor sources
<br>> ><br>> >   cd<br>> >   apt-get source xen-hypervisor-3.0.3-1-i386-pae<br>> ><br>> > Create a folder with a bunch of symbolic links. We will use this folder<br>> > libvirt to find the header files.
<br>> ><br>> >   mkdir libvirt-include<br>> >   cd libvirt-include/<br>> >   ln -s /root/xen-3.0-3.0.3-0/xen/include/public/xen.h<br>> >   ln -s /root/xen-3.0-3.0.3-0/tools/xenstore/xs.h<br>> >   ln -s /root/xen-
3.0-3.0.3-0/tools/xenstore/xs_lib.h<br>> >   ln -s /root/xen-3.0-3.0.3-0/xen/include/public xen<br>> >   ln -s /root/xen-3.0-3.0.3-0/linux-2.6-xen-sparse/include/xen/public/ xen/linux<br>> ><br>> > Configure the dynamic linker that it will be able to find the libxenstore library
<br>> ><br>> >   echo '/usr/lib/xen-3.0.3-1/lib' > /etc/ld.so.conf.d/i486-linux-gnu.conf<br>> >   ldconfig<br>><br>>   Hum, this really is the installation of Xen, hopefully you should be able
<br>> to download prepackaged version, including the development part to avoid this,<br>> but I have no experience with Debian myself.<br><br>This is because the xen-devel equivalent on Debian was not including the header
<br>files for Xen. I believe this problem is in the process of being fixed, so this<br>work around won't be neccessary in future.<br><br>Dan.<br>--<br>|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
<br>|=-           Perl modules: <a href="http://search.cpan.org/~danberr/">http://search.cpan.org/~danberr/</a>              -=|<br>|=-               Projects: <a href="http://freshmeat.net/~danielpb/">http://freshmeat.net/~danielpb/
</a>               -=|<br>|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=|<br><br>--<br>Libvir-list mailing list<br><a href="mailto:Libvir-list@redhat.com">Libvir-list@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/libvir-list">
https://www.redhat.com/mailman/listinfo/libvir-list</a><br></blockquote></div><br>