Skip to content

Error in R package installation #53

@Filippo-Rambelli

Description

@Filippo-Rambelli

Dear ExaGeoStatCPP team,

I am attempting to install the ExaGeoStatCPP R package on our academic HPC cluster following the instructions in the ReadMe.

Because of the discussions in issue #48, I am using GCC 8.5.0. However, the installation currently fails with the following error:
`---------------------------------------- GSL
-- Checking for GSL with Version 2.7.1
Can't find GSL, Installing it instead ..
-- Fetching gsl v2.7.1 from https://ftp.gnu.org/gnu/gsl/gsl-2.7.1.tar.gz
[ 11%] Creating directories for 'gsl-populate'
[ 22%] Performing download step (download, verify and extract) for 'gsl-populate'
-- Downloading...
dst='/cluster/home/fabiopc/software/ExaGeoStatCPP/installdir/_deps/GSL/gsl-subbuild/gsl-populate-prefix/src/gsl-2.7.1.tar.gz'
timeout='none'
inactivity timeout='none'
-- Using src='https://ftp.gnu.org/gnu/gsl/gsl-2.7.1.tar.gz'
CMake Error at gsl-subbuild/gsl-populate-prefix/src/gsl-populate-stamp/download-gsl-populate.cmake:170 (message):
Each download failed!

error: downloading 'https://ftp.gnu.org/gnu/gsl/gsl-2.7.1.tar.gz' failed
      status_code: 1
      status_string: "Unsupported protocol"
      log:
      --- LOG BEGIN ---
      Protocol "https" not supported or disabled in libcurl

Closing connection

      --- LOG END ---

make[2]: *** [CMakeFiles/gsl-populate.dir/build.make:100: gsl-populate-prefix/src/gsl-populate-stamp/gsl-populate-download] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/gsl-populate.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2

CMake Error at installdir/_deps/CMAKE/share/cmake-3.28/Modules/FetchContent.cmake:1679 (message):
Build step for gsl failed: 2
Call Stack (most recent call first):
installdir/_deps/CMAKE/share/cmake-3.28/Modules/FetchContent.cmake:1819:EVAL:2 (__FetchContent_directPopulate)
installdir/_deps/CMAKE/share/cmake-3.28/Modules/FetchContent.cmake:1819 (cmake_language)
cmake/macros/BuildDependency.cmake:59 (FetchContent_Populate)
cmake/macros/ImportDependency.cmake:61 (BuildDependency)
cmake/ImportGSL.cmake:34 (ImportDependency)
CMakeLists.txt:150 (include)

-- Configuring incomplete, errors occurred!
gmake: Makefile: No such file or directory
gmake: *** No rule to make target 'Makefile'. Stop.
cp: cannot stat '/cluster/home/fabiopc/software/ExaGeoStatCPP/bin/src/libExaGeoStatCPP.so': No such file or directory
Failed: libExaGeoStatCPP.so -> src
** libs
make: Nothing to be done for 'all'.
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘ExaGeoStatCPP’ in library.dynam(lib, package, package.lib):
shared object ‘ExaGeoStatCPP.so’ not found
Error: loading failed
Execution halted
ERROR: loading failed

  • removing ‘/cluster/home/fabiopc/R/x86_64-pc-linux-gnu-library/4.3/ExaGeoStatCPP’`

It appears that the curl version available in the GCC 8.5.0 software stack does not support HTTPS.
Do you have any suggestions?
Thank you very much for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions