I’m having trouble building from source on an aarch64 platform running CentOS 7. The configure file and subsequent Makefile get generated OK.
However the build step (with make or make dist ) fails due to missing src/resmom/mom_mach.c and mom_mach.h in either src/include or src/resmom/ .
Just untar/unzip whichever bundle you want and continue with the instructions in section C to autogen, configure, make dist, and rpmbuild. If the error persists, please post that last few lines of your build log and and a long directory listing of the src/resmom directory.
I suspect a line like the following appears somewhere in your build output:
pbs_mach_type: the operating system "OS_NAME" is unknown
Where OS_NAME is the output of “uname -s”.
The reason for this is because the buildutils/pbs_mach_type script is being called and doesn’t know you are running Linux on aarch64. My suggestion is to alter buildutils/pbs_mach_type so that it prints the string “linux” (all lower case) and then exits with a zero return code. It looks like this area of the code could use some updating, so thanks for bringing it to our attention!