On Wed, Jul 01, 2009 at 10:58:57PM +0100, Andreas Sommer wrote:
I'm still experimenting around with the vTPM patch, and I want to
install my version of libvirt on a Debian system - not in my $HOME
directory but on the default paths. I followed the autogen command below
and also did "make install", but now virsh for example searches for the
certificates in /usr/local/etc/pki instead of the standard path
/etc/pki. How do I need to configure the project to correct that and
install libvirt from source like it would be installed by a package
manager?
Have a look how ./configure is called when building the Debian package:
https://buildd.debian.org/fetch.cgi?&pkg=libvirt&ver=0.6.4-1%2Bb1...
cd . && CC="cc" CXX="g++" CFLAGS="-g -O2 -g -Wall
-O2" CXXFLAGS="-g -O2
-g -Wall -O2" CPPFLAGS="" LDFLAGS=""
/build/buildd-libvirt_0.6.4-1-i386-7BeE2u/libvirt-0.6.4/./configure
--build=i486-linux-gnu --prefix=/usr --includedir="\${prefix}/include"
--mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info"
--sysconfdir=/etc --localstatedir=/var
--libexecdir="\${prefix}/lib/libvirt" --disable-maintainer-mode
--disable-dependency-tracking --srcdir=. --disable-rpath --with-qemu
--with-openvz --with-avahi --with-sasl --with-polkit --with-hal
--with-storage-fs --with-storage-lvm --with-storage-iscsi
--with-storage-disk --with-init-scripts=none --without-numactl
--enable-debug --with-xen --with-vbox --with-lxc
Cheers,
-- Guido