DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Configuring Nagiosplug From Nagios 1.3 With Autoconf 2.13

04.29.2009
| 1763 views |
  • submit to reddit
        // Trying to configure Nagios 1.3's nagiosplug with autoconf 2.13

: jglover@jglover-3; /usr/bin/autoreconf-2.13
: jglover@jglover-3; WANT_AUTOCONF=2.1
: jglover@jglover-3; ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for getloadavg... yes
checking for pstat_getdynamic... no
checking for kstat_open in -lkstat... no
checking for getloadavg... yes
checking whether getloadavg requires setgid... no
checking for working strtod... yes
checking for ranlib... ranlib
checking for aclocal... /usr/bin/aclocal
checking for automake... /usr/bin/automake
checking for autoconf... /usr/bin/autoconf
checking for autoheader... /usr/bin/autoheader
checking for python... /usr/bin/python
checking for perl... /usr/bin/perl
checking for sh... /bin/sh
checking for hostname... /bin/hostname
checking for basename... /usr/bin/basename
checking for main in -ldce... no
checking for main in -lnsl... yes
checking for socket in -lsocket... no
checking for main in -lresolv... yes
checking for main in -lcrypt... yes
checking for PQsetdbLogin in -lpq... no
configure: WARNING: Skipping PostgreSQL plugin (check_pgsql)
configure: WARNING: LIBS="-lcrypt " CPPFLAGS=""
configure: WARNING: install 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... yes
checking for mysql_init in -lmysqlclient... yes
checking for mysql_close in -lmysqlclient... yes
checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
checking mysql/errmsg.h usability... yes
checking mysql/errmsg.h presence... yes
checking for mysql/errmsg.h... yes
checking for openssl... /usr/bin/openssl
checking krb5.h usability... yes
checking krb5.h presence... yes
checking for krb5.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/x509.h usability... yes
checking openssl/x509.h presence... yes
checking for openssl/x509.h... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/pem.h usability... yes
checking openssl/pem.h presence... yes
checking for openssl/pem.h... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... 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... (cached) 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 signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking uio.h usability... no
checking uio.h presence... no
checking for uio.h... no
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking sys/unistd.h usability... yes
checking sys/unistd.h presence... yes
checking for sys/unistd.h... yes
checking for unistd.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for sys/wait.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for an ANSI C-conforming 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 size of int... 4
checking size of long... 4
checking size of short... 2
checking for long long... yes
checking for LL suffix on long long integers... yes
checking for __va_copy... yes
checking for C99 vsnprintf... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for vasprintf... yes
checking for asprintf... yes
checking for memmove... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for strstr... yes
checking for strtod... (cached) yes
checking for strtol... yes
checking for strtoul... yes
checking for type of socket size... int
checking for ps... /bin/ps
      ps syntax... /bin/ps -axwo 'stat uid ppid comm args'
configure: WARNING: "unable to find usable df syntax"
checking for ping... /bin/ping
      ping syntax... /bin/ping -n -U -c <count> <host>
checking for nslookup... /usr/bin/nslookup
      nslookup syntax... /usr/bin/nslookup -sil
checking for host... /usr/bin/host
checking for uptime... /usr/bin/uptime
checking for rpcinfo... /usr/sbin/rpcinfo
checking for ntpdate... no
checking for ntpdc... no
checking for xntpdc... no
checking for ntpq... 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... no
** Get smbclient from Samba.org to monitor SMB shares
checking for who... /usr/bin/who
checking for snmpget... no
** Get snmpget from http://net-snmp.sourceforge.net to make check_hpjd and check_snmp plugins
checking for snmpgetnext... no
** 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... /usr/bin/ssh
checking for mailq... /usr/bin/mailq
found /proc/meminfo  
checking for dig... /usr/bin/dig
./configure: line 15344: syntax error near unexpected token `}'
./configure: line 15344: `$as_echo "no" >&6; }'
: jglover@jglover-3; echo $?                                                                     
2