[Nagiosplug-help] nagiosplus build fails on solaris 2.8

David Shapiro david.shapiro at btitele.com
Thu Jul 11 10:48:03 CEST 2002


Hello,

I think I saw Mr. Li add the same problem:

Solaris 8 trying to build.  

I used cvs:

cd /usr/local
echo "\npassword: press Enter key\n"
cvs -d:pserver:anonymous at cvs.nagiosplug.sourceforge.net:/cvsroot/nagiosplug
login
if [ ! -d /usr/local/nagios/source ]; then
        echo "Creating new nagiosplusings install"
        cvs -z3
-d:pserver:anonymous at cvs.nagiosplug.sourceforge.net:/cvsroot/nagiosplug co
nagiosplug
        if [ $! ]; then
                echo "error"
        fi
else
        echo "Updating old nagios plugins install"
        cvs -z3
-d:pserver:anonymous at cvs.nagiosplug.sourceforge.net:/cvsroot/nagiosplug
update -d -P
fi

# Configure and build plugins

I ran autoconf, automake, autoheader:

automake errors:
tomake: configure.in: `AM_INIT_AUTOMAKE' must be used
automake: your implementation of AM_INIT_AUTOMAKE comes from an
automake: old Automake version.  You should recreate aclocal.m4
automake: with aclocal and run automake again.
/usr/local/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/local/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/local/share/automake-1.6/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/local/share/automake-1.6/am/lang-compile.am: AMDEP does not appear in
AM_CONDITIONAL

(I ran aclocal and it does update aclocal.m4 in the nagiosplug directory.)
autoheader errors:
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.

WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':

WARNING:   AC_DEFINE([NEED_MAIN], 1,
WARNING:             [Define if a function `main' is needed.])

WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
autoheader: `plugins/config.h.in' is unchanged

Finally, I run configure, which completes with no errors.  I run make (gnu
make and the one with solaris):

Making all in plugins
make[1]: Entering directory `/usr/local/nagiosplug/plugins'
Makefile:657: *** missing separator.  Stop.
make[1]: Leaving directory `/usr/local/nagiosplug/plugins'
make: *** [all-recursive] Error 1

There are not more than 400 or so lines in the Makefile, but is complaining
about a separator at line 657?!?

David





More information about the Help mailing list