编译安装RRDtool时报错:Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/l_perl /usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 1.

简介:

环境:
centos 6.0 64位
rrdtool 1.4.5
问题:

Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/l_perl /usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
make[3]: *** [perl-piped/Makefile] Error 2
make[3]: Leaving directory `/root/rrdtool/rrdtool-1.4.5/bindings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/rrdtool/rrdtool-1.4.5/bindings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rrdtool/rrdtool-1.4.5'
make: *** [all] Error 2

解决办法:

yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker -y
目录
相关文章
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available
|
3月前
|
Python
python 升级后 yum 无法使用 File "/usr/bin/yum", line 30 except KeyboardInterrupt, e: `/usr/libexec/urlgrabber-ext-down`
python 升级后 yum 无法使用 File "/usr/bin/yum", line 30 except KeyboardInterrupt, e: `/usr/libexec/urlgrabber-ext-down`
34 0
|
5月前
|
Ubuntu PHP
ubuntu php libzip安装 ./configure报错 checking for libzip... not found configure
ubuntu php libzip安装 ./configure报错 checking for libzip... not found configure
96 1
|
5月前
|
PHP
php 使用phpize报错Cannot find config.m4. Make sure that you run ‘/usr/bin/phpize‘ in the top l
php 使用phpize报错Cannot find config.m4. Make sure that you run ‘/usr/bin/phpize‘ in the top l
229 1
|
6月前
|
Python
yum 安装报错 File "/usr/bin/yum", line 30
yum 安装报错 File "/usr/bin/yum", line 30
151 0
|
11月前
|
C语言
gcc静态编译/usr/bin/ld: cannot find -lc
gcc静态编译/usr/bin/ld: cannot find -lc
|
消息中间件 PHP
PHP编译安装amqp扩展报错解决:/usr/bin/ld: cannot find -lrabbitmq
PHP编译安装amqp扩展报错解决:/usr/bin/ld: cannot find -lrabbitmq
116 0
PHP编译安装amqp扩展报错解决:/usr/bin/ld: cannot find -lrabbitmq
/usr/bin/xsltproc: not found
/usr/bin/xsltproc: not found
127 0
|
关系型数据库 MySQL PHP
configure: error: Cannot find libmysqlclient under /usr/local/mysql.
<p><br></p> <p><span style="color:#3333ff">执行下面语句:</span></p> <p>./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql  --with-mysqli=/usr/
3438 0