开发者
资源
鲲鹏环境麒麟V10安装生信软件acedb
鲲鹏环境麒麟V10安装生信软件acedb
发表于2023/09/19
3.2k15

一、软件介绍:

acedb是一个基因组数据库系统,它提供了自定义数据库内核,设计了非标准数据模型,特别用来处理科学数据,尤其是基因组数据,目前在基因组项目管理领域有广泛应用。

开发语言:C/C++

源码地址:http://deb.debian.org/debian/pool/main/a/acedb/acedb_4.9.39+dfsg.02.orig.tar.xz

二、安装步骤:

1、依赖安装:

yum install wget tar gcc gcc-c++ libX11-devel libXmu-devel flex-devel flex gtk2-devel rpcgen tcsh glib2-devel readline-devel byacc

2、acedb安装:

cd /path/to/acedb

wget http://deb.debian.org/debian/pool/main/a/acedb/acedb_4.9.39+dfsg.02.orig.tar.xz

tar xf acedb_4.9.39+dfsg.02.orig.tar.xz

export ACEDB_MACHINE=LINUX_64

sed -i "s/GSettings/GSettings1/g" ./w9/blxview.c

sed -i "31s/$/ -lX11/" ./wmake/LINUX_64_DEF

make

三、软件验证:

cd /path/to/acedb/bin.LINUX_64

./acediff --help

cke_274522.png

./acediffsorted --help

cke_276467.png

./belvu

cke_281453.png

四、故障排查:

1、freeout.c:37:10: fatal error: glib.h: No such file or directory

cke_26122.png

解决方案:yum install tcsh gtk2-devel

2、acein.c:48:10: fatal error: readline/readline.h: No such file or directory 

cke_32440.png

解决方案:yum install readline-devel

3、make[1]: rpcgen: Command not found

cke_45151.png

解决方案:yum install rpcgen

4、make[1]: flex: Command not found

cke_59553.png

解决方案:yum install flex flex-devel

5、make[1]: yacc: Command not found

cke_79547.png

解决方案:yum install byacc

6、blxview.c:3450:13: error: ‘GSettings’ redeclared as different kind of symbol

cke_97281.png

blxview.c中的GSettings与系统/usr/include/glib-2.0/gio/giotypes.h的GSettings重复,修改blxview.c中的GSettings的命名

解决方案:sed -i "s/GSettings/GSettings1/g" ./w9/blxview.c

7、/usr/bin/ld: ./libgex.a(graphgdkremote.o): undefined reference to symbol 'XFree' 

/usr/bin/ld: /usr/lib64/libX11.so.6: error adding symbols: DSO missing from command line 

cke_136215.png

经定位分析,符号XFree在libX11的动态库中

解决方案:yum install libX11-devel,同时在配置文件中链接上X11动态库

sed -i "31s/$/ -lX11/" ./wmake/LINUX_64_DEF

8、xremotemain.c:51:10: fatal error: X11/Xmu/WinUtil.h: No such file or directory

cke_242868.png

解决方案:yum install libXmu-devel

收藏举报
Level 1
0
帖子
0
粉丝
0
获赞