Linux 底层整改 c perl,无法在Linux上安装Perl模块

我试图安装perl模块IO :: Tty,IO :: Pty,Net :: SSH2,Net :: SSH :: Perl ....但我没有安装一个单一的module.i试图调试,但无法完全修复它。我发现编译器存在一些问题。由于下面的命令给出了指示错误的输出。无法在Linux上安装Perl模块

which gcc

output

/usr/bin/which: no gcc in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

whereis gcc

output

gcc:

,当我试图安装装配模块后检查错误日志,我得到下面提到的错误:

[[email protected] ~]# cat /root/.cpanm/work/1439895011.19383/build.log

ERROR: cannot run the configured compiler 'gcc'

(see conf/compilerok.log). Suggestions:

1) The compiler 'gcc' is not in your PATH. Add it

to the PATH and try again. OR

2) The compiler isn't installed on your system. Install it. OR

3) You only have a different compiler installed (e.g. 'gcc').

Either fix the compiler config in the perl Config.pm

or install a perl that was built with the right compiler

(you could build perl yourself with the available compiler).

请帮我解决这个问题,因为我无法执行的Perl脚本,对上述模块有依赖性。

+0

哪个Linux发行版是这样的?既然你使用'yum',我就假设Fedora或者CentOS/RHEL。 –

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值