#查看依赖项是否安装 cd circos* ./bin/circos -module #####输出结果 ok 1.26 Carp missing Clone missing Config::General ok 3.40 Cwd ok 2.145 Data::Dumper ok 2.52 Digest::MD5
[推荐]使用cpanm安装模块
手动安装local::lib模块
这里我将所有的perl模块都装到~/perl_lib自定义目录
1 2 3 4 5
wget https://cpan.metacpan.org/authors/id/H/HA/HAARG/local-lib-2.000024.tar.gz tar xf local-lib-2.000024.tar.gz cdlocal-lib-2.000024 perl Makefile.PL --bootstrap=~/perl_lib make test && make install
wget https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz tar xf App-cpanminus-1.7043.tar.gz cd App-cpanminus-1.7043 perl Makefile.PL make test && make install
#解压源文件 tar -xvzf Clone-0.43.tar.gz #编译,指定build目标路径 perl Makefile.PL `cat ../perl_local_config ` make make test make install #将路径加入环境变量 export PERL5LIB=/public/home/zpliu/perl_lib/lib/:/public/home/zpliu/perl_lib/lib/Module/lib64/perl5/:/public/home/zpliu/perl_lib/lib/Module/share/perl5/