Help, trouble compiling and installing plugins on OpenBSD 3.0

Dave Adams dadams at johncrowley.co.uk
Tue Oct 29 21:55:43 CET 2002


Greetings all,

er, i have a problem and here is the scenario.

Operating system is OpenBSD 3.0, i have installed nagios, it compiled
fine
and i have edited all the related config files. The preflight check
passes
with no errors. I am trying to install the plugins like so:

./configure --prefix=/usr/local/nagios --with-nagios-user=nagios
--with-nagi
os-group=nagios --with-cgiurl=/cgi-bin/nagios

All paths are correct.

When i run the configure, i think it's all going ok, here is the output

loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for ranlib... (cached) ranlib
checking for aclocal... no
checking for automake... no
checking for autoconf... no
checking for autoheader... no
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking for gawk... (cached) nawk
checking for python... no
checking for perl... (cached) /usr/bin/perl
checking for sh... (cached) /bin/sh
checking for hostname... (cached) /bin/hostname
checking for basename... (cached) /usr/bin/basename
checking how to run the C preprocessor... (cached) gcc -E
checking for elf_begin in -lelf... (cached) no
checking for kvm_open in -lkvm... (cached) yes
checking for getloadavg in -lutil... (cached) yes
checking for getloadavg... (cached) yes
checking whether getloadavg requires setgid... (cached) yes
checking group of /dev/kmem... (cached) kmem
checking for main in -ldce... (cached) no
checking for main in -lnsl... (cached) no
checking for socket in -lsocket... (cached) no
checking for main in -lresolv... (cached) yes
checking for main in -lcrypt... (cached) 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... (cached) no
configure: warning: Skipping radius plugin
configure: warning: install radius libs to compile this plugin (see
Requirements).
checking for main in -lldap... (cached) 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... (cached) /usr/sbin/openssl
checking for openssl/x509.h... (cached) yes
checking for openssl/ssl.h... (cached) yes
checking for openssl/rsa.h... (cached) yes
checking for openssl/pem.h... (cached) yes
checking for openssl/crypto.h... (cached) yes
checking for openssl/err.h... (cached) yes
checking for CRYPTO_lock in -lcrypto... (cached) yes
checking for main in -lssl... (cached) yes
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached)
yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for signal.h... (cached) yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking for syslog.h... (cached) yes
checking for unistd.h... (cached) yes
checking for uio.h... (cached) no
checking for errno.h... (cached) yes
checking for regex.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/loadavg.h... (cached) no
checking for working const... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking return type of signal handlers... (cached) void
checking for getopt_long... no import_sources=getopt
checking for getopt_long_only... (cached) no
checking for vsnprintf... (cached) no
checking for select... (cached) no
checking for socket... (cached) no
checking for strdup... (cached) no
checking for strstr... (cached) no
checking for strtod... (cached) no
checking for strtol... (cached) no
checking for strtoul... (cached) no
checking for type of socket size... int
checking for ps... (cached) /bin/ps
      ps syntax... /bin/ps -axo 'stat comm vsz rss user ppid args'
checking for df... (cached) /bin/df
 df syntax... /bin/df -Pk
checking for ping... (cached) /sbin/ping
      ping syntax... /sbin/ping -n -c <count> <host>
checking for nslookup... (cached) /usr/sbin/nslookup
checking nslookup syntax... /usr/sbin/nslookup
checking for host... (cached) /usr/sbin/host
checking host syntax... /usr/sbin/host
checking for uptime... (cached) /usr/bin/uptime
checking for rpcinfo... (cached) /usr/bin/rpcinfo
checking for ntpdate... no
checking for ntpdc... no
checking for xntpdc... no
** Install NTP programs (http://www.ntp.org) if you want to monitor time
synchronization
checking for lmstat... no
** Get lmstat from Globetrotter Software to monitor flexlm licenses
checking for smbclient... (cached) /usr/local/bin/smbclient
checking for who... (cached) /usr/bin/who
checking for snmpget... (cached) /usr/local/bin/snmpget
checking for snmpgetnext... (cached) /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... no
** Get fping from http://www.fping.com in order to make check_fping
plugin
checking for ssh... (cached) /usr/bin/ssh
checking for dig... (cached) /usr/sbin/dig
yes
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
plugins/config.h is unchanged
creating plugins/common.h
plugins/common.h is unchanged
creating plugins/version.h
plugins/version.h is unchanged
creating plugins/netutils.h
plugins/netutils.h is unchanged
creating plugins/utils.h
plugins/utils.h is unchanged
creating plugins/popen.h
plugins/popen.h is unchanged

when i run make all i get this

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 /usr/src/nagiosplug-1.3-beta1 (line 185 of Makefile).

Does anyone have any ideas what is happening?

Thanks in advance

Dave
 
 
 
This message (and any associated files) is intended only for the 
use of the individual or entity to which it is addressed and may 
contain information that is confidential, subject to copyright or
constitutes a trade secret. If you are not the intended recipient 
you are hereby notified that any dissemination, copying or 
distribution of this message, or files associated with this message, 
is strictly prohibited. If you have received this message in error, 
please notify us immediately by replying to the message and deleting 
it from your computer. Messages sent to and from 
John Crowley (Maidstone) Ltd may be monitored. 

Internet communications cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, arrive 
late or incomplete, or contain viruses. Therefore, we do not accept 
responsibility for any errors or omissions that are present in this 
message, or any attachment, that have arisen as a result of e-mail 
transmission. If verification is required, please request a hard-copy 
version. Any views or opinions presented are solely those of the author 
and do not necessarily represent those of John Crowley (Maidstone) Ltd.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list