
On 2011年11月08日 16:58, Wen Congyang wrote:
At 11/08/2011 02:22 PM, Justin Clift Write:
On 08/11/2011, at 5:17 PM, Justin Clift wrote:
Hi guys,
Just tried "make rpm" with git head, on RHEL 6.x.
It gave the following failure:
make[1]: Leaving directory `/home/jc/git_repos/libvirt' make[1]: Entering directory `/home/jc/git_repos/libvirt' { test ! -d "libvirt-0.9.6" || { find "libvirt-0.9.6" -type d ! -perm -200 -exec chmod u+w {} ';'&& rm -fr "libvirt-0.9.6"; }; } test -d "libvirt-0.9.6" || mkdir "libvirt-0.9.6" cp: cannot stat `./NEWS': No such file or directory I do not know why NEWS disappears.
make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/home/jc/git_repos/libvirt' make: *** [rpm] Error 2
Anyone want to fix it prior to 0.9.7? :) As additional info, after doing a "touch NEWS" just to get it past this point, it then fails with:
make[2]: Leaving directory `/home/jc/git_repos/libvirt/include' (cd src&& make top_distdir=../libvirt-0.9.6 distdir=../libvirt-0.9.6/src \ am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir) make[2]: Entering directory `/home/jc/git_repos/libvirt/src' make[2]: *** No rule to make target `probes.h', needed by `distdir'. Stop. make[2]: Leaving directory `/home/jc/git_repos/libvirt/src' make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/home/jc/git_repos/libvirt' make: *** [rpm] Error 2
This is a newly setup RHEL 6.1 x64 VM, with the "Development Tools" yum package group installed, plus minimal -devel packages to let configure succeed. I use RHEL6.1 x64 too. But I do not meet this problem.
I think you do not install this package: systemtap-sdt-devel.
Thanks Wen Congyang
Any ideas?
Regards and best wishes,
Justin Clift
-- Aeolus Community Manager http://www.aeolusproject.org
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
I also got the error on ubuntu 11.10 when run make distcheck libvirt$ make distcheck { test ! -d "libvirt-0.9.6" || { find "libvirt-0.9.6" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr "libvirt-0.9.6"; }; } test -d "libvirt-0.9.6" || mkdir "libvirt-0.9.6" cp: cannot stat `./NEWS': No such file or directory make: *** [distdir] Error 1