LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-27-2010, 03:54 AM   #1
fred_xlf
LQ Newbie
 
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
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
 
Old 11-27-2010, 06:09 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by fred_xlf View Post
./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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Code behind nagios plugins Xanios Linux - Newbie 21 08-08-2010 08:34 AM
Adding plugins to Nagios keogk Linux - General 3 06-29-2010 05:50 PM
Problem in installing nagios plugins prak86 Linux - Newbie 1 12-29-2009 02:04 AM
Help with nagios plugins anaigini45 Linux - Newbie 7 12-15-2009 02:29 AM
LXer: Nagios 2.5 and Oreon 1.3 (Nagios web front end) installation with screenshots LXer Syndicated Linux News 0 08-11-2006 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration