bam2wig.c:12:10: fatal error: bgzf.h: No such file or directory

 

001、make 编译报错如下:bam2wig.c:12:10: fatal error: bgzf.h: No such file or directory

 

002、查找该文件

(base) [root@pc1 Augustus-3.5.0]# find / -name "bgzf.h"        ## 查找该文件,系统中不存在该文件
(base) [root@pc1 Augustus-3.5.0]#

 

003、在高算平台查找该文件

(base) [b20223040323@admin1 ~]$ find ~ -name "bgzf.h"       ## 其他计算机查找该文件,是否查询到看运气了; 推测可能缺少的组件是箭头所指

 

004、在报错平台查找是否存在该组件‘

(base) [root@pc1 Augustus-3.5.0]# yum list | grep "htslib"          ## 存在
htslib.x86_64                              1.9-5.el7              epel
htslib-devel.x86_64                        1.9-5.el7              epel
htslib-tools.x86_64                        1.9-5.el7              epel

 

006、安装该组件

(base) [root@pc1 Augustus-3.5.0]# yum install htslib* -y              ## 这个速度有点。。。

 

 

007、编译测试

(base) [root@pc1 Augustus-3.5.0]# make    ## 此前的报错消失

 

 

 。

 

 

 

 

 

官网的解决方案在这里:

01、https://fossies.org/linux/Augustus/docs/INSTALL.md

 

 

posted @ 2023-11-11 22:17  小鲨鱼2018  阅读(31)  评论(0编辑  收藏  举报