We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

What is the build type of ARM Compute using Oracle Linux 7.9?

Question
1
Views
0
Comments
edited Oct 1, 2021 1:25PM in Arm Compute

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!