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 of DECoN failed #39

Open
Leelouh opened this issue Oct 5, 2022 · 1 comment
Open

Installation of DECoN failed #39

Leelouh opened this issue Oct 5, 2022 · 1 comment

Comments

@Leelouh
Copy link

Leelouh commented Oct 5, 2022

Hello, I am trying to install DECoN V2 but I have some issues.

It seems it can't install the package ExomeDepth (error message below from the setup.log file).
I tried to install ExomeDepth from github (install_github("vplagnol/ExomeDepth")) but the installation of ExomeDepth also failed.

Does anyone encounter this issue? Is there another way to install ExomeDepth?

Thank you in advance.

[...]
Installing ExomeDepth [1.1.15] ...
        FAILED
Error installing package 'ExomeDepth':
======================================

* installing *source* package 'ExomeDepth' ...
** package 'ExomeDepth' successfully unpacked and MD5 sums checked
** using staged installation
** libs
g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -ffile-prefix-map=/build/r-base-wSz8CH/r-base-4.2.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-str
ong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c CNV_estimate.cpp -o CNV_estimate.o
gcc -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -ffile-prefix-map=/build/r-base-wSz8CH/r-base-4.2.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c ExomeDepth_init.c -o ExomeDepth_init.o
gcc -I"/usr/share/R/include" -DNDEBUG      -fpic  -g -O2 -ffile-prefix-map=/build/r-base-wSz8CH/r-base-4.2.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c VP_gamma.c -o VP_gamma.o
In file included from gsl_math.h:22,
                 from VP_gamma.c:23:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:85:1: error: expected ';' before 'extern'
   85 | __MATHCALL_VEC (acosh,, (_Mdouble_ __x));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:87:1: error: expected ';' before 'extern'
   87 | __MATHCALL_VEC (asinh,, (_Mdouble_ __x));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:89:1: error: expected ';' before 'extern'
   89 | __MATHCALL_VEC (atanh,, (_Mdouble_ __x));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:119:1: error: expected ';' before 'extern'
  119 | __MATHCALL_VEC (expm1,, (_Mdouble_ __x));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:122:1: error: expected ';' before 'extern'
  122 | __MATHCALL_VEC (log1p,, (_Mdouble_ __x));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:147:1: error: expected ';' before 'extern'
  147 | __MATHCALL_VEC (hypot,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:85:1: error: expected ';' before 'extern'
   85 | __MATHCALL_VEC (acosh,, (_Mdouble_ __x));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:87:1: error: expected ';' before 'extern'
   87 | __MATHCALL_VEC (asinh,, (_Mdouble_ __x));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:89:1: error: expected ';' before 'extern'
   89 | __MATHCALL_VEC (atanh,, (_Mdouble_ __x));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:119:1: error: expected ';' before 'extern'
  119 | __MATHCALL_VEC (expm1,, (_Mdouble_ __x));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:122:1: error: expected ';' before 'extern'
  122 | __MATHCALL_VEC (log1p,, (_Mdouble_ __x));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:147:1: error: expected ';' before 'extern'
  147 | __MATHCALL_VEC (hypot,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:85:1: error: expected ';' before 'extern'
   85 | __MATHCALL_VEC (acosh,, (_Mdouble_ __x));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:87:1: error: expected ';' before 'extern'
   87 | __MATHCALL_VEC (asinh,, (_Mdouble_ __x));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:89:1: error: expected ';' before 'extern'
   89 | __MATHCALL_VEC (atanh,, (_Mdouble_ __x));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:119:1: error: expected ';' before 'extern'
  119 | __MATHCALL_VEC (expm1,, (_Mdouble_ __x));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:122:1: error: expected ';' before 'extern'
  122 | __MATHCALL_VEC (log1p,, (_Mdouble_ __x));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:147:1: error: expected ';' before 'extern'
  147 | __MATHCALL_VEC (hypot,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
make: *** [/usr/lib/R/etc/Makeconf:168: VP_gamma.o] Error 1
ERROR: compilation failed for package 'ExomeDepth'
* removing '/DECoN/Linux/renv/staging/1/ExomeDepth'
Error: install of package 'ExomeDepth' failed [error code 1]
In addition: There were 12 warnings (use warnings() to see them)
Traceback (most recent calls last):
12: renv::restore()
11: renv_restore_run_actions(project, diff, current, lockfile, rebuild)
10: renv_install_impl(records)
 9: renv_install_staged(records)
 8: renv_install_default(records)
 7: handler(package, renv_install_package(record))
 6: renv_install_package(record)
 5: withCallingHandlers(renv_install_package_impl(record), error = function(e) {
        vwritef("\tFAILED")
        writef(e$output)
    })
 4: renv_install_package_impl(record)
 3: r_cmd_install(package, path)
 2: r_exec_error(package, output, "install", status)
 1: stop(error)
Execution halted
@mcollodetti
Copy link

try

install.packages('package name',repos='http://cran.us.r-project.org')

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