WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Is it possible to include libsystemd?  (Read 567 times)

Offline moham96

  • Newbie
  • *
  • Posts: 3
Is it possible to include libsystemd?
« on: August 27, 2022, 07:52:01 AM »
Hi,
I am looking into running a flutter app to turn the raspberry pi to a kiosk, using newbielink:https://github.com/ardera/flutter-pi#dependencies [nonactive]
which requires `libsystemd`, according to flutter-pi readme it states under dependencies:
Quote
libsystemd is not systemd, it's just an utility library. It provides the event loop and dbus support for flutter-pi.


So is it possible to run such a program under PiCore?

Regards

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14096
Re: Is it possible to include libsystemd?
« Reply #1 on: August 27, 2022, 09:21:08 AM »
The easiest way to know is to compile it and see..

Offline moham96

  • Newbie
  • *
  • Posts: 3
Re: Is it possible to include libsystemd?
« Reply #2 on: August 27, 2022, 01:50:07 PM »
well, i tried to compile it but it requires libgbm which I couldn't find in the repos:

Quote
-- Generator .............. Unix Makefiles
-- Build Type ............. Release
-- Flutter Channel ........ stable
-- Engine SHA1 ............ e85ea0e79c6d894c120cda4ee8ee10fe6745e187
-- Checking for module 'gbm'
--   No package 'gbm' found
CMake Error at /tmp/tcloop/cmake/usr/local/share/cmake-3.18/Modules/FindPkgConfig.cmake:545 (message):
  A required package was not found
Call Stack (most recent call first):
  /tmp/tcloop/cmake/usr/local/share/cmake-3.18/Modules/FindPkgConfig.cmake:733 (_pkg_check_modules_internal)
  CMakeLists.txt:105 (pkg_check_modules)


-- Configuring incomplete, errors occurred!
See also "/home/tc/repos/flutter-pi/build/CMakeFiles/CMakeOutput.log".
See also "/home/tc/repos/flutter-pi/build/CMakeFiles/CMakeError.log"

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10432
Re: Is it possible to include libsystemd?
« Reply #3 on: August 27, 2022, 02:01:16 PM »
Hi moham96
Welcome to the forum.

... it requires libgbm which I couldn't find in the repos: ...
I think installing  libEGL-dev.tcz  will help.

Offline moham96

  • Newbie
  • *
  • Posts: 3
Re: Is it possible to include libsystemd?
« Reply #4 on: August 27, 2022, 02:46:53 PM »
Ok so after installing all the required packages that are available in the repos I reached this:
Quote
No package 'libsystemd' found

which was the reason of my main question

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10432
Re: Is it possible to include libsystemd?
« Reply #5 on: August 27, 2022, 04:57:01 PM »
Hi moham96
You could try grabbing  libsystemd-dev  and  libsystemd0  from another distro:
https://packages.ubuntu.com/kinetic/libsystemd-dev
https://packages.ubuntu.com/kinetic/libsystemd0

Or download one of the source packages from the above links and build  systemd  from scratch and
just pull out the pieces you need.