bedtools安装报错cc1plus: error: unrecognized command line option "-std=c++11"

bedtools 安装报错

最新版本bedtools 下载地址:https://github.com/arq5x/bedtools2/releases

安装方法:https://bedtools.readthedocs.io/en/latest/content/installation.html

$ wget https://github.com/arq5x/bedtools2/releases/download/v2.25.0/bedtools-2.25.0.tar.gz
$ tar -zxvf bedtools-2.25.0.tar.gz
$ cd bedtools2
$ make


源码安装,直接make,会报错如下:我的gcc版本:gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC),

CURRENT_VERSION  =
Updating version file.
 * Creating BamTools API
- Building in src/utils/FileRecordTools
  * compiling FileRecordMgr.cpp
cc1plus: error: unrecognized command line option "-std=c++11"
make[1]: *** [../../../obj//FileRecordMgr.o] Error 1
make: *** [src/utils/FileRecordTools] Error 2
这是因为gcc版本太低,提高版本,make顺利通过:

export PATH=/share/work/biosoft/gcc/gcc-v4.8.0/bin/:$PATH
  • 发表于 2018-09-29 10:56
  • 阅读 ( 5738 )
  • 分类:软件工具

0 条评论

请先 登录 后评论
omicsgene
omicsgene

生物信息

658 篇文章

作家榜 »

  1. omicsgene 658 文章
  2. 安生水 328 文章
  3. Daitoue 167 文章
  4. 生物女学霸 120 文章
  5. 红橙子 78 文章
  6. CORNERSTONE 72 文章
  7. xun 68 文章
  8. rzx 67 文章