What is the build type of ARM Compute using Oracle Linux 7.9?
I'm compiling PHP on ARM Compute using Oracle Linux 7.9. At the configure step, I get the error message:
configure: error: cannot guess build type; you must specify one
After consulting on StackOverflow, I found the solution is to add --build= parameter on the configure command line. But I don't know what is the build type of ARM Compute using Oracle Linux 7.9?
I used
rpm --eval %{_host}
to get the build type. The returned result is: aarch64-redhat-linux-gnu.
But when I run:
./configure --build=aarch64-redhat-linux-gnu
I received the error:
checking build system type... Invalid configuration `aarch64-redhat-linux-gnu': machine `aarch64-redhat' not recognized configure: error: /bin/sh ./config.sub aarch64-redhat-linux-gnu failed
Tagged:
0