BuildRequires check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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@xxxxxxxxxx>

	* 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
 BuildRequires: xen-devel
 BuildRequires: libxml2-devel
 BuildRequires: readline-devel

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]