Hi,
I'm trying to compile it but rust returns me this error:
cargo build --release
Compiling autocfg v1.4.0
Compiling memchr v2.7.4
Compiling regex-syntax v0.8.5
Compiling cfg-if v1.0.0
Compiling libc v0.2.164
Compiling pkg-config v0.3.31
Compiling proc-macro2 v1.0.91
Compiling unicode-ident v1.0.14
Compiling parking_lot_core v0.8.6
Compiling syn v1.0.109
Compiling paste v1.0.15
Compiling rawpointer v0.2.1
Compiling hdf5-types v0.8.1
Compiling smallvec v1.13.2
Compiling scopeguard v1.2.0
Compiling hdf5 v0.8.1
Compiling ascii v1.1.0
Compiling lazy_static v1.5.0
Compiling bitflags v1.3.2
Compiling libloading v0.7.4
Compiling instant v0.1.13
Compiling num-traits v0.2.19
Compiling lock_api v0.4.12
Compiling matrixmultiply v0.3.9
Compiling aho-corasick v1.1.3
Compiling quote v1.0.37
Compiling regex-automata v0.4.9
Compiling parking_lot v0.11.2
Compiling num-complex v0.4.6
Compiling num-integer v0.1.46
Compiling ndarray v0.15.6
Compiling regex v1.11.1
Compiling hdf5-derive v0.8.1
Compiling hdf5-sys v0.8.1
error: failed to run custom build command for `hdf5-sys v0.8.1`
Caused by:
process didn't exit successfully: `/user/work/tk19812/software/Helixer/HelixerPost/target/release/build/hdf5-sys-f47b10058eeafb65/build-script-build` (exit status: 101)
--- stdout
Attempting to find HDF5 via pkg-config...
cargo:rerun-if-env-changed=HDF5_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=HDF5_STATIC
cargo:rerun-if-env-changed=HDF5_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=SYSROOT
cargo:rerun-if-env-changed=HDF5_STATIC
cargo:rerun-if-env-changed=HDF5_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=HDF5_STATIC
cargo:rerun-if-env-changed=HDF5_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
Found HDF5 pkg-config entry
Include paths:
- "/software/spack/linux-rocky8-broadwell/gcc-12.3.0/hdf5-1.14.3-fcxp/include"
Link paths:
- "/software/spack/linux-rocky8-broadwell/gcc-12.3.0/hdf5-1.14.3-fcxp/lib"
Located HDF5 headers at:
"/software/spack/linux-rocky8-broadwell/gcc-12.3.0/hdf5-1.14.3-fcxp/include"
Parsing HDF5 config from:
"/software/spack/linux-rocky8-broadwell/gcc-12.3.0/hdf5-1.14.3-fcxp/include/H5pubconf.h"
--- stderr
thread 'main' panicked at /user/home/tk19812/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hdf5-sys-0.8.1/build.rs:200:21:
Invalid H5_VERSION: "1.14.3"
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
How do I fix it? I'm not familiar with rust/cargo.
Cheers
F
Hi,
I'm trying to compile it but rust returns me this error:
How do I fix it? I'm not familiar with rust/cargo.
Cheers
F