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
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.
Any ideas?
Regards and best wishes,
Justin Clift
--
Aeolus Community Manager
http://www.aeolusproject.org