Skip to content
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

Aur Install: could not find development headers and libraries #12

Closed
ritlew opened this issue Feb 19, 2019 · 0 comments · Fixed by #15
Closed

Aur Install: could not find development headers and libraries #12

ritlew opened this issue Feb 19, 2019 · 0 comments · Fixed by #15

Comments

@ritlew
Copy link

ritlew commented Feb 19, 2019

makepkg was giving me errors like this:

In file included from /usr/include/KF5/KConfigWidgets/KCModule:1,
             from /home/samuel/aur/krunner-pass/src/krunner-pass-1.3.0/config.h:23,
             from /home/samuel/aur/krunner-pass/src/krunner-pass-1.3.0/config.cpp:24:
/usr/include/KF5/KConfigWidgets/kcmodule.h:29:10: fatal error: kauthaction.h: No such file or directory
#include <kauthaction.h>

I did the following things to resolve the problem:

  • Added DBus to the find_package directive for Qt5
  • Added Auth to the find_package directive for KF5
  • Added include_directories("/usr/include/KF5/KAuth/") after the other include directives

I don't use CMake often so I don't know why I had to make these changes. It installed fine after that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant