[libvirt] Issue with building libvirt

Daniel P. Berrange berrange at redhat.com
Tue Jan 10 15:47:25 UTC 2012


On Tue, Jan 10, 2012 at 03:37:32PM +0000, Shradha Shah wrote:
> Hello all,
> 
> I have been facing an issue when building libvirt using the following steps:
> 
> 1) ./autogen.sh --prefix=/usr/ --enable-compile-warnings=error
> 2) make
> 3) make install
> 
> The issue is that the above steps puts the binary in /usr/lib instead of /usr/lib64 on a 64 bit OS (RHEL). 

Yes, this is the default unhelpful behaviour of autotools.

If you want to build with a configuration that matches what RPM
would do, then we have a convenient '--system' arg that sets
everything up as you would expect, eg

  ./autogen.sh --system --enable-compile-warnings=error

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list