Bug 175208 - prompt kdesu when installing in system paths
Summary: prompt kdesu when installing in system paths
Status: RESOLVED FIXED
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-15 12:48 UTC by Pino Toscano
Modified: 2024-08-31 20:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pino Toscano 2008-11-15 12:48:33 UTC
+++ This bug was initially created as a clone of Bug #174806 +++

because of:

CMake Error at workspace/plasma/scriptengines/python/cmake_install.cmake:68 (FILE):
  file INSTALL cannot copy file
  "/mnt/data/kde/source/kdebase/workspace/plasma/scriptengines/python/plasmascript.py"
  to "/usr/lib64/python2.5/site-packages/PyKDE4/plasmascript.py".
Call Stack (most recent call first):
  workspace/plasma/scriptengines/cmake_install.cmake:40 (INCLUDE)
  workspace/plasma/cmake_install.cmake:43 (INCLUDE)
  workspace/cmake_install.cmake:62 (INCLUDE)
  cmake_install.cmake:39 (INCLUDE)

it is not possible to install kdebase, a similar error appears in kdeedu. 

Would it be possible to detect that and ask for the sudo password in these cases?

It seems to be a limitation in Python < 2.6.

+++

Reopening (well, cloning) this bug (wish) for kdesvn-build, asking for kdesu prompt for such cases.
Comment 1 Michael Pyne 2009-02-28 20:46:32 UTC
The current mechanism for handling this is make-install-prefix.  If merely prepending the make install command with "kdesu" will do the right thing then it shouldn't be too hard, and I wouldn't be opposed in theory.

But it's not very high on my priority list either.
Comment 2 Andrew Shark 2024-08-31 20:13:39 UTC
Yes, there is make-install-prefix, which can be set.