can't install kdebase, needs root
Alexander Neundorf
neundorf at kde.org
Thu Jun 24 22:21:25 CEST 2010
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.
Alex
More information about the Kde-buildsystem
mailing list