I’m trying to compile hdf5 using emscripten in order to read HDF5 files in a web browser without a server and am getting the error below.
/bin/sh: ./H5make_libsettings: Permission denied
make: *** [H5lib_settings.c] Error 1
make: *** [all] Error 2
make: *** [all-recursive] Error 1
Hello. First of all, thanks for alerting me to the existence of Emscripten for running C and C++ on the web: https://emscripten.org/… very cool.
While I can’t help you with this particular error, I wanted to explore what you mean by “read HDF5 files in a web browser”. We have other ways of achieving this – e.g. Kita Lab (https://www.hdfgroup.org/hdfkitalab/) – but it all depends on what you need.
Hello. Sorry for revoking the old topic, but I was also trying to compile hdf5 with emscripten and got stuck at the same spot. It seems that H5make_libsettings file would be a binary when compiling with clang, but with emscripten the file is wasm-binary. The permission error could be easily “fixed” by chmod +x the file, yet the compilation still halts at the same spot with make not knowing how to execute wasm-binary. I guess the Makefile has to be changed somehow.