[libvirt] a compilation issue

Eric Blake eblake at redhat.com
Wed Dec 7 16:32:31 UTC 2011

On 12/07/2011 09:23 AM, Alex Jia wrote:
> Hi developers,
> I met the following compilation issue when I 'git checkout v0.9.8-rc1' tag 
> then run './configure && make':
> <snip>
> Copying file ._bootmp/gnulib/lib/netinet_in.in.h
> Copying file ._bootmp/gnulib/lib/nonblocking.c
> Copying file ._bootmp/gnulib/lib/nonblocking.h
> Copying file ._bootmp/gnulib/lib/open.c
> .gnulib/gnulib-tool: line 1475: patch: command not found
> .gnulib/gnulib-tool: *** patch file gnulib/local/lib/openpty.c.diff didn't apply cleanly
> .gnulib/gnulib-tool: *** Stop.
> Failed to bootstrap, please investigate.
> make: *** [_autogen] Error 1
> </snip>
> Has any advice about this?

Oh my - that means gnulib-tool itself has a dependency on patch(1), but
only when there is a local gnulib diff.  I'll get that fixed upstream in
gnulib for inclusion post-0.9.8; but for now, the solution is for you to
'yum install patch'.

> BTW, it's fine when I compiled latest GIT head.

Yep - commit 059d746d dropped a local gnulib diff, which drops the need
for patch.

Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

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

More information about the libvir-list mailing list