Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: moham96 on August 27, 2022, 10:52:01 AM
-
Hi,
I am looking into running a flutter app to turn the raspberry pi to a kiosk, using flutter-pi (https://github.com/ardera/flutter-pi#dependencies)
which requires `libsystemd`, according to flutter-pi readme it states under dependencies:
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
-
The easiest way to know is to compile it and see..
-
well, i tried to compile it but it requires libgbm which I couldn't find in the repos:
-- 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"
-
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.
-
Ok so after installing all the required packages that are available in the repos I reached this:
No package 'libsystemd' found
which was the reason of my main question
-
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.