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

How to install R package ncdf4? #116

Open
rtlemos opened this issue Mar 18, 2021 · 0 comments
Open

How to install R package ncdf4? #116

rtlemos opened this issue Mar 18, 2021 · 0 comments

Comments

@rtlemos
Copy link

rtlemos commented Mar 18, 2021

I've installed libhdf5, netcdf-c, and r-cran-tidyverse. Now I'm trying to install R package ncdf4, but I get the error below. I downloaded the package's source code to look at configure line 1833, but I couldn't figure out what is missing. Would appreciate any help.

  • installing source package ‘ncdf4’ ...
    ** package ‘ncdf4’ successfully unpacked and MD5 sums checked
    ** using staged installation
    configure.ac: starting
    checking for nc-config... yes
    Using nc-config: nc-config
    Output of nc-config --all:

This netCDF 4.7.4 has been built with the following features:

--cc -> gcc
--cflags -> -I/data/data/com.termux/files/usr/include
--libs -> -L/data/data/com.termux/files/usr/lib -lnetcdf
--static -> -lhdf5_hl -lhdf5 -lm -lz -lcurl

--has-c++ -> no
--cxx ->

--has-c++4 -> no
--cxx4 ->

--has-fortran -> no
--has-dap -> yes
--has-dap2 -> yes
--has-dap4 -> yes
--has-nc2 -> yes
--has-nc4 -> yes
--has-hdf5 -> yes
--has-hdf4 -> no
--has-logging -> no
--has-pnetcdf -> no
--has-szlib -> no
--has-cdf5 -> yes
--has-parallel4 -> no
--has-parallel -> no

--prefix -> /data/data/com.termux/files/usr
--includedir -> /data/data/com.termux/files/usr/include
--libdir -> /data/data/com.termux/files/usr/lib
--version -> netCDF 4.7.4


netcdf.m4: about to set rpath, here is source string: >-L/data/data/com.termux/files/usr/lib -lnetcdf<
./configure: 1833: Bad substitution
ERROR: configuration failed for package ‘ncdf4’

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

1 participant