-
-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake Error: "install FILES given no DESTINATION!" #481
Comments
Do you have base-devel installed? It is a weird error... |
Yes I do. It does look pretty odd. Unfortunately I am not at all familiar with touchegg's build scripts, so I also couldn't figure out what the error is myself... |
Ah I think the problem is with the added systemd service install, as Artix doesn't have systemd... EDIT: ... so there is no $SYSTEMD_SERVICE_DIR to install to. It would be nice if it would just ignore the systemd files if systemd is not available... |
Mmmm that's problematic because Touchégg needs systemd to run its daemon as part of the It'd be possible to addapt the build, but that should be done in the Artix package by patching the CMake config. This is not something I can fix because it'll affect distros with systemd... And that is almost every "popular" distro. So, I'm afraid I cannot fix it, but you or any other Artix user can package it for your distro. |
@JoseExposito Would it be possible to add a (c)make flag or something to leave out the systemd part in order to make packaging it for non-systemd distros more trivial? |
Facilitate packaging Touchégg in non systemd Linux distributions by adding a CMake flag to avoid installing systemd related files
Of course: 0b21ca4 Let me know if you finally manage to package this without systemd so I can add it to the README 😄 |
Thanks for your support! I have created an aur package: aur/touchegg-nosystemd. It seems to work very well so far. I really like touchegg, so not being able to use it without switching distro would have been very unfortunate. The solution right now is perfect! |
Also I cheated a little with the versioning: I called it 2.0.9 but it uses the zip generated from the repo at the commit which added nosystemd support. I will change it when 2.0.10 drops. But I think for now it suffices as a solution, especially since there were no other changes apart from typos anyway since 2.0.9. |
Cool, added to the README: |
@jzbor Hey i have Arch but i wanted to try touchegg-nosystemd is there anyway to make them work or I must have another init program ? |
It's not working as we are using Artix Linux with no SystemD.... |
Hi @MashukeAlam Have a look to https://aur.archlinux.org/packages/touchegg-nosystemd It is packaged for your distro. I haven't tested it personally, but I hope it works for you. |
Yes! It does work. |
fwiw, I have created a Gentoo ebuild for Touchegg in which systemd is optional. I've been using it without systemd successfully for a few days now :) |
Describe the bug
I get the following error when installing (via aur):
Logs
Your environment
touchegg
ortouchegg-git
on the aurThe text was updated successfully, but these errors were encountered: