Compiling nagios-plugins-master on Solaris 9
Posted: Thu Jan 30, 2014 2:31 pm
Hello,
I am trying to compile the nagios-plugins-master under Solaris 9 but running into errors. I have downloaded m4, autoconf, gettext and automake and compiled them without errors. When I attempt to compile
I receive this:
./tools/setup
Found GNU Make at /home1/cho6955/bin/make ... good.
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
lib/Makefile.am:16: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
lib/tests/Makefile.am:10: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
plugins/Makefile.am:16: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Then I run:
./configure --with-nagios-user=nagios
Which has no error.
Then I run 'make' and see the error below:
make: Fatal error in reader: Makefile, line 2507: Unexpected end of line seen
Current working directory /home1/cho6955/nagios/nagios-plugins-master/plugins
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home1/cho6955/nagios/nagios-plugins-master
*** Error code 1
make: Fatal error: Command failed for target `all'
Has anyone tried to compile under Solaris 9?
Thanks!
Barry
I am trying to compile the nagios-plugins-master under Solaris 9 but running into errors. I have downloaded m4, autoconf, gettext and automake and compiled them without errors. When I attempt to compile
I receive this:
./tools/setup
Found GNU Make at /home1/cho6955/bin/make ... good.
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
lib/Makefile.am:16: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
lib/tests/Makefile.am:10: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
plugins/Makefile.am:16: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Then I run:
./configure --with-nagios-user=nagios
Which has no error.
Then I run 'make' and see the error below:
make: Fatal error in reader: Makefile, line 2507: Unexpected end of line seen
Current working directory /home1/cho6955/nagios/nagios-plugins-master/plugins
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home1/cho6955/nagios/nagios-plugins-master
*** Error code 1
make: Fatal error: Command failed for target `all'
Has anyone tried to compile under Solaris 9?
Thanks!
Barry