Comments (1)
I get the same error about patch when installing in an Ubuntu 22.04 docker container, libhdf5-dev
is already installed.
Click here
> remotes::install_github("hhoeflin/hdf5r")
Downloading GitHub repo hhoeflin/hdf5r@HEAD
── R CMD build ───────────────────────────────────────────────────────────
checking for file ‘/tmp/RtmpA7GpSG/remotes96120a9dfc1/hhoeflin-hdf5r-45✔ checking for file ‘/tmp/RtmpA7GpSG/remotes96120a9dfc1/hhoeflin-hdf5r-450d483/DESCRIPTION’ (748ms)
─ preparing ‘hdf5r’:
✔ checking DESCRIPTION meta-information ...
─ cleaning src
─ running ‘cleanup’
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘hdf5r_1.3.8.tar.gz’
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
* installing *source* package ‘hdf5r’ ...
** using staged installation
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... no
checking for mawk... mawk
checking for grep that handles long lines and -e... /usr/bin/grep
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for h5cc... /usr/bin/h5cc
checking for HDF5 libraries... yes (version 1.10.7)
checking for hdf5.h... yes
checking for H5Fcreate in -lhdf5... yes
checking for hdf5_hl.h... yes
checking for H5LTpath_valid in -lhdf5_hl... yes
checking for main in -lhdf5_hl... yes
checking for matching HDF5 Fortran wrapper... /usr/bin/h5fc
Found hdf5 with version: 1.10.7
checking for ggrep... /usr/bin/grep
checking whether /usr/bin/grep accepts -o... yes
checking for ggrep... (cached) /usr/bin/grep
checking whether /usr/bin/grep accepts -o... yes
Using variables:
HDF5_LIBS= -L/usr/lib/x86_64-linux-gnu/hdf5/serial -lcrypto -lcurl -lpthread -lsz -lz -ldl -lm -L. -lhdf5_hl -lhdf5 -lz -lm
HDF5_CFLAGS=
HDF5_CPPFLAGS=-I/usr/include/hdf5/serial
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C compiler: ‘gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0’
cp 1_10_3/*.c 1_10_3/*.h .
if [ "1.10.6" != "" ]; then patch -p2 < patch_1.10.6; fi
/bin/bash: line 1: patch: command not found
make: *** [Makevars:28: copy_auto_files] Error 127
ERROR: compilation failed for package ‘hdf5r’
* removing ‘/usr/local/lib/R/site-library/hdf5r’
Warning message:
In i.p(...) :
installation of package ‘/tmp/RtmpA7GpSG/file96127fef41/hdf5r_1.3.8.tar.gz’ had non-zero exit status
Resolved by sudo apt-get install patch
from hdf5r.
Related Issues (20)
- How do you save a modified copy?
- issue with read10x_h5 function in seurat HOT 1
- On system with 'clang', configure finds gcc HOT 1
- fatal error: hdf5.h: No such file or directory, change from R devel r83603 to r83630 HOT 3
- make_id_char function error
- Ubuntu20.4 install hdf5r failed HOT 2
- Several tests fail on PowerPC: error #000: H5T.c in H5Tget_class(): line 2084: not a datatype etc. [ FAIL 54 | WARN 0 | SKIP 3 | PASS 442 ] HOT 1
- When I quote hdf5r in R, I get an error.
- Error : C stack usage 15925440 is too close to the limit
- Writing attributes with length 0: `buf parameter can't be NULL` HOT 16
- install hdf5r fail in centos7.9 HOT 1
- Fix CRAN check errors from 2024-01-07 HOT 1
- URL links to HDF5 documentation not working HOT 1
- Installation error using R
- Any plans on supporting ROS3 cloud driver? HOT 1
- I can't add values of a vector into a dataset
- incompatible pointer type HOT 1
- Request for creating H5R_OBJECT access
- Consider `pkg-config` for finding the compiler flags? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hdf5r.