Script to install Kdevelop with kdev-python 1.5 rc1:
#!/bin/bash # don't forget to uninstall KDevelop package if installed # http://techbase.kde.org/Projects/KDevelop4/HowToCompile # paths INSTALL_PATH=$HOME/apps/kdevelop4 SRC=$HOME/projects/src # install packages needed for compilation sudo apt-get install git cmake gcc g++ kdelibs5-dev zlib1g-dev kdebase-workspace-dev kdevelop-pg-qt libgrantlee-dev mkdir -p $SRC cd $SRC # get the sources git clone git://anongit.kde.org/kdevplatform git clone git://anongit.kde.org/kdevelop git clone git://anongit.kde.org/kdev-python # create build folders mkdir -p $SRC/kdevplatform/build mkdir -p $SRC/kdevelop/build mkdir -p $SRC/kdev-python/build # compile the sources cd $SRC/kdevplatform/build/ git checkout v1.5.0 cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH ../ make make install cd $SRC/kdevelop/build/ git checkout v4.5.0 cmake -DCMAKE_PREFIX_PATH=$INSTALL_PATH -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH ../ make make install cd $SRC/kdev-python/build/ git checkout v1.4.90 cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH -DCMAKE_MODULE_PATH=/usr/share/cmake/modules ../ make parser make install # paths for KDE PATHS_FILE="$HOME/.kde/env/kdevelop.sh" echo "export KDEDIRS=\$KDEDIRS:$INSTALL_PATH" > $PATHS_FILE echo "export PATH=\$PATH:$INSTALL_PATH/bin" >> $PATHS_FILE # Rebuild the system configuration cache export KDEDIRS=$KDEDIRS:$INSTALL_PATH kbuildsycoca4
All the plugins should be loaded:
Autocompletion works:
Its not working. I am building for kdevelop 4.5 . Build done successfully but python plugin cannot load
ReplyDelete"Cannot load library /home/v3ss/kdev/lib64/kde4/kdevpdb.so: (libkdev4pythonparser.so: cannot open shared object file: No such file or directory)" '
Work for me. Thks!
ReplyDelete