[CentOS] Can anyone compile mtr source RPM on CentOS 6.7?

Digimer
Tue, 08 Mar 2016 00:50:28 -0000

I'm not surprised, given that it is in the repo. That's why I was asking
if anyone tried building it themselves and, if so, did they have the
same issue as I describe below?

Alternatively, any tips/advice on solving my build issue would be helpful.

digimer

On 07/03/16 07:29 PM, Nux! wrote:
> It built just fine in mock, results here
> http://li.nux.ro/download/nux/tmp/mtr6/
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> ----- Original Message -----
>> From: "Digimer" <lists at alteeve.ca>
>> To: "CentOS mailing list" <centos at centos.org>
>> Sent: Tuesday, 8 March, 2016 00:05:59
>> Subject: [CentOS] Can anyone compile mtr source RPM on CentOS 6.7?
>
>> 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!
>>
>> --
>> Digimer
>> Papers and Projects: https://alteeve.ca/w/
>> What if the cure for cancer is trapped in the mind of a person without
>> access to education?
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> https://lists.centos.org/mailman/listinfo/centos
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


--
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?