中午的时候翻到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/LinuxUsing built-in specs.Target: x86_64-unknown-linux-gnuConfigured 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=genericThread model: posixgcc 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 --ensure2)下载并编译kdesupport
svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/cd kdesupportmkdir buildcd buildcmake .. -DCMAKE_INSTALL_PREFIX=/opt/kde4make sudo make installmake clean3)下载编译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/kdelibsmkdir buildcd buildcmake .. -DCMAKE_INSTALL_PREFIX=/opt/kde4makesudo make installmake clean4) 创建x菜单
sudo touch /usr/share/xsessions/kde4.desktop修改其中内容即可
posted on 2008-12-18 17:53
Wang Feng 阅读(579)
评论(0) 编辑 收藏 引用 所属分类:
Tao