[iyunv@nagios_client02 nagios]# dos2unix /usr/local/nagios/libexec/check_memory.pl
-bash: dos2unix: command not found
[iyunv@nagios_client02 nagios]# dos2unix /usr/local/nagios/libexec/check_iostat
-bash: dos2unix: command not found
[iyunv@nagios_client02 nagios]# cd ..
[iyunv@nagios_client02 tools]# wget http://terminus.sk/~hany/_data/hd2u/hd2u-1.0.0.tgz
--2014-09-07 00:03:11-- http://terminus.sk/~hany/_data/hd2u/hd2u-1.0.0.tgz
Resolving terminus.sk... 92.240.244.10
Connecting to terminus.sk|92.240.244.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 54461 (53K) [application/x-gzip]
Saving to: `hd2u-1.0.0.tgz'
100%[===========================================================================================================================>] 54,461 248K/s in 0.2s
2014-09-07 00:03:28 (248 KB/s) - `hd2u-1.0.0.tgz' saved [54461/54461]
[iyunv@nagios_client02 tools]# ll hd2u-1.0.0.tgz
-rw-r--r-- 1 root root 54461 Mar 15 2005 hd2u-1.0.0.tgz
[iyunv@nagios_client02 tools]# tar zxvf hd2u-1.0.0.tgz
hd2u-1.0.0/
hd2u-1.0.0/configure
hd2u-1.0.0/dos2unix.c
hd2u-1.0.0/NEWS
hd2u-1.0.0/config.h.in
hd2u-1.0.0/packaging/
hd2u-1.0.0/packaging/hd2u.spec
hd2u-1.0.0/CREDITS
hd2u-1.0.0/configure.in
hd2u-1.0.0/README
hd2u-1.0.0/COPYING
hd2u-1.0.0/AUTHORS
hd2u-1.0.0/install-sh
hd2u-1.0.0/INSTALL
hd2u-1.0.0/Makefile.in
hd2u-1.0.0/TODO
hd2u-1.0.0/ChangeLog
[iyunv@nagios_client02 tools]# cd hd2u-1.0.0
[iyunv@nagios_client02 hd2u-1.0.0]# ./configure
Configuring hd2u 1.0.0
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 ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for getopt_long in -lpopt... no
configure: error: *** libpopt not found
配置报错。
1
2
[iyunv@nagios_client02 hd2u-1.0.0]# make
make: *** No targets specified and no makefile found. Stop.
file /usr/share/locale/cs/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/da/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/de/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/es/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/fr/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/ga/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/gl/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/hu/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/is/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/it/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/ja/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/ko/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/nb/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/nl/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/pl/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/pt/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/ro/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/ru/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/sk/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/sl/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/sv/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/tr/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/uk/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/vi/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/wa/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
file /usr/share/locale/zh_CN/LC_MESSAGES/popt.mo from install of popt-1.14-2rt.x86_64 conflicts with file from package popt-1.13-7.el6.i686
[iyunv@nagios_client02 tools]# cd hd2u-1.0.0
[iyunv@nagios_client02 hd2u-1.0.0]# ./configure
Configuring hd2u 1.0.0
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 ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for getopt_long in -lpopt... no
configure: error: *** libpopt not found
[iyunv@nagios_client02 hd2u-1.0.0]# make
make: *** No targets specified and no makefile found. Stop.
[iyunv@nagios_client02 hd2u-1.0.0]# make install
make: *** No rule to make target `install'. Stop.
[iyunv@nagios_client02 hd2u-1.0.0]# cd ..