I writed a howto to compile the libvirt and virt-manager on Debian etch:
http://wiki.xen-br.org/index.php?title=Compiling_libvirt_in_Debian_etch

I make a libxen3-dev to solve the libvirt compilation (in document).

Regards


Marco Sinhoreli

On 7/4/07, Daniel P. Berrange <berrange@redhat.com> wrote:
On Wed, Jul 04, 2007 at 04:45:26PM -0400, Daniel Veillard wrote:
> On Wed, Jul 04, 2007 at 09:55:20PM +0200, Roman Ammann wrote:
> > I read on the list that other people tried to install libvirt on Debian
> > Etch. I finally succeeded so I'll post a little Howto. Maybe someone
> > with a better understanding of automake and C stuff knows a nicer way
> > but the ugly folder with the links to the different header files.
> >
> > The start point is a Debian Etch with a running Xen (in my case it's the
> > xen-hypervisor-3.0.3-1-i386-pae package). If you're not using the PAE
> > version of the xen-hypervisor change the "apt-get source" line
> > accordingly.
> >
> > First you will need to install a bunch of development packages
> >
> >   apt-get install build-essential libxml2-dev libncurses5-dev
> >   apt-get isntall libreadline5-dev python-dev
> >
> > Go to your home directory and install the Xen hypervisor sources
> >
> >   cd
> >   apt-get source xen-hypervisor-3.0.3-1-i386-pae
> >
> > Create a folder with a bunch of symbolic links. We will use this folder
> > libvirt to find the header files.
> >
> >   mkdir libvirt-include
> >   cd libvirt-include/
> >   ln -s /root/xen-3.0-3.0.3-0/xen/include/public/xen.h
> >   ln -s /root/xen-3.0-3.0.3-0/tools/xenstore/xs.h
> >   ln -s /root/xen- 3.0-3.0.3-0/tools/xenstore/xs_lib.h
> >   ln -s /root/xen-3.0-3.0.3-0/xen/include/public xen
> >   ln -s /root/xen-3.0-3.0.3-0/linux-2.6-xen-sparse/include/xen/public/ xen/linux
> >
> > Configure the dynamic linker that it will be able to find the libxenstore library
> >
> >   echo '/usr/lib/xen-3.0.3-1/lib' > /etc/ld.so.conf.d/i486-linux-gnu.conf
> >   ldconfig
>
>   Hum, this really is the installation of Xen, hopefully you should be able
> to download prepackaged version, including the development part to avoid this,
> but I have no experience with Debian myself.

This is because the xen-devel equivalent on Debian was not including the header
files for Xen. I believe this problem is in the process of being fixed, so this
work around won't be neccessary in future.

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  -=|

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