加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

Perl用CPAN安装模块时错误

发布时间:2020-12-15 23:41:23 所属栏目:大数据 来源:网络整理
导读:提示不是root权限: 需要执行: o conf make_install_make_command 'sudo make' 来自动切换到root,但是还是会需要输入密码!!! 输出部分信息如下: make: *** [pure_site_install] Error 13 ? TIMB/DBI-1.634.tar.gz ? /usr/bin/make install? -- NOT OK

提示不是root权限:

需要执行:o conf make_install_make_command 'sudo make'

来自动切换到root,但是还是会需要输入密码!!!

输出部分信息如下:

make: *** [pure_site_install] Error 13

? TIMB/DBI-1.634.tar.gz

? /usr/bin/make install? -- NOT OK

----

? You may have to su to root toinstall the package

? (Or you may want to run somethinglike

??? o conf make_install_make_command'sudo make'

? to raise your permissions.Failedduring this command:

?TIMB/DBI-1.634.tar.gz??????????????????????? : install NO

?

cpan[2]> o confmake_install_make_command 'sudo make'

??? make_install_make_command [sudomake]

Please use 'o conf commit' to make the configpermanent!

cpan[2]> o conf commit

commit: wrote '/Users/it-0003005/.cpan/CPAN/MyConfig.pm'

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读