can't install kdebase, needs root
Michael Jansen
kde at michael-jansen.biz
Fri Jun 25 20:34:02 CEST 2010
On Donnerstag 24 Juni 2010 23:24:36 Alexander Neundorf wrote:
> On Thursday 24 June 2010, Michael Jansen wrote:
> >
> > And another question. Shouldn't kdebindings (pykde4) start to use the
> > same var? If i understand correctly i currently have to override
> > PYTHON_SITE_PACKAGES_DIR there to not install into my distro python
> > prefix.
>
> Yes.
>
> Alex
Ok. I tried to prepare a patch but encountered a problem.
PYTHON_SITE_PACKAGES_DIR was always an absolute path
PYTHON_SITE_PACKAGES_INSTALL_DIR is a relative path
which breaks lines like these:
INSTALL(
CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND}
-DTARGET=${PYTHON_SITE_PACKAGES_INSTALL_DIR}/PyQt4/uic/pykdeuic4.py
-DLINK_NAME=${BIN_INSTALL_DIR}/pykdeuic4 -P ${cmake_module_dir}/create_exe_symlink.cmake)"
)
Why is PYTHON_SITE_PACKAGES_INSTALL_DIR a relative path anyway? I have never seen those in cmake
before. Do we have to fix create_exe_symlink.cmake or do we have to make the var absolute?
Mike
More information about the Kde-buildsystem
mailing list