zoukankan      html  css  js  c++  java
  • 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 拷贝进去。解决。

    http://www.cnblogs.com/skynext/
  • 相关阅读:
    一个重构眼中的“项目管理”
    vim显示行号、语法高亮、自动缩进的设置
    python中的try/except/else/finally语句--自我小结
    python 列表函数
    python异常处理
    gerrit使用总结
    数据访问对象模式
    组合实体模式
    业务代表模式
    MVC模式
  • 原文地址:https://www.cnblogs.com/skynext/p/4466262.html
Copyright © 2011-2022 走看看