Re: [Libvir] The fist problem to compile libvirt in a Debian etch.

2007-05-07 Thread Daniel P. Berrange
On Mon, May 07, 2007 at 11:24:12AM -0300, Marco Sinhoreli wrote: > Attached the commands result for CFLAGS="-fno-stack-protector" ./configure > 2>&1 | tee configure.log and make 2>&1 | tee make.log. > > Is possible run the make only if I comment the libxml test in configure > script. > > regards

Re: [Libvir] The fist problem to compile libvirt in a Debian etch.

2007-05-07 Thread Marco Sinhoreli
Hello guys, To finish the libvirt compilation, I've commented: file: libvirt/configure: #elif test "z$with_libxml" = "z" -a "z$PKG_CONFIG_ENABLED" = "zyes" ; then #PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= $LIBXML_MIN_VERSION, # LIBXML_FOUND=yes, # LIBXML_FOUND=no) I know that the

Re: [Libvir] The fist problem to compile libvirt in a Debian etch.

2007-05-05 Thread Marco Sinhoreli
Hello Richard, I tried with debian do it. In command autogen.sh return it: $ ./autogen.sh --prefix=/usr/local --enable-compile-warnings=error --enable-debug=yes [...] ./configure: line 20698: syntax error near unexpected token `LIBXML,' ./configure: line 20698: `PKG_CHECK_MODULES(LIBXML, lib

Re: [Libvir] The fist problem to compile libvirt in a Debian etch.

2007-05-05 Thread Richard W.M. Jones
Marco Sinhoreli wrote: Hello list, I'm writing a how-to about libvirt compilation in Debian Etch. Well, I tried to compile version 0.1.11 in a Debian etch completly newly built from debootstrap. These are the steps that I took: - init commands apt-get install make gcc # cd /usr/src && wge

Re: [Libvir] The fist problem to compile libvirt in a Debian etch.

2007-05-04 Thread Marco Sinhoreli
Hello Chris, Thanks! With this option in CFLAGS this problem is solve. Firstly, sorry for extensives posts. But I beleave that it will help others people about these problems. So, the world isn't made only by flowers ;-), I have other problem in compilation described below: # make [...]

Re: [Libvir] The fist problem to compile libvirt in a Debian etch.

2007-05-04 Thread Chris Lalancette
Marco Sinhoreli wrote: > In this step the make command retur a error: > [...] > gcc -g -O2 -o .libs/virsh virsh-virsh.o virsh-console.o > ./.libs/libvirt.so -L/usr/lib /usr/lib/libxml2.so -lcurses -lreadline > -Wl,--rpath -Wl,/usr/local/lib > virsh-virsh.o: In function `cmdVcpuinfo': > /usr/src/

Re: [Libvir] The fist problem to compile libvirt in a Debian etch.

2007-05-04 Thread Marco Sinhoreli
Hello list, I changed the libvirt version and now I'm a one step forward ;-) So, I installed these debian packages and I runned the commands above: -- # apt-get install gcc make g++ autogen gettext autoconf automake libncurses5-dev libxml2 libxml2-dev libreadline5-dev # cd /usr/src # wget htt

Re: [Libvir] The fist problem to compile libvirt in a Debian etch.

2007-05-04 Thread Jan Michael
Marco Sinhoreli wrote: # cd /usr/src && wget http://libvirt.org/sources/libvirt-cvs- snapshot.tar.gz && tar -xzvf libvirt-cvs-snapshot.tar.gz # cd libvirt-0.1.11 # ./configure Did you noticed that the snapshot contains a quite old version of libvirt -> libvirt-0.1.11. Latest stable version

Re: [Libvir] The fist problem to compile libvirt in a Debian etch.

2007-05-04 Thread Daniel P. Berrange
On Fri, May 04, 2007 at 03:30:56PM -0300, Marco Sinhoreli wrote: > Hello list, > > I'm writing a how-to about libvirt compilation in Debian Etch. Well, I tried > to compile version 0.1.11 in a Debian etch completly newly built from > debootstrap. These are the steps that I took: > - init comma

[Libvir] The fist problem to compile libvirt in a Debian etch.

2007-05-04 Thread Marco Sinhoreli
Hello list, I'm writing a how-to about libvirt compilation in Debian Etch. Well, I tried to compile version 0.1.11 in a Debian etch completly newly built from debootstrap. These are the steps that I took: - init commands apt-get install make gcc # cd /usr/src && wget http://libvirt.org/source