Hi all,
I was trying to rebuild mtr (http://vault.centos.org/6.7/os/Source/SPackages/mtr-0.75-5.el6.src.rpm) and I keep getting:
==== Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gu9Ds0 + umask 022 + cd /root/rpmbuild/BUILD + '[' /root/rpmbuild/BUILDROOT/mtr-0.75-5.el6.x86_64 '!=' / ']' + rm -rf /root/rpmbuild/BUILDROOT/mtr-0.75-5.el6.x86_64 ++ dirname /root/rpmbuild/BUILDROOT/mtr-0.75-5.el6.x86_64 + mkdir -p /root/rpmbuild/BUILDROOT + mkdir /root/rpmbuild/BUILDROOT/mtr-0.75-5.el6.x86_64 + cd mtr-0.75 + LANG=C + export LANG + unset DISPLAY + rm -rf /root/rpmbuild/BUILDROOT/mtr-0.75-5.el6.x86_64 + mkdir -p /root/rpmbuild/BUILDROOT/mtr-0.75-5.el6.x86_64//usr/bin + mkdir -p /root/rpmbuild/BUILDROOT/mtr-0.75-5.el6.x86_64//usr/sbin + mkdir -p /root/rpmbuild/BUILDROOT/mtr-0.75-5.el6.x86_64//usr/share/pixmaps + mkdir -p /root/rpmbuild/BUILDROOT/mtr-0.75-5.el6.x86_64//usr/share/man/man8 + install -m 0755 mtr /root/rpmbuild/BUILDROOT/mtr-0.75-5.el6.x86_64//usr/sbin/mtr + make DESTDIR=/root/rpmbuild/BUILDROOT/mtr-0.75-5.el6.x86_64 install make: *** No rule to make target `install'. Stop. error: Bad exit status from /var/tmp/rpm-tmp.gu9Ds0 (%install) ====
I fully admit to not knowing much about Makefiles, so maybe I am missing something obvious. The Makefile is pretty sparce:
==== # # This is an attempt on simplifying the compilation of mtr to a simple "make". #
firstrule: ./configure $(MAKE)
clean: rm -f *.o *~ core
distclean: clean rm -f mtr config.cache config.status config.log \ stamp-h stamp-h[0-9]* TAGS ID ====
Obviously the mtr package built for CentOS itself, so I have to assume I am doing something dumb.
Thanks for any insight/tips!