connman.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* cannot build release 1.42 on RPiOS
@ 2023-12-22 13:49 KeithG
  2023-12-22 20:13 ` KeithG
  0 siblings, 1 reply; 2+ messages in thread
From: KeithG @ 2023-12-22 13:49 UTC (permalink / raw)
  To: connman

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cannot build release 1.42 on RPiOS
  2023-12-22 13:49 cannot build release 1.42 on RPiOS KeithG
@ 2023-12-22 20:13 ` KeithG
  0 siblings, 0 replies; 2+ messages in thread
From: KeithG @ 2023-12-22 20:13 UTC (permalink / raw)
  To: connman

On Fri, Dec 22, 2023 at 7:49 AM KeithG <ys3al35l@gmail.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-22 20:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-22 13:49 cannot build release 1.42 on RPiOS KeithG
2023-12-22 20:13 ` KeithG

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).