Re: cannot build release 1.42 on RPiOS

KeithG <[email protected]>
Newsgroups dev.linux.lists.connman
Message-ID <CAG17S_MLsYxcvFpf3v4t578a6=0MuTUiNYj8SinzA5-DQr6jWw@mail.gmail.com>
On Fri, Dec 22, 2023 at 7:49 AM KeithG <[email protected]> wrote:
>
> In the past,I have successfully built connman versions 1.38-41 from
> source on numerous RPi based systems runnign arch and rpios. I tried
> to build the latest, 1.42, and cannot get past this error:
>
> scripts/libppp-plugin.c:37:10: fatal error: libppp-compat.h: No such
> file or directory
>    37 | #include "libppp-compat.h"
>       |          ^~~~~~~~~~~~~~~~~
> compilation terminated.
>
> A search for a debian package with this file reveals nothing. What am
> I missing here?
>
> I have used this 'config' for a while w/o issue (I borrowed it from Arch Linux):
>
>   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
>       --runstatedir='/run' \
>       --enable-iwd \
>       --enable-l2tp \
>       --enable-openconnect \
>       --enable-openvpn \
>       --enable-pie \
>       --enable-polkit \
>       --enable-pptp \
>       --enable-selinux \
>       --enable-threads \
>       --with-openconnect=/usr/sbin/openconnect \
>       --with-openvpn=/usr/sbin/openvpn \
>       --with-systemdunitdir=/lib/systemd/system \
>       --with-tmpfilesdir=/usr/lib/tmpfiles.d
>
> Any help appreciated.
>
> Keith

Problem solved. Someone noted this previously that it was in the wrong
place in the tar file. I am guessing that between 1.42 and Head there
is a patch to fix it b/c I was able to build connman-git to the
current Head with the config as above. I tested it and it seems to run
w/o issue on arm64 on a RPi.

Keith
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.