[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    Re: can't install kdebase, needs root
From:       Michael Jansen <kde () michael-jansen ! biz>
Date:       2010-06-25 18:34:02
Message-ID: 201006252034.09716.kde () michael-jansen ! biz
[Download RAW message or body]

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
_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic