Difference between revisions of "Getting Started/Build/KDE4/Generic"

Jump to: navigation, search
(DBUS)
(Qt)
Line 32: Line 32:
  
 
  svn co https://svn.kde.org/home/kde/trunk/qt-copy
 
  svn co https://svn.kde.org/home/kde/trunk/qt-copy
 +
cd qt-copy
 +
./apply_patches
 +
./configure -qt-gif -no-exceptions -debug -fast \
 +
-prefix $QTDIR -nomake examples -nomake demos
 +
make -j4

Revision as of 16:54, 17 March 2008

This article describes how to get a build environment for kdelibs from KDE 4 generically, i.e. not bound to a specific distribution.

CMake

wget http://www.cmake.org/files/v2.4/cmake-2.4.6.tar.gz
tar -zxf cmake-2.4.6.tar.gz
mkdir cmake-build
cd cmake-build 
../cmake-2.4.6/bootstrap
make
sudo make install

DBUS

wget http://dbus.freedesktop.org/releases/dbus/dbus-1.0.2.tar.gz
tar -xvzf dbus-1.0.2.tar.gz
cd dbus-1.0.2/
./configure --prefix=$DBUSDIR --localstatedir=/var
make
sudo make install
sudo dbus-uuidgen --ensure
wget http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-0.74.tar.gz
tar -xvzf dbus-glib-0.74.tar.gz
cd dbus-glib-0.74/
./configure --prefix=$DBUSDIR
make
sudo make install
cd
sudo chown -R kde-devel:kde-devel * || sudo chown -R kde-devel:users *

Qt

svn co https://svn.kde.org/home/kde/trunk/qt-copy
cd qt-copy
./apply_patches
./configure -qt-gif -no-exceptions -debug -fast \
-prefix $QTDIR -nomake examples -nomake demos
make -j4

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal