Skip to content

alexus' blog

ai w/ vpn | meh

  • HowTo(s)
  • Download(s)

Month: July 2013

Posted on July 24, 2013January 2, 2014

Nagios (rpmbuild) Enterprise Linux

error(s):

1) /var/tmp/rpm-tmp.4HW54O: line 38: cd: nagios-3.5.0: No such file or directory
2) configure: error: unrecognized option: --datarootdir=/usr/share/nagios

Nagios Tracker – 0000468: redhat – I’m unable to use rpmbuild to build nagios-3.5.0 RPM @RHEL6 – Mantis

workaround:

tar -zxf nagios-3.5.0.tar.gz
rm nagios-3.5.0.tar.gz
mv nagios nagios-3.5.0
sed -i 's/datarootdir/datadir/' nagios-3.5.0/nagios.spec
tar -czf nagios-3.5.0.tar.gz nagios-3.5.0
rpmbuild -tb nagios-3.5.0.tar.gz
ls rpmbuild/RPMS/*/nagios-3.5.0*rpm

Share this:

  • Click to email a link to a friend (Opens in new window) Email
  • Click to print (Opens in new window) Print
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on X (Opens in new window) X
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Pocket (Opens in new window) Pocket

Like this:

Like Loading...

Social

  • View a1exus’s profile on Facebook
  • View a1exus’s profile on Twitter
  • View a1exus’s profile on Instagram
  • View a1exus’s profile on LinkedIn
  • View a1exus’s profile on GitHub
  • View a1exus’s profile on YouTube
  • View DmitryChorine’s profile on Google+
  • HowTo(s)
  • Download(s)
Proudly powered by WordPress
%d