Unable to install nagiosplugins...

Colin Harford colin.harford at mail.su.ualberta.ca
Tue Aug 13 22:35:49 CEST 2002



Trying to install the nagiosplugins so that I can use nagios.


The system is running OpenBSD-3.1

(ardennes!/opt/nagios/nagiosplug-1.3-beta1) [root-ttyp1]
# make
Making all in plugins
Bad modifier: )

Unclosed variable specification
"Makefile", line 760: Need an operator
Fatal errors encountered -- cannot continue
*** Error code 1

Stop in /opt/nagios/nagiosplug-1.3-beta1 (line 185 of Makefile).

(ardennes!/opt/nagios/nagiosplug-1.3-beta1) [root-ttyp1]



>From the make file:

DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)

-include $(DEP_FILES)  <--this is line 760 in plugins/Makefile
mostlyclean-depend:

clean-depend:

distclean-depend:
        -rm -rf .deps




The configure output


(ardennes!/opt/nagios/nagiosplug-1.3-beta1) [root-ttyp1]
./configure --prefix=/opt/nagios --with-user=netsaint --with-group=netstaint
--with-cgiurl=/netstaint/cgi-bin/
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for aclocal... no
checking for automake... no
checking for autoconf... no
checking for autoheader... no
checking for gcc... gcc
checking whether the C compiler (gcc   -L.) works... yes
checking whether the C compiler (gcc   -L.) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether make sets ${MAKE}... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for python... no
checking for perl... /usr/bin/perl
checking for sh... /bin/sh
checking for hostname... /bin/hostname
checking for basename... /usr/bin/basename
checking how to run the C preprocessor... gcc -E
checking for elf_begin in -lelf... no
checking for kvm_open in -lkvm... yes
checking for getloadavg in -lutil... yes
checking for getloadavg... yes
checking whether getloadavg requires setgid... (cached) yes
checking group of /dev/kmem... kmem
checking for main in -ldce... no
checking for main in -lnsl... no
checking for socket in -lsocket... no
checking for main in -lresolv... yes
checking for main in -lcrypt... no
configure: warning: Skipping PostgreSQL plugin (check_pgsql)
configure: warning: install lib crypt and PostgreSQL libs to compile this
plugin (see Requirements).
checking for rc_read_config in -lradiusclient... no
configure: warning: Skipping radius plugin
configure: warning: install radius libs to compile this plugin (see
Requirements).
checking for main in -lldap... no
configure: warning: Skipping LDAP plugin
configure: warning: install LDAP libs to compile this plugin (see
Requirements).
configure: warning: Skipping mysql plugin
configure: warning: install mysql client libs to compile this plugin (see
Requirements).
checking for openssl... /usr/sbin/openssl
checking for openssl/x509.h... yes
checking for openssl/ssl.h... yes
checking for openssl/rsa.h... yes
checking for openssl/pem.h... yes
checking for openssl/crypto.h... yes
checking for openssl/err.h... yes
checking for CRYPTO_lock in -lcrypto... yes
checking for main in -lssl... yes
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for signal.h... yes
checking for strings.h... yes
checking for string.h... yes
checking for syslog.h... yes
checking for unistd.h... yes
checking for uio.h... no
checking for errno.h... yes
checking for regex.h... yes
checking for sys/types.h... yes
checking for sys/time.h... yes
checking for sys/socket.h... yes
checking for sys/loadavg.h... no
checking for working const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for pid_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for getopt_long... no import_sources=getopt
checking for getopt_long_only... no
checking for vsnprintf... no
checking for select... no
checking for socket... no
checking for strdup... no
checking for strstr... no
checking for strtod... no
checking for strtol... no
checking for strtoul... no
checking for type of socket size... int
checking for ps... /bin/ps
      ps syntax... /bin/ps -axo 'stat comm vsz rss user ppid args'
checking for df... /bin/df
 df syntax... /bin/df -Pk
checking for ping... /sbin/ping
      ping syntax... /sbin/ping -n -c <count> <host>
checking for nslookup... /usr/sbin/nslookup
checking nslookup syntax... /usr/sbin/nslookup
checking for host... /usr/sbin/host
checking host syntax... /usr/sbin/host
checking for uptime... /usr/bin/uptime
checking for rpcinfo... /usr/bin/rpcinfo
checking for ntpdate... /usr/local/sbin/ntpdate
checking for ntpdc... /usr/local/sbin/ntpdc
checking for lmstat... no
** Get lmstat from Globetrotter Software to monitor flexlm licenses
checking for smbclient... no
** Get smbclient from Samba.org to monitor SMB shares
checking for who... /usr/bin/who
checking for snmpget... /usr/local/bin/snmpget
checking for snmpgetnext... /usr/local/bin/snmpgetnext
** Tried /usr/bin/perl - install Net::SNMP perl module if you want to
        use the perl snmp plugins
checking for quakestat... no
checking for qstat... no
** Get qstat from http://www.activesw.com/people/steve/qstat.html in order
to make check_game plugin
checking for fping... /usr/local/sbin/fping
checking for ssh... /usr/bin/ssh
checking for dig... /usr/sbin/dig
yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating subst
creating plugins/Makefile
creating plugins-scripts/Makefile
creating plugins-scripts/subst
creating plugins-scripts/utils.pm
creating plugins-scripts/utils.sh
creating command.cfg
creating test.pl
creating plugins/config.h
creating plugins/common.h
creating plugins/version.h
creating plugins/netutils.h
creating plugins/utils.h
creating plugins/popen.h



Colin Harford    

                                      
Systems and Network Administrator         Apple Product Professional
=================================     
Computer and Network Support         
University of Alberta Students' Union                  
Phone: (780) 492-4241   Fax:  (780) 492-4643
http://www.su.ualberta.ca


"I sense much NT in you, NT leads to Blue Screen.
Blue Screen leads to downtime, downtime leads to suffering.
NT is the path to the darkside."
         - Unknown Unix Jedi





-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1




More information about the Users mailing list