I tried to install hail in a cloud computing cluster by following steps listed here. However it fails at the final make command. I’ve tried doing what was suggested in other similar posts by setting the JAVA_HOME, but still got the same error.
(hail2) -bash-4.2$ export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-11.0.22.0.7-1.el7_9.x86_64
(hail2) -bash-4.2$ echo JAVA_HOME
/usr/lib/jvm/java-11-openjdk-11.0.22.0.7-1.el7_9.x86_64
(hail2) -bash-4.2$ cd hail/hail
(hail2) -bash-4.2$ make install-on-cluster HAIL_COMPILE_NATIVES=1 SCALA_VERSION=2.12.18 SPARK_VERSION=3.5.0
make -C src/main/c prebuilt
make[1]: Entering directory/gpfs/fs1/home/lc1336/hail/hail/src/main/c' make[1]: *** No rule to make target
jni.h’, needed bybuild/x86_64/NativeBoot.o'. Stop. make[1]: Leaving directory
/gpfs/fs1/home/lc1336/hail/hail/src/main/c’
make: *** [native-lib-prebuilt] Error 2