[Gluster-devel] Cross-compiling Gluster for arm

Richard Betel emteeoh at gmail.com
Wed Aug 9 01:30:52 UTC 2023


I'm trying to build gluster to run on some arm-based machines, but my build
environment is x86. I've got arm abi tools installed, and am running
configure like this:
./configure --build x86_64-pc-linux-gnu --target=arm-linux-gnueabihf
--host=arm-linux-gnueabihf

If errors out when it goes to check for /etc/os/release, with the error:
checking for /etc/os-release... configure: error: cannot check for file
existence when cross compiling

Is there a "correct" way to cross-compile gluster (ie: am I running
configure wrong?) or do I finally need to read documentation about
configure.in? :D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20230808/650e9acd/attachment.html>


More information about the Gluster-devel mailing list