【问题标题】:ERROR: compilation failed for package ‘seqminer’错误:包“seqminer”的编译失败
【发布时间】:2017-03-14 02:03:39
【问题描述】:

我在安装“seqminer”时遇到问题 如果有人认识到这个问题或经历过这个问题,请帮助我。

  • gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
  • R 版本 3.2.5 (2016-04-14) -- “非常非常安全的菜肴”
R_CPP_interface.cpp: In function ‘SEXPREC* getListElement(SEXP, const char*)’:
R_CPP_interface.cpp:37:8: error: ‘strcmp’ is not a member of ‘std’
R_CPP_interface.cpp:37:8: note: suggested alternative:
/usr/include/string.h:143:12: note:   ‘strcmp’
make: *** [R_CPP_interface.o] error 1
ERROR: compilation failed for package ‘seqminer’
* removing ‘/usr/local/lib/R/site-library/seqminer’
* restoring previous ‘/usr/local/lib/R/site-library/seqminer’

【问题讨论】:

    标签: r bioinformatics


    【解决方案1】:

    错误似乎与这个问题有关:

    strcmp et. al. not a member of std?

    根据那里的答案,可能的解决方案可能包括:

    • 安装和使用早期版本的 gcc (
    • 下载源,编辑R_CPP_interface.cpp插入#include <cstring>,然后从本地源安装

    我也会在project Github repo 提出问题。

    【讨论】:

      猜你喜欢
      • 2020-02-02
      • 1970-01-01
      • 2014-06-01
      • 2020-10-11
      • 1970-01-01
      • 2013-12-01
      • 1970-01-01
      • 2016-05-24
      • 2015-09-13
      相关资源
      最近更新 更多