[Nagiosplug-help] Unable to install Plugin on Solaris server

Fugiel, Andrew (DTEI) Andrew.Fugiel at saugov.sa.gov.au
Fri Jul 10 07:39:03 CEST 2009


Hello,
 
I get the following message when I run the make command to install the
plugins, can any suggest a solution.
 
 
check_ldap.c: In function `main':
check_ldap.c:128: warning: assignment makes pointer from integer without a
cast
/bin/bash ../libtool --tag=CC --mode=link gcc  -g -O2   -L.
-L/usr/local/ssl/lib -o check_ldap  check_ldap.o netutils.o utils.o
../lib/libnagiosplug.a ../gl/libgnu.a  -lnsl -lsocket -lresolv -lldap -llber
-lnsl -lsocket -ldl
gcc -g -O2 -o check_ldap check_ldap.o netutils.o utils.o
-L/apps/nagios/downloads/nagios-plugins-1.4.13/plugins -L/usr/local/ssl/lib
../lib/libnagiosplug.a ../gl/libgnu.a -lldap /usr/local/lib/liblber.so
-L/usr/local/pgsql/lib -L/usr/local/lib -L/usr/openwin/lib -L/usr/lib
-L/usr/local/BerkeleyDB.4.2/lib -L/usr/X11R6/lib -lresolv -lgen -lnet -lnsl
-lsocket -ldl -R/usr/local/lib -R/usr/local/lib
ld: fatal: library -lnet: not found
ld: fatal: File processing errors. No output written to check_ldap
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `check_ldap'
Current working directory
/apps/nagios/downloads/nagios-plugins-1.4.13/plugins
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='gl lib plugins plugins-scripts plugins-root po'; for subdir in $list;
do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /apps/nagios/downloads/nagios-plugins-1.4.13
*** Error code 1
make: Fatal error: Command failed for target `all'

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20090710/c9399549/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3104 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20090710/c9399549/attachment.bin>


More information about the Help mailing list