1

最近我购买了一个新站点 www.infibox.in 实际上我正在尝试从我的 cpanel 安装 perl 模块,但我收到以下错误

Testing connection speed...(using fast method)....Done
Ping:0 (ticks) Testing connection speed to perlmirror.indialinks.com using pureperl...(cached .. 58600.00 bytes/s)...Done
Ping:5 (ticks) Testing connection speed to cpan.mirror.choon.net using pureperl...(cached .. 9233.33 bytes/s)...Done
Ping:7 (ticks) Testing connection speed to cpan.biz.net.id using pureperl...(cached .. 7587.50 bytes/s)...Done
Ping:6 (ticks) Testing connection speed to cpan.cermin.lipi.go.id using pureperl...(cached .. 7387.50 bytes/s)...Done
Ping:8 (ticks) Testing connection speed to ftp.cuhk.edu.hk using pureperl...(cached .. 6377.78 bytes/s)...Done
Five usable mirrors located
Ping:23 (ticks) Testing connection speed to 208.74.125.42 using pureperl...(using cached speed)...Done
Ping:21 (ticks) Testing connection speed to 66.23.237.210 using pureperl...(using cached speed)...Done
Ping:24 (ticks) Testing connection speed to 69.72.212.10 using pureperl...(using cached speed)...Done
Three usable fallback mirrors located
Mirror Check passed for perlmirror.indialinks.com (/index.html)
Checking C compiler....Could not locate an executable "cc" binary....Done
 ** Unrecoverable Error **
The C compiler is not functional and auto repair failed.
Perl module installs require a working C compiler.
Please repair the C compiler and try again.
 **************************

但我尝试将模块上传到我的目录 /home/guolaujk/perl/usr/local

但我无法执行系统模块并出现以下错误

无法在 @INC 中找到模块 Crypt::DH::GMP 的可加载对象(@INC 包含:/home/guolaujk/perl/usr/local /usr/local/lib/perl5/5.8.8/i686-linux / usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/ perl5/site_perl .) 在 /home/guolaujk/perl/usr/local/Net/OpenID/Common.pm 第 39 行。

但实际上我将此模块包含在 /home/guolaujk/perl/usr/local 目录中。

请提供任何解决方案..

4

1 回答 1

0

一些 perl 模块具有需要编译的高级功能。

对我来说,这看起来像问题 -

检查 C 编译器....找不到可执行的“cc”二进制文件....完成

c 编译器没有安装,或者它的位置不在路径中,或者它仅限于特权用户

请参阅 CPanel 编译器访问指南 -

http://docs.cpanel.net/twiki/bin/view/11_30/WHMDocs/DisableCompilers

于 2013-05-26T16:57:48.137 回答