[Kde-bindings] can't install kdebase, needs root

Alexander Neundorf neundorf at kde.org
Thu Jun 24 21:24:36 UTC 2010


On Thursday 24 June 2010, Michael Jansen wrote:
> On Donnerstag 24 Juni 2010 22:35:17 Michael Jansen wrote:
> > On Donnerstag 24 Juni 2010 22:21:25 Alexander Neundorf wrote:
> > > On Thursday 24 June 2010, Michael Jansen wrote:
> > > > > > It adds a cache variable PYTHON_SITE_PACKAGES_INSTALL_DIR, which
> > > > > > is relative by default, so it will be inside
> > > > > > CMAKE_INSTALL_PREFIX. Additionally it makes
> > > > > > PYTHON_SITE_PACKAGES_DIR a FORCED cache variable, it is not
> > > > > > intended to be changed. But by having it in the cache, it can be
> > > > > > seen by the user.
> > > > > > Additionally it puts PYTHON_INCLUDE_DIR in the cache.
> > > > > >
> > > > > > Then the new variable is used in kdebase (...which makes
> > > > > > kdebase/workspace/ require this version of kdelibs then).
> > > > > >
> > > > > > What do you think ?
> > > > >
> > > > > Committed, with a small change so updating kdelibs is not
> > > > > immediately necessary.
> > > >
> > > >       # This one is intended to be used and changed by the user for
> > > >
> > > > installing own modules: set(PYTHON_SITE_PACKAGES_INSTALL_DIR
> > > > lib/python${PYTHON_SHORT_VERSION}/site-packages CACHE PATH "The
> > > > directory where python modules will be installed to.")
> > > >
> > > > Shouldn't that use LIB_SUFFIX?
> > > >
> > > > set(PYTHON_SITE_PACKAGES_INSTALL_DIR
> > > > lib${LIB_SUFFIX}/python${PYTHON_SHORT_VERSION}/site-packages CACHE
> > > > PATH "The directory where python modules will be installed to.")
> > >
> > > Sounds like a good idea, please go ahead.
> >
> > Committed.
>
> 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



More information about the Kde-bindings mailing list