Entering edit mode
Hi,
I am trying to install 'SomaticSignatures', but the 'RGBL' dependency cannot be installed due to a compilation error I guess.
When I try to install 'RGBL' I obtain the following output:
> source("https://bioconductor.org/biocLite.R") Bioconductor version 3.2 (BiocInstaller 1.20.2), ?biocLite for help A new version of Bioconductor is available after installing the most recent version of R; see http://bioconductor.org/install > biocLite("RBGL") BioC_mirror: https://bioconductor.org Using Bioconductor 3.2 (BiocInstaller 1.20.2), R 3.2.2 (2015-08-14). Installing package(s) 'RBGL' trying URL 'https://bioconductor.org/packages/3.2/bioc/src/contrib/RBGL_1.46.0.tar.gz' Content type 'application/x-gzip' length 2278535 bytes (2.2 MB) ================================================== downloaded 2.2 MB * installing *source* package 'RBGL' ... untarring boost include tree... ** libs g++ -I/home/user/bin/R/lib64/R/include -DNDEBUG -I/home/shared/cbc/local/include -Irbgl_trimmed_boost_1_49_0 -fpic -g -O2 -c bbc.cpp -o bbc.o In file included from /home/user/bin/R/lib64/R/include/Rdefines.h:29:0, from RBGL.hpp:41, from bbc.cpp:1: /home/user/bin/R/lib64/R/include/Rinternals.h:1232:19: error: 'SEXPREC* Rf_protect(SEXP)' cannot appear in a constant-expression #define protect Rf_protect ^ /home/shared/cbc/local/include/boost/mpl/remove_if.hpp:52:11: note: in expansion of macro 'protect' , protect< aux::remove_if_helper< ^ In file included from /home/shared/cbc/local/include/boost/mpl/remove.hpp:18:0, from /home/shared/cbc/local/include/boost/function_types/components.hpp:45, from /home/shared/cbc/local/include/boost/function_types/is_member_function_pointer.hpp:15, from /home/shared/cbc/local/include/boost/tti/detail/dmem_fun.hpp:11, from /home/shared/cbc/local/include/boost/tti/has_member_function.hpp:15, from /home/shared/cbc/local/include/boost/graph/depth_first_search.hpp:27, from /home/shared/cbc/local/include/boost/graph/graph_utility.hpp:32, from /home/shared/cbc/local/include/boost/graph/bc_clustering.hpp:14, from bbc.cpp:3: /home/shared/cbc/local/include/boost/mpl/remove_if.hpp:55:15: error: template argument 3 is invalid > > ^ /home/shared/cbc/local/include/boost/mpl/remove_if.hpp:56:9: error: expected '{' before '>' token > ^ /home/shared/cbc/local/include/boost/mpl/remove_if.hpp:56:9: error: expected unqualified-id before '>' token In file included from /home/user/bin/R/lib64/R/include/Rdefines.h:29:0, from RBGL.hpp:41, from bbc.cpp:1: /home/user/bin/R/lib64/R/include/Rinternals.h:1232:19: error: 'SEXPREC* Rf_protect(SEXP)' cannot appear in a constant-expression #define protect Rf_protect ^ /home/shared/cbc/local/include/boost/mpl/remove_if.hpp:69:11: note: in expansion of macro 'protect' , protect< aux::remove_if_helper< ^ In file included from /home/shared/cbc/local/include/boost/mpl/remove.hpp:18:0, from /home/shared/cbc/local/include/boost/function_types/components.hpp:45, from /home/shared/cbc/local/include/boost/function_types/is_member_function_pointer.hpp:15, from /home/shared/cbc/local/include/boost/tti/detail/dmem_fun.hpp:11, from /home/shared/cbc/local/include/boost/tti/has_member_function.hpp:15, from /home/shared/cbc/local/include/boost/graph/depth_first_search.hpp:27, from /home/shared/cbc/local/include/boost/graph/graph_utility.hpp:32, from /home/shared/cbc/local/include/boost/graph/bc_clustering.hpp:14, from bbc.cpp:3: /home/shared/cbc/local/include/boost/mpl/remove_if.hpp:72:15: error: template argument 3 is invalid > > ^ /home/shared/cbc/local/include/boost/mpl/remove_if.hpp:73:9: error: expected '{' before '>' token > ^ /home/shared/cbc/local/include/boost/mpl/remove_if.hpp:73:9: error: expected unqualified-id before '>' token make: *** [bbc.o] Error 1 ERROR: compilation failed for package 'RBGL' * removing '/home/user/R/x86_64-pc-linux-gnu-library/3.2/RBGL' The downloaded source packages are in '/tmp/user/Rtmp71qrbE/downloaded_packages' Warning message: In install.packages(pkgs = doing, lib = lib, ...) : installation of package 'RBGL' had non-zero exit status
My session Info:
> sessionInfo() R version 3.2.2 (2015-08-14) Platform: x86_64-pc-linux-gnu (64-bit) locale: [1] C attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] BiocInstaller_1.20.2 loaded via a namespace (and not attached): [1] tools_3.2.2
Any idea?
* Compiler version:
* I get the exact same error using
* or with
* Same problem using
What is your
sessionInfo()
with R-3.3.0?Are you using a self-compiled R version?
No, I used the provided binaries for both versions of R I tried.
I'm having similar issues after upgrading to R 3.3.0/Bioc 3.3 which may be related: RBGL installation error