LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fail to install Nagios Pluggin nagios-plugins-1.4.15.tar.gz (http://www.linuxquestions.org/questions/linux-software-2/fail-to-install-nagios-pluggin-nagios-plugins-1-4-15-tar-gz-846840/)

fred_xlf 11-27-2010 03:54 AM

Fail to install Nagios Pluggin nagios-plugins-1.4.15.tar.gz
 
When I install Nagios Pluggin,
the command I was running shows below:

1. ./configure --with-nagios-user=nagios --with-nagios-group=nagios

2. make

error message is:

[root@localhost nagios-plugins-1.4.15]# make
make all-recursive
make[1]: Entering directory `/home/Download Nagios/nagios-plugins-1.4.15'
Making all in gl
make[2]: Entering directory `/home/Download Nagios/nagios-plugins-1.4.15/gl'
rm -f configmake.h-t && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
echo '#define PREFIX "/usr/local/nagios"'; \
echo '#define EXEC_PREFIX "/usr/local/nagios"'; \
echo '#define BINDIR "/usr/local/nagios/bin"'; \
echo '#define SBINDIR "/usr/local/nagios/sbin"'; \
echo '#define LIBEXECDIR "/usr/local/nagios/libexec"'; \
echo '#define DATAROOTDIR "/usr/local/nagios/share"'; \
echo '#define DATADIR "/usr/local/nagios/share"'; \
echo '#define SYSCONFDIR "/usr/local/nagios/etc"'; \
echo '#define SHAREDSTATEDIR "/usr/local/nagios/com"'; \
echo '#define LOCALSTATEDIR "/usr/local/nagios/var"'; \
echo '#define INCLUDEDIR "/usr/local/nagios/include"'; \
echo '#define OLDINCLUDEDIR "/usr/include"'; \
echo '#define DOCDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define INFODIR "/usr/local/nagios/share/info"'; \
echo '#define HTMLDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define DVIDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define PDFDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define PSDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define LIBDIR "/usr/local/nagios/lib"'; \
echo '#define LISPDIR ""'; \
echo '#define LOCALEDIR "/usr/local/nagios/share/locale"'; \
echo '#define MANDIR "/usr/local/nagios/share/man"'; \
echo '#define MANEXT ""'; \
echo '#define PKGDATADIR "/usr/local/nagios/share/nagios-plugins"'; \
echo '#define PKGINCLUDEDIR "/usr/local/nagios/include/nagios-plugins"'; \
echo '#define PKGLIBDIR "/usr/local/nagios/lib/nagios-plugins"'; \
echo '#define PKGLIBEXECDIR ""'; \
} | sed '/""/d' > configmake.h-t && \
if test -f configmake.h && cmp configmake.h-t configmake.h > /dev/null; then \
rm -f configmake.h-t; \
else \
rm -f configmake.h; mv configmake.h-t configmake.h; \
fi
make all-recursive
make[3]: Entering directory `/home/Download Nagios/nagios-plugins-1.4.15/gl'
make[4]: Entering directory `/home/Download Nagios/nagios-plugins-1.4.15/gl'
rm -f configmake.h-t && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
echo '#define PREFIX "/usr/local/nagios"'; \
echo '#define EXEC_PREFIX "/usr/local/nagios"'; \
echo '#define BINDIR "/usr/local/nagios/bin"'; \
echo '#define SBINDIR "/usr/local/nagios/sbin"'; \
echo '#define LIBEXECDIR "/usr/local/nagios/libexec"'; \
echo '#define DATAROOTDIR "/usr/local/nagios/share"'; \
echo '#define DATADIR "/usr/local/nagios/share"'; \
echo '#define SYSCONFDIR "/usr/local/nagios/etc"'; \
echo '#define SHAREDSTATEDIR "/usr/local/nagios/com"'; \
echo '#define LOCALSTATEDIR "/usr/local/nagios/var"'; \
echo '#define INCLUDEDIR "/usr/local/nagios/include"'; \
echo '#define OLDINCLUDEDIR "/usr/include"'; \
echo '#define DOCDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define INFODIR "/usr/local/nagios/share/info"'; \
echo '#define HTMLDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define DVIDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define PDFDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define PSDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define LIBDIR "/usr/local/nagios/lib"'; \
echo '#define LISPDIR ""'; \
echo '#define LOCALEDIR "/usr/local/nagios/share/locale"'; \
echo '#define MANDIR "/usr/local/nagios/share/man"'; \
echo '#define MANEXT ""'; \
echo '#define PKGDATADIR "/usr/local/nagios/share/nagios-plugins"'; \
echo '#define PKGINCLUDEDIR "/usr/local/nagios/include/nagios-plugins"'; \
echo '#define PKGLIBDIR "/usr/local/nagios/lib/nagios-plugins"'; \
echo '#define PKGLIBEXECDIR ""'; \
} | sed '/""/d' > configmake.h-t && \
if test -f configmake.h && cmp configmake.h-t configmake.h > /dev/null; then \
rm -f configmake.h-t; \
else \
rm -f configmake.h; mv configmake.h-t configmake.h; \
fi
make[4]: Leaving directory `/home/Download Nagios/nagios-plugins-1.4.15/gl'
make[3]: Leaving directory `/home/Download Nagios/nagios-plugins-1.4.15/gl'
make[2]: Leaving directory `/home/Download Nagios/nagios-plugins-1.4.15/gl'
Making all in tap
make[2]: Entering directory `/home/Download Nagios/nagios-plugins-1.4.15/tap'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Download Nagios/nagios-plugins-1.4.15/tap'
Making all in lib
make[2]: Entering directory `/home/Download Nagios/nagios-plugins-1.4.15/lib'
Making all in .
make[3]: Entering directory `/home/Download Nagios/nagios-plugins-1.4.15/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/Download Nagios/nagios-plugins-1.4.15/lib'
Making all in tests
make[3]: Entering directory `/home/Download Nagios/nagios-plugins-1.4.15/lib/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Download Nagios/nagios-plugins-1.4.15/lib/tests'
make[2]: Leaving directory `/home/Download Nagios/nagios-plugins-1.4.15/lib'
Making all in plugins
make[2]: Entering directory `/home/Download Nagios/nagios-plugins-1.4.15/plugins'
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_apt check_apt.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lpthread -ldl
libtool: link: cannot find the library `' or unhandled argument `Nagios/nagios-plugins-1.4.15/plugins'
make[2]: *** [check_apt] Error 1
make[2]: Leaving directory `/home/Download Nagios/nagios-plugins-1.4.15/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Download Nagios/nagios-plugins-1.4.15'
make: *** [all] Error 2

Could anyone help me to fix this problem?

thank you very much

unSpawn 11-27-2010 06:09 AM

Quote:

Originally Posted by fred_xlf (Post 4172504)
./configure --with-nagios-user=nagios --with-nagios-group=nagios
(..)
Code:

/bin/sh ../libtool --tag=CC  --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2  -L. -o check_apt check_apt.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lpthread -ldl
libtool: link: cannot find the library `' or unhandled argument `Nagios/nagios-plugins-1.4.15/plugins'


Welcome to LQ.
- Please fill in or post your distribution details in your http://www.linuxquestions.org/questions/usercp.php.
- Please use BB code tags when posting large texts as shown in this reply (attaching plain text files instead is possible as well).
- Posting your './configure' output may help as it may hold clues as to which development libraries or headers it didn't find.


All times are GMT -5. The time now is 05:34 PM.