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

Problem when installing as user #73

Open
kalium222 opened this issue Jan 31, 2024 · 2 comments
Open

Problem when installing as user #73

kalium222 opened this issue Jan 31, 2024 · 2 comments

Comments

@kalium222
Copy link

Hello, when i install it as user, i run make DESTDIR=$HOME/.local install, i get this

[ 50%] Built target xkbswitch
[ 83%] Built target xkb-switch
[100%] Built target man_xkb-switch_1
Install the project...
-- Install configuration: ""
-- Up-to-date: /home/kalium/.local/usr/local/bin/xkb-switch
-- Up-to-date: /home/kalium/.local/usr/local/lib/libxkbswitch.so.2.0.1
-- Up-to-date: /home/kalium/.local/usr/local/lib/libxkbswitch.so.2
-- Up-to-date: /home/kalium/.local/usr/local/lib/libxkbswitch.so
-- Up-to-date: /home/kalium/.local/usr/local/share/man/man1/xkb-switch.1.gz

which is strange. shouldn't it be

...
-- Up-to-date: /home/kalium/.local/bin/xkb-switch
-- Up-to-date: /home/kalium/.local/lib/libxkbswitch.so.2.0.1
-- Up-to-date: /home/kalium/.local/lib/libxkbswitch.so.2
-- Up-to-date: /home/kalium/.local/lib/libxkbswitch.so
-- Up-to-date: /home/kalium/.local/share/man/man1/xkb-switch.1.gz

is that a problem? or it should be like this?
Thanks very much

@sergei-mironov
Copy link
Owner

Hi. What outcome do you expect? It looks like make detects that xkb-switch files are already present in the ~/.local tree and refuses to overwrite them. Did you call install several times?

@kalium222
Copy link
Author

yes, i call it twice, but when i called it at first time, it installed everything of xkb-switch in ~/.local/usr, which is every strange because we cannot run xkb-switch in bash because it is not in the path. I am not sure but I think they may be in the bin, lib, share in the ~/.local. Maybe we should modify the cmakelist?

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

No branches or pull requests

2 participants