[libvirt] Issue with building libvirt

Shradha Shah sshah at solarflare.com
Tue Jan 10 15:56:51 UTC 2012


Thanks Daniel.

On 01/10/2012 03:47 PM, Daniel P. Berrange wrote:
> 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




More information about the libvir-list mailing list