Re: Broken Cross Compile with NetworkManager 1.12.0

On Wed, 2018-07-25 at 19:09 +0000, Matthew Starr wrote:
I am trying to compile NetworkManager 1.12.0 for armhf using an amd64
install of Ubuntu 17.10 and building the ARM software using
buildroot.  During the configure step, I am getting the following

checking for /etc/sysconfig/network-scripts... configure: error:
cannot check for file existence when cross compiling

This was not an issue with NetworkManager 1.10.8 which compiles fine
with the same build environment.

I did some digging and it looks like the use of AC_CHECK_FILE in the file will cause cross compile errors like this.  See the
following mailing list entry from autotools:

Best regards,
Matthew Starr


if you look at, you'll see

AS_IF([test -z "$enable_ifcfg_rh"], AC_CHECK_FILE(/etc/sysconfig/network-scripts, enable_ifcfg_rh=yes))

meaning, you should be able to workaround this issue, by `./configure --disable-ifcfg-rh`
... and possibly --disable-ifupdown


Attachment: signature.asc
Description: This is a digitally signed message part

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]