[Nagiosplug-help] (no subject)

Karl DeBisschop karl at debisschop.net
Wed May 14 20:55:08 CEST 2003


On Wed, 2003-05-14 at 23:37, Hamm, Paul wrote:
> Hello,
> 
>  
> 
> I am having issues compiling the check_pgsql plug in with the 
> nagios-plugins-1.3.0  plugin package.  I have installed Postgres
> locally on the server at /usr/local/pgsql.  However, configure fails
> to pick up the library files and thus never complies it in. Where are
> the libraries supposed to be? And which ones are required for a
> successful compile?
> 

Looks to me like the pgsql libs are successfully found by configure --
what happens with make?
 
> 
> The server is a Linux 2.4.18-14smp kernel.
> 
>  
> 
> # nagios-plugins-1.3.0]# ./configure --with-cgiurl=/cgi-bin
> --with-pgsql=/usr/local/pgsql/
> 
> creating cache ./config.cache
> 
> checking for a BSD compatible install... /usr/bin/install -c
> 
> checking whether build environment is sane... yes
> 
> checking whether make sets ${MAKE}... yes
> 
> checking for working aclocal... found
> 
> checking for working autoconf... found
> 
> checking for working automake... found
> 
> checking for working autoheader... found
> 
> checking for working makeinfo... found
> 
> checking for a BSD compatible install... /usr/bin/install -c
> 
> checking for gcc... gcc
> 
> checking whether the C compiler (gcc  ) works... yes
> 
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> 
> checking whether we are using GNU C... yes
> 
> checking whether gcc accepts -g... yes
> 
> checking whether make sets ${MAKE}... (cached) yes
> 
> checking for gawk... gawk
> 
> checking how to run the C preprocessor... gcc -E
> 
> checking for elf_begin in -lelf... yes
> 
> checking for kvm_open in -lkvm... no
> 
> 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 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... /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... yes
> 
> checking for pgsql/libpq-fe.h... no
> 
> checking for postgresql/libpq-fe.h... no
> 
> checking for libpq-fe.h... yes
> 
> 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
> 
> configure: warning: Skipping mysql plugin
> 
> configure: warning: install mysql client libs to compile this plugin
> (see REQUIREMENTS).
> 
> checking for openssl... /usr/bin/openssl
> 
> checking for krb5.h... no
> 
> checking for krb5.h... yes
> 
> checking for openssl/ssl.h... no
> 
> checking for openssl/x509.h... no
> 
> checking for openssl/rsa.h... no
> 
> checking for openssl/pem.h... no
> 
> checking for openssl/crypto.h... no
> 
> checking for openssl/err.h... no
> 
> checking for ssl.h... no
> 
> checking for x509.h... no
> 
> checking for rsa.h... no
> 
> checking for pem.h... no
> 
> checking for crypto.h... no
> 
> checking for err.h... no
> 
> 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 stdarg.h... yes
> 
> checking for sys/unistd.h... yes
> 
> checking for unistd.h... (cached) yes
> 
> checking for ctype.h... yes
> 
> checking for sys/wait.h... (cached) yes
> 
> checking for stdlib.h... yes
> 
> 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 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... 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 -weo 'stat comm vsz rss user ppid args'
> 
> checking for df... /bin/df
> 
>       df syntax... /bin/df -Pk
> 
> 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... /usr/sbin/ntpdate
> 
> checking for ntpdc... /usr/sbin/ntpdc
> 
> checking for ntpq... /usr/sbin/ntpq
> 
> checking for lmstat... no
> 
> ** Get lmstat from Globetrotter Software to monitor flexlm licenses
> 
> checking for smbclient... /usr/bin/smbclient
> 
> 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... 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
> 
> yes
> 
> updating cache ./config.cache
> 
> creating./config.status
> 
> creating Makefile
> 
> creating subst
> 
> creatinglib/Makefile
> 
> creatingplugins/Makefile
> 
> creatingplugins-scripts/Makefile
> 
> creatingplugins-scripts/subst
> 
> creatingplugins-scripts/utils.pm
> 
> creatingplugins-scripts/utils.sh
> 
> creating command.cfg
> 
> creating test.pl
> 
> creatingplugins/config.h
> 
> creatingplugins/common.h
> 
> creatingplugins/version.h
> 
> creatingplugins/netutils.h
> 
> creatingplugins/utils.h
> 
> creatingplugins/popen.h
> 
>  
> 
>  
> 
> Thank You,
> 
> -ph
> 
>  
> 
>  






More information about the Help mailing list