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

Installation error #7

Open
flasorte opened this issue Nov 29, 2020 · 1 comment
Open

Installation error #7

flasorte opened this issue Nov 29, 2020 · 1 comment

Comments

@flasorte
Copy link

devtools::install_github("helske/Rlibeemd")
Downloading GitHub repo helske/Rlibeemd@HEAD
checking for file ‘/tmp/RtmptW0VkH/remotes777d3cfa4949/helske-Rlibeemd-a237af ✔ checking for file ‘/tmp/RtmptW0VkH/remotes777d3cfa4949/helske-Rlibeemd-a237af 1/DESCRIPTION’
─ preparing ‘Rlibeemd’:
✔ checking DESCRIPTION meta-information ...
─ cleaning src
─ running ‘cleanup’
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ looking to see if a ‘data/datalist’ file should be added
─ building ‘Rlibeemd_1.4.1.tar.gz’

Installing package into ‘/home/lasorte/R_Libs’
(as ‘lib’ is unspecified)

  • installing source package ‘Rlibeemd’ ...
    ** using staged installation
    checking for gsl-config... /home/lasorte/appdir/bin/gsl-config
    configure: creating ./config.status
    config.status: creating src/Makevars
    ** libs
    g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I"/home/lasorte/R_Libs/Rcpp/ include" -I/usr/local/include -fopenmp -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_ SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecor d-gcc-switches -m64 -mtune=generic -c RcppExports.cpp -o RcppExports.o
    gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -I"/home/lasorte/R_Libs/Rcpp/in clude" -I/usr/local/include -I/home/lasorte/appdir/include -fopenmp -fpic -O2 - g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --pa ram=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c bemd.c -o bemd.o
    g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I"/home/lasorte/R_Libs/Rcpp/ include" -I/usr/local/include -fopenmp -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_ SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecor d-gcc-switches -m64 -mtune=generic -c bemdR.cpp -o bemdR.o
    In file included from bemdR.cpp:4:
    bemd.h:23:10: fatal error: gsl/gsl_errno.h: No such file or directory
    #include <gsl/gsl_errno.h>
    ^~~~~~~~~~~~~~~~~
    compilation terminated.
    make: *** [bemdR.o] Error 1
    ERROR: compilation failed for package ‘Rlibeemd’
  • removing ‘/home/lasorte/R_Libs/Rlibeemd’
    Error: Failed to install 'Rlibeemd' from GitHub:
    (converted from warning) installation of package ‘/tmp/RtmptW0VkH/file777d2b59 7194/Rlibeemd_1.4.1.tar.gz’ had non-zero exit status
@helske
Copy link
Owner

helske commented Nov 30, 2020

It looks like there are some issues with the GSL installation. Have you installed the libgsl-dev (or gsl-devel on Centos), not only the gsl package?

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