Welcome, I'm Shantanu Tushar, currently pursuing B.E. in Computer Science And Engineering at B.M.S. College Of Engineering, Bangalore. You'll find here mostly, apart from my personal details, technical stuff that I am able to put on here. Please share your views and comments in the Feedback section.
Please note that all content here is the best to my knowledge, and I do not take responsibility for any direct/indirect loss caused by following the text herein.
How to fix Python error while compiling kdebase
Some days back, while compiling kdebase, I faced the following errors-
Thanks for Patrick Aljord for reporting the solution which is as follows-
We've to pass -DPYTHON_SITE_PACKAGES_DIR:PATH=/path/where/you/want/to/install to cmake when building kdebase.
So, if you are using cmakekde script and don't know how to do the above, try the following commands-
- cb KDE/kdebase
- cmake ../../../src/KDE/kdebase/ -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$KDEDIRS -DPYTHON_SITE_PACKAGES_DIR:PATH=~/.local/lib/python2.6/site-packages
- make install
Hope this helps