Spec File

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mykie
Posts: 8
Joined: Thu Sep 29, 2011 9:01 am

Spec File

Post by mykie »

No doubt this has been bought up before but im struggling to find a thread

Can anyone help me sort out the spec file for building a nagios rpm

I've changed the obvious this like the incorrect name and chaging the root directory but its still failing to build

Code: Select all

	do /usr/bin/install -c -m 664  $file /var/tmp/nagios-buildroot/usr/share/nagios/includes/rss; done
/usr/bin/install: omitting directory `includes/rss/extlib'
/usr/bin/install: omitting directory `includes/rss/htdocs'
/usr/bin/install: omitting directory `includes/rss/scripts'
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/m.smith/rpmbuild/BUILD/nagios/html'
make: *** [install] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.47447 (%install)
Also after a bit of searching for help with this issue I've just come across what seems like loads of bug and complaints about 3.3.1

Would i be better of sticking with 3.2.* for a while I noticed even on the nagios demo they're still using 3.2?
Locked