[libvirt] libvirt cannot be built with -Werror on RHEL6RC(x86_64)

Eric Blake eblake at redhat.com
Thu May 12 14:24:56 UTC 2011


On 05/12/2011 05:58 AM, Eric Blake wrote:
> On 05/12/2011 03:55 AM, Wen Congyang wrote:
>> This test program is generated according to gettext.m4.
>> It's a bug of old version gettext, and it's fixed in gettext-0.14.4.
> 
> Unfortunately, there are several other bugs in m4 files inherited as a
> result of our choice of gettext.
> 
>> @@ -1981,7 +1984,7 @@ dnl Enable building libvirtd?
>>  AM_CONDITIONAL([WITH_LIBVIRTD],[test "x$with_libvirtd" = "xyes"])
>>  
>>  dnl Check for gettext
>> -AM_GNU_GETTEXT_VERSION([0.14.1])
>> +AM_GNU_GETTEXT_VERSION([0.14.4])
> 
> But this hunk would likely break out-of-the-box building of libvirt on
> RHEL 5 and CentOS, if they don't have new enough gettext.

I just confirmed that RHEL 5.6 and CentOS now ship with gettext-0.17; as
does the latest cygwin.  We obviously can't go to the latest upstream of
0.18.1.1 because it would alienate several live supported distros, but I
see no point of limiting ourselves to 0.14.x if moving all the way to
0.17 works.  Are any other popular distros stuck on something older than
0.17?

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110512/c7c10dc1/attachment-0001.sig>


More information about the libvir-list mailing list