Bug 318187

Summary: kdesrc-build fails to install bodega-client
Product: [Unmaintained] bodega Reporter: Michael Bohlender <michael.bohlender>
Component: Plasma Active clientAssignee: Aaron J. Seigo <aseigo>
Status: RESOLVED NOT A BUG    
Severity: normal CC: active, aleixpol, notmart
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: complete error.log

Description Michael Bohlender 2013-04-11 11:38:26 UTC
I have kdesrc-build set up to install to /home/kde4

error log: 
...
-- Up-to-date: /home/bolo/kde4/include/bodega/uninstalljob.h
CMake Error at lib/bodega/handlers/epub/cmake_install.cmake:44 (FILE):
  file cannot create directory: /usr/lib64/qt4/plugins/bodegaassethandlers.
  Maybe need administrative privileges.
...



Reproducible: Always
Comment 1 Michael Bohlender 2013-04-11 11:39:41 UTC
Created attachment 78797 [details]
complete error.log
Comment 2 Aleix Pol 2013-04-11 11:44:45 UTC
What you want to do is to redefine the QT_PLUGINS_DIR variable in your CMakeCache, because at the moment it's using the one suggested by qmake.

You can do so by doing: cmake <builddir> -DQT_PLUGINS_DIR=<path to the builddir>

Remember to set the QT_PLUGIN_PATH envvar (colon-separed).
Comment 3 Michael Bohlender 2013-04-12 13:57:40 UTC
... thanks!