酷!學園

技術討論區 => Linux 討論版 => 主題作者是: rickeyno1 於 2012-04-13 20:37

主題: smokeping 安裝
作者: rickeyno12012-04-13 20:37
可以請教各位

我在安裝smokeping 遇到下列問題

當我把必要的事前軟體安裝完成後 rrdtool CGI-Speedy ... etc.

要進入smokeping 資料夾安裝打下 ./configure --prefix=/usr/local/smokeping 出現

......
checking checking for gnu make availablility... /usr/bin/gmake is GNU make
checking checking for perl module 'RRDs'... Ok
checking checking for perl module 'FCGI'... Ok
checking checking for perl module 'CGI'... Ok
checking checking for perl module 'CGI::Fast'... Ok
checking checking for perl module 'Config::Grammar'... Failed
checking checking for perl module 'Digest::HMAC_MD5'... Ok
checking checking for perl module 'LWP'... Ok

** Aborting Configure ******************************

   If you know where perl can find the missing modules, set
   the PERL5LIB environment variable accordingly.

   FIRST though, make sure that 'perl' starts the perl
   binary you want to use for SmokePing.

   Now you can install local copies of the missing modules
   by running

     ./setup/build-perl-modules.sh /usr/local/smokeping/thirdparty

   The RRDs perl module is part of RRDtool. Either use the rrdtool
   package provided by your OS or install rrdtool from source.
   If you install from source, the RRDs module is located
   PREFIX/lib/perl

執行完 ./setup/build-perl-modules.sh /usr/local/smokeping/thirdparty

出現

Building in /usr/local/smokeping/thirdparty
Can't locate Encode/Locale.pm in @INC (@INC contains: CODE(0x9e8bb0) /usr/local/smokeping/thirdparty/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/share/perl5/LWP/UserAgent.pm line 976.

此錯誤訊息,是否有哪位好心大大可以解惑 google一整天了 煩請各位了

主機 Centos 6.2 x64 :-[ :-[ :-[
主題: Re: smokeping 安裝
作者: darkranger2012-04-14 16:24
這是關鍵,google 一下吧
checking checking for perl module 'Config::Grammar'... Failed