hyprlock icon indicating copy to clipboard operation
hyprlock copied to clipboard

Cannot install hyprlock after building it

Open mrunix00 opened this issue 1 year ago • 3 comments

I have followed the instructions in README.md to build hyprlock, but when I try to install it I get the following error message:

➜  hyprlock git:(main) sudo cmake --install build

-- Install configuration: "Release"
-- Up-to-date: /usr/local/bin/hyprlock
CMake Error at build/cmake_install.cmake:64 (install):
  install command is not scriptable

mrunix00 avatar Mar 24 '24 17:03 mrunix00

Are you using the -P flag by any chance? It shouldn't happen without it.

If all else fails, use this patch.

fufexan avatar Mar 24 '24 17:03 fufexan

Are you using the -P flag by any chance? It shouldn't happen without it.

Nope, I have copied the same commands in the README

If all else fails, use this patch.

This worked, thanks!

mrunix00 avatar Mar 24 '24 18:03 mrunix00

Worked for me as well, building on Ubuntu 23.10 (mantic).

And for anyone who is a new to this like I am, replace the lines in CMakeLists.txt BEFORE running any of the build commands, not after building but before installing. ;)

hhhorb avatar Mar 29 '24 00:03 hhhorb