kde4 svn 编译笔记

kde4 svn 编译笔记
 中午的时候翻到2007年12月24号的kde编译笔记,不知不觉一年过去了,忽有所感,于是重新编译一次kde4,记之;

enviroment:
$ uname -a && g++ -v && echo $CFLAGS && echo $CXXFLAGS
Linux enlightenment 2.6.27-ARCH #1 SMP PREEMPT Mon Dec 8 23:24:22 CET 2008 x86_64 Intel(R) Celeron(R) CPU 550 @ 2.00GHz GenuineIntel GNU/Linux
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,fortran,objc,obj-c++,treelang --enable-threads=posix --mandir=/usr/share/man --infodir=/usr/share/info --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch --with-tune=generic
Thread model: posix
gcc version 4.3.2 (GCC)
-O2 -march=nocona -pipe -fomit-frame-pointer -msse2 -mmmx -mfpmath=sse -msse3
-O2 -march=nocona -pipe -fomit-frame-pointer -msse2 -mmmx -mfpmath=sse -msse3

开工:
1)启动dbus,否则编译会出错
sudo dbus-uuidgen --ensure
2)下载并编译kdesupport
svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/
cd kdesupport
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/kde4
make
sudo make install
make clean
3)下载编译kde4
svn checkout svn://anonsvn.kde.org/home/kde/trunk/KDE

顺次编译 kdelibs, kdepimlibs, kdebase, kdepim, kdegraphics, kdemultimedia, kdenetwork, kdeutils, kdeartwork, kdeaccessibility, kdebindings, kdeedu, kdegames, kdesdk, kdetoys, kdevplatform, kdewebdev, kdevelop,如:
cd KDE/kdelibs
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/kde4
make
sudo make install
make clean

4) 创建x菜单
sudo touch /usr/share/xsessions/kde4.desktop
修改其中内容即可




你可能感兴趣的:(kde4 svn 编译笔记)