Nagios 3.4.1 on CentOS 5.8

devzero2000 pinto.elia at gmail.com
Mon Jun 18 12:56:15 UTC 2012


On Mon, Jun 18, 2012 at 4:45 AM, Kaushal Shriyan
<kaushalshriyan at gmail.com>wrote:

> Hi
>
> I am trying to build nagios rpm from nagios.spec file on CentOS 5.8.  I am
> getting into issues.
>
> nagios.spec http://fpaste.org/crOs/
>
> rpmbuild -ba nagios.spec
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.36485
> + umask 022
> + cd /usr/src/redhat/BUILD
> + cd /usr/src/redhat/BUILD
> + rm -rf nagios-3.4.1
> + /bin/gzip -dc /usr/src/redhat/SOURCES/nagios-3.4.1.tar.gz
> + tar -xf -
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd nagios-3.4.1
> /var/tmp/rpm-tmp.36485: line 31: cd: nagios-3.4.1: No such file or
> directory
> error: Bad exit status from /var/tmp/rpm-tmp.36485 (%prep)
>
>
Have you installed redhat-rpm-config? - it is always necessary anyway.

And yes, what contain /usr/src/redhat/BUILD ?



Btw, it is not a good idea packaging software as root....

Best Regards

>
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.36485 (%prep)
>
> http://fpaste.org/IYHQ/ which mentions about /var/tmp/rpm-tmp.36485
>
> Any clue?
>
> Regards
>
> Kaushal
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20120618/65a998ae/attachment.html>


More information about the Rpm-list mailing list