安装flowCore软件包R时出错

安装flowCore软件包R时出错,r,bioconductor,R,Bioconductor,我正在尝试在R3.3.2(Ubuntu14.04 LTS)中安装flowCore软件包(Bioconductor 3.4)。但我得到以下错误。有人能提出一些解决方案吗?谢谢 boost_regex/regex.cpp:195:64: error: use of deleted function ‘std::atomic<_Tp*>::atomic(const std::atomic<_Tp*>&) [with _Tp = void]’ mem_block_cac

我正在尝试在R3.3.2(Ubuntu14.04 LTS)中安装flowCore软件包(Bioconductor 3.4)。但我得到以下错误。有人能提出一些解决方案吗?谢谢

boost_regex/regex.cpp:195:64: error: use of deleted function ‘std::atomic<_Tp*>::atomic(const std::atomic<_Tp*>&) [with _Tp = void]’
 mem_block_cache block_cache = { 0, 0, BOOST_STATIC_MUTEX_INIT, };
                                                                ^
In file included from /home/nitin/R/x86_64-pc-linux-gnu-library/3.3/BH/include/boost/regex/v4/mem_block_cache.hpp:31:0,
                 from boost_regex/regex.cpp:44:
/usr/include/c++/4.8/atomic:298:7: error: declared here
       atomic(const atomic&) = delete;
       ^
boost_regex/regex.cpp:195:64: error: use of deleted function ‘std::atomic<_Tp*>::atomic(const std::atomic<_Tp*>&) [with _Tp = void]’
 mem_block_cache block_cache = { 0, 0, BOOST_STATIC_MUTEX_INIT, };
                                                                ^
In file included from /home/nitin/R/x86_64-pc-linux-gnu-library/3.3/BH/include/boost/regex/v4/mem_block_cache.hpp:31:0,
                 from boost_regex/regex.cpp:44:
/usr/include/c++/4.8/atomic:298:7: error: declared here
       atomic(const atomic&) = delete;
       ^
boost_regex/regex.cpp:195:64: error: could not convert ‘{{{0, 0, 0, 0, 0, 0, 0, {0, 0}}}}’ from ‘<brace-enclosed initializer list>’ to ‘std::atomic<void*>’
 mem_block_cache block_cache = { 0, 0, BOOST_STATIC_MUTEX_INIT, };
                                                                ^
make: *** [boost_regex/regex.o] Error 1
ERROR: compilation failed for package ‘flowCore’
* removing ‘/home/nitin/R/x86_64-pc-linux-gnu-library/3.3/flowCore’
ERROR: dependency ‘flowCore’ is not available for package ‘flowAI’
* removing ‘/home/nitin/R/x86_64-pc-linux-gnu-library/3.3/flowAI’

The downloaded source packages are in
    ‘/tmp/RtmpTbmU8h/downloaded_packages’
installation path not writeable, unable to update packages: mgcv, survival
Warning messages:
1: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘flowCore’ had non-zero exit status
2: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘flowAI’ had non-zero exit status
boost_regex/regex.cpp:195:64:错误:使用已删除的函数'std::atomic::atomic(const std::atomic&)[with _Tp=void]'
mem_block_cache block_cache={0,0,BOOST_STATIC_MUTEX_INIT,};
^
在/home/nitin/R/x86_64-pc-linux-gnu-library/3.3/BH/include/boost/regex/v4/mem_block_cache.hpp:31:0包含的文件中,
从boost_regex/regex.cpp:44:
/usr/include/c++/4.8/atomic:298:7:错误:在此处声明
原子(常量原子&)=删除;
^
boost_regex/regex.cpp:195:64:错误:使用已删除的函数'std::atomic::atomic(const std::atomic&)[with _Tp=void]'
mem_block_cache block_cache={0,0,BOOST_STATIC_MUTEX_INIT,};
^
在/home/nitin/R/x86_64-pc-linux-gnu-library/3.3/BH/include/boost/regex/v4/mem_block_cache.hpp:31:0包含的文件中,
从boost_regex/regex.cpp:44:
/usr/include/c++/4.8/atomic:298:7:错误:在此处声明
原子(常量原子&)=删除;
^
boost_regex/regex.cpp:195:64:错误:无法将“{{0,0,0,0,0,0,{0,0}}”从“”转换为“std::atomic”
mem_block_cache block_cache={0,0,BOOST_STATIC_MUTEX_INIT,};
^
make:**[boost_regex/regex.o]错误1
错误:包“flowCore”的编译失败
*删除“/home/nitin/R/x86_64-pc-linux-gnu-library/3.3/flowCore”
错误:依赖项“flowCore”不可用于包“flowAI”
*删除“/home/nitin/R/x86_64-pc-linux-gnu-library/3.3/flowAI”
下载的源程序包位于中
“/tmp/RtmpTbmU8h/下载的软件包”
安装路径不可写,无法更新包:mgcv,survival
警告信息:
1:在install.packages(pkgs=do,lib=lib,…)中:
包“flowCore”的安装具有非零退出状态
2:在install.packages(pkgs=do,lib=lib,…)中:
包“flowAI”的安装具有非零退出状态
我发现我可以从github成功安装,类似的问题(MacOSX除外),如下所示:

library(devtools)
install_github("RGLab/flowCore",ref='trunk')

FWIW,在MacOS中,通过使用R的CRAN构建安装R,而不是像我以前那样从自制中安装R,可以更恰当地解决这个问题。

我无法使用
BiocInstaller::biocLite(“flowCore”)
在类似的系统上复制这一点。错误似乎与增压有关?您是否安装了boost?或者也许BH在Ubuntu 16.04上为我安装了相同的错误,R3.3.1和Bioconductor 3.3安装了
biocLite(“flowCore”)
。对我来说,类似的问题通常在缺少开发库时发生。首先尝试安装开发工具