[Libvir] BuildRequires check
Richard W.M. Jones
rjones at redhat.com
Wed Oct 17 10:37:24 UTC 2007
Jim Meyering wrote:
> I tried to configure libvirt from cvs on a just-built rawhide system
> and it failed like this, since I hadn't installed the "check" package,
> which defines PKG_CHECK_EXISTS:
> checking for init script flavor... redhat
> checking for iptables... /sbin/iptables
> ./configure: line 12187: syntax error near unexpected token `libxml-2.0,LIBXML_FOUND=yes'
> ./configure: line 12187: ` PKG_CHECK_EXISTS(libxml-2.0,LIBXML_FOUND=yes)'
> Here's a fix:
> 2007-10-17 Jim Meyering <meyering at redhat.com>
> * libvirt.spec.in (BuildRequires): Add "check".
> Index: libvirt.spec.in
> RCS file: /data/cvs/libvirt/libvirt.spec.in,v
> retrieving revision 1.65
> diff -u -p -r1.65 libvirt.spec.in
> --- libvirt.spec.in 12 Oct 2007 19:54:15 -0000 1.65
> +++ libvirt.spec.in 17 Oct 2007 10:03:22 -0000
> @@ -16,6 +16,7 @@ Requires: ncurses
> Requires: dnsmasq
> Requires: bridge-utils
> Requires: iptables
> +BuildRequires: check
Are you sure that "check" is the right package? I have a rawhide system
here where libvirt configures & compiles just fine, yet there is no
check RPM installed.
Furthermore the check package info in yum doesn't look relevant:
$ yum info check
Loading "refresh-updatesd" plugin
Excluding Packages in global exclude list
Name : check
Arch : x86_64
Size : 82 k
Repo : development
Summary: A unit test framework for C
Check is a unit test framework for C. It features a simple interface for
defining unit tests, putting little in the way of the developer. Tests
are run in a separate address space, so Check can catch both assertion
failures and code errors that cause segmentation faults or other signals.
The output from unit tests can be used within source code editors and
There was a rather interminable thread on this subject last month:
Be sure to read the follow-ups ...
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
More information about the libvir-list