UPDATE: an updated script is here.
This is the script i made and used for compiling the most recent version of kdevelop with kdev-python plugin:
This is the script i made and used for compiling the most recent version of kdevelop with kdev-python plugin:
This worked for me on Kubuntu 11.10 with KDE 4.8.1.#!/bin/bash # http://techbase.kde.org/Projects/KDevelop4/HowToCompile # paths INSTALL_PATH=$HOME/apps/kdevelop4 SRC=$HOME/src # install packages needed for compilation sudo apt-get install git cmake gcc g++ kdelibs5-dev zlib1g-dev kdebase-workspace-dev kdevelop-pg-qt 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/ cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH ../ make make install cd $SRC/kdevelop/build/ cmake -DCMAKE_PREFIX_PATH=$INSTALL_PATH -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH ../ make make install cd $SRC/kdev-python/build/ cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH -DCMAKE_MODULE_PATH=/usr/share/cmake/modules ../ make parser make install # Rebuild the system configuration cache export KDEDIRS=$KDEDIRS:$INSTALL_PATH kbuildsycoca4 # paths for KDE PATHS_FILE="$HOME/.kde/env/kdevelop.sh" echo "#!/bin/bash" > $PATHS_FILE echo "export KDEDIRS=\$KDEDIRS:$INSTALL_PATH" >> $PATHS_FILE echo "export PATH=\$PATH:$INSTALL_PATH/bin" >> $PATHS_FILE # make executable chmod a+x $PATHS_FILE
No comments:
Post a Comment