【问题标题】:Why won't Eclipse recognize $PERL5LIB?为什么 Eclipse 不能识别 $PERL5LIB?
【发布时间】:2010-09-18 14:59:46
【问题描述】:

我关注了BioPerl manual:我在~/src 下克隆了bioperl-live 的新副本,然后将以下行添加到我的~/.profile(我使用的是Ubuntu):

export PERL5LIB="$HOME/src/bioperl-live:$PERL5LIB"

但是,Eclipse 无法识别 BioPerl 模块,例如:

Can't locate Bio/Tools/GFF.pm in @INC (@INC contains: 
 /home/dave/workspace/.metadata/.plugins/org.epic.debug 
 /home/dave/workspace_workspace/mars/scripts/lib 
 /etc/perl 
 /usr/local/lib/perl/5.10.1 
 /usr/local/share/perl/5.10.1 
 /usr/lib/perl5 
 /usr/share/perl5 
 /usr/lib/perl/5.10 
 /usr/share/perl/5.10 
 /usr/local/lib/site_perl )

我错过了什么?

【问题讨论】:

    标签: eclipse perl bioperl


    【解决方案1】:

    ~/.profile 会在您登录时读取。要在下次登录前使用该设置,请启动终端,运行 export PERL5LIB=… 行,然后从该终端启动 Eclipse 或任何其他使用 BioPerl 的程序。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-06-05
      • 2018-03-08
      • 2011-06-03
      • 2014-10-28
      • 2011-07-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多