You are not logged in.

#1 2021-11-13 15:13:36

faffy
Member
Registered: 2021-11-13
Posts: 2

Error installing Plasma-Bigscreen from source

Following the install steps from the github https://github.com/KDE/plasma-bigscreen

I changed permissions to 777 with no luck, attempting the install on a x86 system which is deemed possible if built from source

[user@tvbox plasma-bigscreen]$ cmake --build build --target install
[  2%] Built target org.kde.plasma.mycroft.bigscreen-look-and-feel-metadata-json
[  4%] Built target org.kde.plasma.mycroft.bigscreen-shells-metadata-json
[  6%] Built target org.kde.mycroft.bigscreen.homescreen-plasmoids-metadata-json
[  8%] Automatic MOC for target plasma_containment_biglauncherhomescreen
[ 11%] Built target plasma_containment_biglauncherhomescreen_autogen
[ 24%] Built target plasma_containment_biglauncherhomescreen
[ 26%] Built target kcm_audiodevice-kcms-metadata-json
[ 28%] Automatic MOC for target kcm_audiodevice
[ 31%] Built target kcm_audiodevice_autogen
[ 37%] Built target kcm_audiodevice
[ 40%] Built target kcm_mediacenter_wifi-kcms-metadata-json
[ 42%] Automatic MOC for target kcm_mediacenter_wifi
[ 44%] Built target kcm_mediacenter_wifi_autogen
[ 51%] Built target kcm_mediacenter_wifi
[ 53%] Built target kcm_mediacenter_kdeconnect-kcms-metadata-json
[ 55%] Automatic MOC for target kcm_mediacenter_kdeconnect
[ 57%] Built target kcm_mediacenter_kdeconnect_autogen
[ 64%] Built target kcm_mediacenter_kdeconnect
[ 66%] Built target kcm_mediacenter_bigscreen_settings-kcms-metadata-json
[ 68%] Automatic MOC for target kcm_mediacenter_bigscreen_settings
[ 71%] Built target kcm_mediacenter_bigscreen_settings_autogen
[ 86%] Built target kcm_mediacenter_bigscreen_settings
[ 88%] Automatic MOC for target bigscreenplugin
[ 88%] Built target bigscreenplugin_autogen
[100%] Built target bigscreenplugin
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/bin/plasma-bigscreen-wayland
CMake Error at bin/cmake_install.cmake:46 (file):
  file INSTALL cannot copy file
  "/home/user/plasma-bigscreen/build/bin/plasma-bigscreen-wayland" to
  "/usr/bin/plasma-bigscreen-wayland": Permission denied.
Call Stack (most recent call first):
  cmake_install.cmake:47 (include)


make: *** [Makefile:124: install] Error 1

Offline

#2 2021-11-13 15:44:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,300

Re: Error installing Plasma-Bigscreen from source

It can't copy the binary to your root filesystem, and the upstream suggestions do indicate you should run the --target install command as root (note the # instead of the $ at the start of the line) not sure which permissions you are talking about adjusting but hopefully not /bin as a whole.

The "fix" here would be running this command as root. The more pressing question is why you'd install this outside of your package manager and not use: https://aur.archlinux.org/packages/plas … creen-git/ instead.

Last edited by V1del (2021-11-13 15:44:43)

Offline

#3 2021-11-13 16:13:28

faffy
Member
Registered: 2021-11-13
Posts: 2

Re: Error installing Plasma-Bigscreen from source

V1del wrote:

It can't copy the binary to your root filesystem, and the upstream suggestions do indicate you should run the --target install command as root (note the # instead of the $ at the start of the line) not sure which permissions you are talking about adjusting but hopefully not /bin as a whole.

The "fix" here would be running this command as root. The more pressing question is why you'd install this outside of your package manager and not use: https://aur.archlinux.org/packages/plas … creen-git/ instead.

Can't believe I forgot to go to root, thanks


as for not using the aur it was this error

[user@tvbox ~]$ sudo yay -S plasma-bigscreen-git
 -> Avoid running yay as root/sudo.
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:2]  plasma-nano-git-r127.da8ffe2-1  plasma-bigscreen-git-r411.7344fe3-1

:: (0/2) Downloaded PKGBUILD: plasma-bigscreen-git
:: (0/2) Downloaded PKGBUILD: plasma-nano-git
 -> error fetching plasma-bigscreen-git: fatal: could not create work tree dir 'plasma-bigscreen-git': Permission denied 
         context: exit status 128

error fetching plasma-nano-git: fatal: could not create work tree dir 'plasma-nano-git': Permission denied 
         context: exit status 128

[user@tvbox ~]$ 

Offline

#4 2021-11-13 16:20:29

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,300

Re: Error installing Plasma-Bigscreen from source

-> Avoid running yay as root/sudo.

...

You should never use root to run makepkg/AUR helper operations. They'll invoke the sudo themselves when necessary.

Last edited by V1del (2021-11-13 16:23:18)

Offline

Board footer

Powered by FluxBB