码迷,mamicode.com
首页 > 其他好文 > 详细

clustalo安装

时间:2019-01-17 13:58:45      阅读:634      评论:0      收藏:0      [点我收藏+]

标签:2.4   pad   install   configure   否则   export   mon   could not   prefix   

需要准备下载压缩包:

 argtable2_12.orig.tar   (https://launchpad.net/ubuntu/+source/argtable2/13-1) 

 clustalo_1.2.4.orig.tar   (https://launchpad.net/ubuntu/+source/clustalo/1.2.4-2或者http://www.clustal.org/omega/下载)

安装clustalo之前,先安装argtable2-12,否则在安装clustalo(./configure)时会报下面的错误:

configure: error: Could not find argtable2.h. Try $ ./configure CFLAGS=‘-Iyour-argtable2-include-path
安装argtable2:
tar -zxvf argtable2_12.orig.tar # 解压
cd argtable2-12/
./configure --prefix=/user/path/ # 配置
make check # 检测
make && make install # 编译安装
环境变量设置: vim ~/.bashrc #进入启动配置文件
export PATH=/public/home/wangh/Programs/argtable2-12:$PATH
export PATH=/public/home/wangh/Programs/argtable2-12/bin:$PATH
export PATH=/public/home/wangh/Programs/argtable2-12/include:$PATH
export LD_LIBRARY_PATH=/public/home/wangh/Programs/argtable2-12/bin:$LD_LIBRARY_PATH
source ~/.bashrc # 更新启动配置文件
安装clustalo:
tar -zxvf clustalo_1.2.4.orig.tar # 解压
cd clustal-1.2.4
./configure --prefix=/user/path/   # 配置
 make check          # 检测
 make && make install   # 编译安装
环境变量设置: vim ~/.bashrc  #进入启动配置文件
                export PATH=/public/home/wangh/Programs/clustal-1.2.4:$PATH
               export PATH=/public/home/wangh/Programs/clustal-1.2.4/bin:$PATH
               export PATH=/public/home/wangh/Programs/clustal-1.2.4/include:$PATH
              source ~/.bashrc # 更新启动配置文件
可能还会在配置(./configure)出错:configure: error: Could not find argtable2.h. Try $ ./configure CFLAGS=‘-Iyour-argtable2-include-path
解决方法: ./configure CFLAGS=‘-I/public/home/wangh/Programs/argtable2-12/include‘ LDFLAGS=‘-L/public/home/wangh/Programs/argtable2-12/lib‘ --prefix=/public/home/wangh/Programs/clustal-omega-1.2.4
在进行编译安装 和环境变量的设置

clustalo安装

标签:2.4   pad   install   configure   否则   export   mon   could not   prefix   

原文地址:https://www.cnblogs.com/wh-ff-ly520/p/10281711.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!