On Mon, 2013-02-25 at 17:42 -0700, Eric Blake wrote: > On 02/25/2013 05:38 PM, Eugene Marcotte wrote: > > Hi, > > > > I'm building libvirt for the first time and figuring out what libraries > > are required to get the simplest possible thing working. > > > > Is there a hard requirement on gcrypt? I got libvirt past the configure > > script but the build failed on gcrypt.h. It looks like the include for > > it could be moved inside the #if WITH_GNUTLS section of libirt.c, if I > > understand what configure.ac is trying to set up. > > Can you show the exact compiler error message you received? You are > correct that this header is non-standard, and should be properly ifdef'd > before we try to use it. > make[3]: Entering directory `/home/emarcotte/src/libvirt/src' CC libvirt_driver_la-libvirt.lo libvirt.c:34:20: fatal error: gcrypt.h: No such file or directory compilation terminated. Of course, installing gcrypt-devel fixes it, but I would have expected configure to fail. I can try to add an explicit check for gcrypt.h if it's required. -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list