davee_x

导航

scst使用的一些问题

1,编译问题

问题描述:

[root@localhost scstadmin]# make
cd scstadmin && make all
make[1]: Entering directory `/root/workspace/scst/scstadmin/scstadmin.sysfs'
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at Makefile.PL line 6.
BEGIN failed--compilation aborted at Makefile.PL line 6.
make[1]: *** [perl-module] Error 2
make[1]: Leaving directory `/root/workspace/scst/scstadmin/scstadmin.sysfs'
make: *** [all] Error 2

解决方法:

安装相关软件包:perl-ExtUtils-MakeMaker

 

 

2,服务启动问题

错误描述:

[root@localhost ~]# service scst restart
Restarting SCSTCan't locate SCST/SCST.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/sbin/scstadmin line 241.
BEGIN failed--compilation aborted at /usr/local/sbin/scstadmin line 241.
                                                           [FAILED]

 

原因,scst在那些路径中找不到SCST or SCST.pm

 

解决,找一个SCST.pm 拷贝进去。解决。

posted on 2015-04-29 16:07  Wigde.Xiao  阅读(969)  评论(0编辑  收藏  举报