later
later copied to clipboard
I can't installation
R version is 3.6.3 later version is 1.1.0.1
[sdjin87@login Tools]$ R CMD INSTALL later_1.1.0.1.tar.gz
- installing to library ‘/mnt/gmi-l1/_90.User_Data/sdjin87/Tools/R-3.6.3/lib64/R/library’
- installing source package ‘later’ ... ** package ‘later’ successfully unpacked and MD5 sums checked ** using staged installation Running configure script -latomic linker flag not needed. ** libs g++ -I"/mnt/gmi-l1/_90.User_Data/sdjin87/Tools/R-3.6.3/lib64/R/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -I"/mnt/gmi-l1/_90.User_Data/sdjin87/Tools/R-3.6.3/lib64/R/library/Rcpp/include" -I"/mnt/gmi-l1/_90.User_Data/sdjin87/Tools/R-3.6.3/lib64/R/library/BH/include" -I/mnt/gmi-l1/_90.User_Data/sdjin87/Tools/library/include/ -fpic -g -O2 -c RcppExports.cpp -o RcppExports.o g++ -I"/mnt/gmi-l1/_90.User_Data/sdjin87/Tools/R-3.6.3/lib64/R/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -I"/mnt/gmi-l1/_90.User_Data/sdjin87/Tools/R-3.6.3/lib64/R/library/Rcpp/include" -I"/mnt/gmi-l1/_90.User_Data/sdjin87/Tools/R-3.6.3/lib64/R/library/BH/include" -I/mnt/gmi-l1/90.User_Data/sdjin87/Tools/library/include/ -fpic -g -O2 -c callback_registry.cpp -o callback_registry.o In file included from callback_registry.cpp:6:0: callback_registry.cpp: In function ‘void invoke_c(void*)’: callback_registry.cpp:127:73: error: ‘current_exception’ is not a member of ‘std’ DEBUG_LOG(std::string("invoke_c: caught unknown object: ") + typeid(std::current_exception()).name(), ^ debug.h:52:87: note: in definition of macro ‘DEBUG_LOG’ #define DEBUG_LOG(msg, level) if (log_level >= level) err_printf("%s\n", std::string(msg).c_str()); ^ make: *** [callback_registry.o] Error 1 ERROR: compilation failed for package ‘later’
- removing ‘/mnt/gmi-l1/_90.User_Data/sdjin87/Tools/R-3.6.3/lib64/R/library/later’
I don't know what is the problem. please check and help
What platform are you running on? Specifically what distribution of Linux?
CentOS 7.8.2003 gcc 4.8.5 please let me know what you need informations
std::current_exception
was apparently added in C++11. So maybe the problem is that your compiler doesn't support C++11? Can you provide the output of g++ --version
?
Thank you for your answer. g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)