R包安装错误 cp: cannot stat ‘hdf5/src/.libs/libhdf5.a’: No such file or directory make: *** [copying] Error 1 ERROR: compilation failed for package ‘Rhdf5lib’

make: *** [lib] Error 1

configure:    HDF5_INCLUDE=hdf5/src

configure:    HDF5_CXX_INCLUDE=hdf5/c++/src

configure:    HDF5_HL_INCLUDE=hdf5/hl/src

configure:    HDF5_HL_CXX_INCLUDE=hdf5/hl/c++/src

configure:    HDF5_LIB=hdf5/src/.libs/libhdf5.a

configure:    HDF5_CXX_LIB=hdf5/c++/src/.libs/libhdf5_cpp.a

configure:    HDF5_HL_LIB=hdf5/hl/src/.libs/libhdf5_hl.a

configure:    HDF5_HL_CXX_LIB=hdf5/hl/c++/src/.libs/libhdf5_hl_cpp.a

configure:    SZIP_LIB=hdf5/szip/src/.libs/libsz.a

configure: creating ./config.status

config.status: creating src/Makevars

** libs

mkdir -p "/share/work/biosoft/R/R-v4.0.3/lib64/R/library/00LOCK-Rhdf5lib/00new/Rhdf5lib/include"

cp "hdf5/src/"*.h "/share/work/biosoft/R/R-v4.0.3/lib64/R/library/00LOCK-Rhdf5lib/00new/Rhdf5lib/include"

cp "hdf5/c++/src/"*.h "/share/work/biosoft/R/R-v4.0.3/lib64/R/library/00LOCK-Rhdf5lib/00new/Rhdf5lib/include"

cp "hdf5/hl/src/"*.h "/share/work/biosoft/R/R-v4.0.3/lib64/R/library/00LOCK-Rhdf5lib/00new/Rhdf5lib/include"

cp "hdf5/hl/c++/src/"*.h "/share/work/biosoft/R/R-v4.0.3/lib64/R/library/00LOCK-Rhdf5lib/00new/Rhdf5lib/include"

cp "hdf5/src/"libhdf5.settings "/share/work/biosoft/R/R-v4.0.3/lib64/R/library/00LOCK-Rhdf5lib/00new/Rhdf5lib/include"

mkdir -p "/share/work/biosoft/R/R-v4.0.3/lib64/R/library/00LOCK-Rhdf5lib/00new/Rhdf5lib/lib/"

cp "hdf5/src/.libs/libhdf5.a" "/share/work/biosoft/R/R-v4.0.3/lib64/R/library/00LOCK-Rhdf5lib/00new/Rhdf5lib/lib/"

cp: cannot stat ‘hdf5/src/.libs/libhdf5.a’: No such file or directory

make: *** [copying] Error 1

ERROR: compilation failed for package ‘Rhdf5lib’

* removing ‘/share/work/biosoft/R/R-v4.0.3/lib64/R/library/Rhdf5lib’

* installing *source* package ‘BiocStyle’ ...

** using staged installation

** R


请先 登录 后评论

1 个回答

omicsgene - 生物信息
擅长:重测序,遗传进化,转录组,GWAS

解决版本参考:https://github.com/grimbough/Rhdf5lib/issues/34

BiocManager::install('grimbough/Rhdf5lib', ref="cpp-flags", configure.args = "--disable-ros3-vfd")
请先 登录 后评论