
On 03/24/2012 10:15 AM, Shawn Davis wrote:
Sorry for the noob question but how do I configure and build qemu-kvm and libvirt so that they are all installed in the correct places? Is there a specific flag I need to use or do I need to install them from a specific directory? It looks like the files and being put all over the place. Some are in /etc and some are in /usr/local/etc. If I can get everything to install in the correct spots I should be good I would hope.
What arguments are you passing to ./configure? If you build from libvirt.git and are on a Fedora-based system, then using ./autogen.sh --system will set up the preferred arguments to configure (these include --prefix=/usr --libdir=$prefix/$lib --sysconfdir=/etc --localstatedir=/var, where $lib is either lib or lib64). I'm not quite sure what default directories a debian-based install prefers; patches are welcome to ./autogen.sh to account for any differences to match debian-preferred layout. -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org