linux系统怎么安装pennCNV软件
发表于:2026-11-01 作者:千家信息网编辑
千家信息网最后更新 2026年11月01日,本篇内容介绍了"linux系统怎么安装pennCNV软件"的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成
千家信息网最后更新 2026年11月01日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软件"的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注网站,小编将为大家输出更多高质量的实用文章!
版本
软件
系统
内容
更多
知识
实用
成功
学有所成
接下来
办法
困境
实际
开头
情况
数据
数据分析
文档
文章
案例
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
互联网科技有限公司经营范围
深圳科技互联网
中国 科技 互联网
中国互联网科技发展
小马过河互联网科技
互联网科技大会
互联网金融和金融科技
互联网金融科技委员会
剑昆互联网络科技有限公司临桂
宁夏众和广鑫互联网科技有限公司
搜狐科技互联网
米聚互联网科技南京有限公司排面
徐州市互联网科技有限公司
银行科技岗属于互联网吗
黑云互联网科技有限公司
宇信科技在杭州互联网排第几
数字互联网科技有限公司
10位科技互联网大佬
优雇互联网科技有限公司
小牛互联网科技有限公司地址
科技互联网公司装修
小马过河互联网科技
乌鲁木齐新华智原互联网科技学校
阿里互联网科技企业
爱医互联网络科技
下一代互联网重大应用科技园
唐山双旺合互联网科技产业园
互联网科技品牌
北京瑞云互联网科技有限公司
前海云享互联网科技