请问如何更改/usr/share/man/man3的安装目录

Python/PHP/Perl 开发与设计
回复
weasteam
帖子: 51
注册时间: 2007-07-14 14:43
送出感谢: 0
接收感谢: 0

请问如何更改/usr/share/man/man3的安装目录

#1

帖子 weasteam » 2008-12-31 17:35

我非root安装CPAN,修改.cpan的MyConfig.pm为这样的安装目录:

代码: 全选

PREFIX=/home/wu_yg \
INSTALLPRIVLIB=/home/wu_yg/lib/perl5/5.8.5 \
INSTALLSCRIPT=/home/wu_yg/bin \
INSTALLSITELIB=/home/wu_yg/lib/perl5/site_perl/5.8.5 \
INSTALLBIN=/home/wu_yg/bin \
INSTALLMAN1DIR=/home/wu_yg/lib/perl5/man \
INSTALLMAN3DIR=/home/wu_yg/lib/perl5/man3 \
但安装的时候提示

代码: 全选

ERROR: Can't create '/usr/share/man/man3'
Do not have write permissions on '/usr/share/man/man3'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
我想是我没有设置share的安装目录,我是新手希望大家教我一下,,我试过用INSTALLSHAREDIR=/home/wu_yg/share,,,但还是不行,,不知道如何才能正确修改/usr/share/man/man3的安装目录?
回复

回到 “Python/Php/Perl”