Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't installation #136

Open
sdjin87 opened this issue Sep 28, 2020 · 4 comments
Open

I can't installation #136

sdjin87 opened this issue Sep 28, 2020 · 4 comments

Comments

@sdjin87
Copy link

sdjin87 commented Sep 28, 2020

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

@wch
Copy link
Member

wch commented Sep 28, 2020

What platform are you running on? Specifically what distribution of Linux?

@sdjin87
Copy link
Author

sdjin87 commented Sep 29, 2020

CentOS 7.8.2003
gcc 4.8.5
please let me know what you need informations

@wch
Copy link
Member

wch commented Sep 30, 2020

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?

@sdjin87
Copy link
Author

sdjin87 commented Oct 5, 2020

Thank you for your answer.
g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)

@wch wch closed this as completed Feb 9, 2021
@wch wch reopened this Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants