linux系统怎么安装pennCNV软件
发表于:2023-03-24 作者:安全数据网编辑
编辑最后更新 2023年03月24日,本篇内容介绍了"linux系统怎么安装pennCNV软件"的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成
本篇内容介绍了"linux系统怎么安装pennCNV软件"的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!
pennCNV主要用于芯片数据分析CNV软件
PennCNV安装
wget https://github.com/WGLab/PennCNV/archive/v1.0.4.tar.gztar xvfz v1.0.4.tar.gzcd kext/make
但是会报错:
gcc `perl -MExtUtils::Embed -e ccopts` -fPIC -c -o khmm_wrap.o khmm_wrap.ckhmm_wrap.c: In function 'SWIG_AsCharPtrAndSize':khmm_wrap.c:1576: error: 'bool' undeclared (first use in this function)khmm_wrap.c:1576: error: (Each undeclared identifier is reported only oncekhmm_wrap.c:1576: error: for each function it appears in.)khmm_wrap.c:1576: error: expected ':' before numeric constantkhmm_wrap.c: In function '_wrap_estHMMFromFile_CHMM':khmm_wrap.c:1875: error: 'bool' undeclared (first use in this function)khmm_wrap.c:1875: error: expected ':' before numeric constantkhmm_wrap.c:1875: error: expected ':' before numeric constantkhmm_wrap.c:1890: error: expected ':' before numeric constantkhmm_wrap.c:1890: error: expected ':' before numeric constantkhmm_wrap.c:1905: error: expected ':' before numeric constantkhmm_wrap.c:1905: error: expected ':' before numeric constantkhmm_wrap.c: In function '_wrap_testVit_CHMM':khmm_wrap.c:2005: error: 'bool' undeclared (first use in this function)khmm_wrap.c:2005: error: expected ':' before numeric constantkhmm_wrap.c:2005: error: expected ':' before numeric constantkhmm_wrap.c: In function '_wrap_GetStateProb_CHMM':khmm_wrap.c:2137: error: 'bool' undeclared (first use in this function)khmm_wrap.c:2137: error: expected ':' before numeric constantkhmm_wrap.c:2137: error: expected ':' before numeric constantkhmm_wrap.c: In function '_wrap_testVitTrio_CHMM':khmm_wrap.c:2325: error: 'bool' undeclared (first use in this function)khmm_wrap.c:2325: error: expected ':' before numeric constantkhmm_wrap.c:2325: error: expected ':' before numeric constantkhmm_wrap.c: In function '_wrap_reg_linear':khmm_wrap.c:2443: error: 'bool' undeclared (first use in this function)khmm_wrap.c:2443: error: expected ':' before numeric constantkhmm_wrap.c:2443: error: expected ':' before numeric constantkhmm_wrap.c:2458: error: expected ':' before numeric constantkhmm_wrap.c:2458: error: expected ':' before numeric constantkhmm_wrap.c:2473: error: expected ':' before numeric constantkhmm_wrap.c:2473: error: expected ':' before numeric constantkhmm_wrap.c:2488: error: expected ':' before numeric constantkhmm_wrap.c:2488: error: expected ':' before numeric constantmake: *** [khmm_wrap.o] Error 1
解决办法:
sed -i -e '/#undef bool/d' khmm_wrap.c
然后:
make cleanmake
还是报错:
gcc `perl -MExtUtils::Embed -e ccopts` -fPIC -c -o khmm_wrap.o khmm_wrap.cgcc `perl -MExtUtils::Embed -e ccopts` -fPIC -c -o khmm.o khmm.cgcc `perl -MExtUtils::Embed -e ccopts` -fPIC -c -o kc.o kc.cgcc `perl -MExtUtils::Embed -e ccopts` -fPIC -c -o khmmDev.o khmmDev.cgcc -shared -o khmm.so khmm_wrap.o khmm.o kc.o khmmDev.o `perl -MExtUtils::Embed -e ldopts`/usr/bin/ld: /share/work/biosoft/perl/perl-5.22.1/lib/5.22.1/x86_64-linux-thread-multi/CORE/libperl.a(op.o): relocation R_X86_64_32 against `PL_op_mutex' can not be used when making a shared object; recompile with -fPIC/share/work/biosoft/perl/perl-5.22.1/lib/5.22.1/x86_64-linux-thread-multi/CORE/libperl.a: could not read symbols: Bad valuecollect2: ld returned 1 exit statusmake: *** [khmm.so] Error 1
本人谷歌和查找说明文档,说GCC必须是4版本,而且perl版本要低于5.14.2:,于是安装低版本perl:
wget https://www.cpan.org/src/5.0/perl-5.14.2.tar.gztar xvfz perl-5.14.2.tar.gzcd perl-5.14.2./Configure -des -Dprefix=/share/work/perl/perl-v5.14.2 -Accflags='-fPIC'makemake install
然后再把这个版本的perl添加到PATH的开头就可以,顺利make 安装成功了。
"linux系统怎么安装pennCNV软件"的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注网站,小编将为大家输出更多高质量的实用文章!
c语言网络技术和编程语言总结
c语言对应的三级考试网络技术
网站服务器后台如何加防护密码
c语言软件开发步骤
c语言中网络技术知识点
服务器对权限提升的防护措施
怎么在阿里云租服务器
黑苹果能做web服务器吗
c语言和网络技术哪个好考
云服务器2核4G是什么性能
数据库没有卸载完
大话西游2测试服务器口袋
rocksdb 封装开源数据库
数据库设计图书馆借书期限
数据库系统连接电脑
上海技术网络技术管理方法
淘宝数据库架构图
软件开发培训是多少
网警网络安全工作整体情况
数据库公司市盈率
数据库建立spj
清远专业软件开发
数据库课程思政案例库立项书
河北交友软件开发价格表
房产科技和互联网有关系吗
郑州intel服务器
加速谷歌用哪个服务器好
电子商务数据库技术范式
全市网络安全法宣传方案
int数据库
时序数据库的原理
湖北质量软件开发
服务器内存管理系统
服务器电源多少瓦
网络安全检查月
网络安全钢笔字
新疆自治区网络安全管理
软件开发的活动过程
网络安全法准则
服务器远程下载文件