Problems compiling nagios rpm from nagios.spec for 3.3.1

Giacomo Montagner gmontagner at sorint.it
Tue Aug 16 13:56:19 CEST 2011


Hi all, 
I compiled rpms of nagios 3.3.1 from the nagios.spec contained into the
tar.gz. There are 2 problems with this procedure, I hope this is the
right place to point them out: 

1) extracting the tar.gz creates a directory called "nagios", while the
expected name is "nagios-3.3.1" - I recreated the archive using the
right name and put it into /usr/src/redhat/SOURCES/;
2) the spec.file contains an error: the --datarootdir flag must actually
be --datadir. 

Correcting these two problems allowed me to compile nagios.

Regards,
-- 
Giacomo Montagner



------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list