CMake / libsystemd 10 July 2018, 20:58:23 Hai all, Does cmake detect libeudev as libsystemd? I want to build an AUR pkg that requires libsystemd. But cmake's initial check stops, saying no libsystemd installed. Thanks.
Re: CMake / libsystemd Reply #1 – 10 July 2018, 21:33:59 Hello,AUR is a big world, can you name the package which you want to build ?Udev should be recognized with pkgconfig when you search for module udev.It works for systemd version and also for eudev.When using cmake you can also create your own search modules,so anything is possible.If you want help, post link to the AUR package which you want to build,so we (forum readers) can check it.
Re: CMake / libsystemd Reply #2 – 11 July 2018, 02:03:11 Hai,Drat, forgot to link it : https://aur.archlinux.org/packages/anbox-git/https://pastebin.com/amdgjkxc this is one log referenced in the cmake output.https://pastebin.com/ky5iijTd and the other error log referred to.Thanks Last Edit: 11 July 2018, 02:08:18 by crinum_ornatum
Re: CMake / libsystemd Reply #3 – 11 July 2018, 15:44:31 Hello,said program is searching for libsystemd.https://github.com/anbox/anbox/blob/master/CMakeLists.txt#L71As Artix does not support systemd, there is not an easy way to build said program.Try to ask the program developers for help "How to build this without systemd"Or investigate it and purge systemd from itAccording to what i found they are using systemd for dbus support.
Re: CMake / libsystemd Reply #4 – 12 July 2018, 09:47:18 The program's cmake probably needs to be patched to look for libudev instead.Arch's libsystemd has libudev bundled with it, and usually, its the libudev functions other programs require for device management.
Re: CMake / libsystemd Reply #5 – 12 July 2018, 11:22:55 Did you mean libeudev or actually libudev which should be a link to libeudev?libsystemd-dummy doesn't provide this function in it, does it?
Re: CMake / libsystemd Reply #6 – 13 July 2018, 07:47:37 I think their dependencies on systemd is deeper than just udev. Looking at a Gentoo ebuild and their AUR PKGBUILD, it seems their network stack also depends on systemd.
Re: CMake / libsystemd Reply #7 – 15 July 2018, 12:38:08 Busy with work. Thank you everyone for looking into this topic.
Re: CMake / libsystemd Reply #8 – 31 July 2018, 06:01:12 Quote from: crinum_ornatum – on 11 July 2018, 02:03:11Hai,Drat, forgot to link it : https://aur.archlinux.org/packages/anbox-git/https://pastebin.com/amdgjkxc this is one log referenced in the cmake output.https://pastebin.com/ky5iijTd and the other error log referred to.Thanksandroid might be dependent on systemd
Re: CMake / libsystemd Reply #10 – 31 July 2018, 23:51:54 Quote from: alium – on 31 July 2018, 22:51:59try to install and use libsystemd-dummythat will not work when you want to compile this SW.It is searching for systemd via pkgconfig.Configuration / search module for pkgconfig is provided by systemd but not systemd-dummy.This SW also needs systemd specific headers which are not provided by systemd-dummy.It is not called dummy for no reason