首页 > 解决方案 > 错误:包 'ccfindR' 的编译失败

问题描述

    enter code hereRcppExports.cpp:15:74:   required from here
/usr/local/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type’ {aka ‘__m128d’} [-Wignored-attributes]
   55 |                      >::type PacketReturnType;
      |                              ^~~~~~~~~~~~~~~~
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG  -I'/usr/local/lib/R/site-library/Rcpp/include' -I'/usr/local/lib/R/site-library/RcppEigen/include'    -fpic  -g -O2 -ffile-prefix-map=/build/r-base-aXXzqd/r-base-4.1.0=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c vbnmf_update.cpp -o vbnmf_update.o
vbnmf_update.cpp:5:10: fatal error: gsl/gsl_sf_gamma.h: No such file or directory
    5 | #include <gsl/gsl_sf_gamma.h>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [/usr/lib/R/etc/Makeconf:177: vbnmf_update.o] Error 1
ERROR: compilation failed for package ‘ccfindR’
* removing ‘/usr/local/lib/R/site-library/ccfindR’

The downloaded source packages are in
    ‘/tmp/RtmpI0PA8l/downloaded_packages’
Warning message:
In .inet_warning(msg) :
  installation of package ‘ccfindR’ had non-zero exit status
> library("ccfindR")
Error in library("ccfindR") : there is no package called ‘ccfindR’

大家好,我正在尝试在 ubuntu 21.04 上安装 R ccfindR 包,但我遇到了这个错误,我不确定错误的类型,也不知道如何修复它。如果您能给我任何解决问题的建议,我将不胜感激。

非常感谢您的帮助。

标签: filedirectorycompilationpackagegsl

解决方案


推荐阅读