| Line 1: | Line 1: | ||
| − | {{Template:I18n/Language Navigation Bar|Getting_Started/Build/ | + | {{Template:I18n/Language Navigation Bar|Getting_Started/Build/Distributions/Arch Linux}} |
{{TutorialBrowser| | {{TutorialBrowser| | ||
| Line 7: | Line 7: | ||
name=Building KDE4 From Source (Arch Linux requirements)| | name=Building KDE4 From Source (Arch Linux requirements)| | ||
| − | pre=[[Getting_Started/Build | + | pre=[[Getting_Started/Build|Build KDE]]| |
| − | next=[[Getting_Started/Build | + | next=[[Getting_Started/Build|Build KDE]]| |
reading=[[Getting_Started/Build/kdesvn-build|kdesvn-build: The KDE From Subversion Build Tool]]<br>[[Getting_Started/Build/Environment|KDE Build Environment including useful scripts]]<br>[[Development/Tutorials/CMake |Introduction to CMake]]| | reading=[[Getting_Started/Build/kdesvn-build|kdesvn-build: The KDE From Subversion Build Tool]]<br>[[Getting_Started/Build/Environment|KDE Build Environment including useful scripts]]<br>[[Development/Tutorials/CMake |Introduction to CMake]]| | ||
| Line 30: | Line 30: | ||
pacman -Sy automoc4 akonadi eigen taglib soprano strigi qimageblitz phonon | pacman -Sy automoc4 akonadi eigen taglib soprano strigi qimageblitz phonon | ||
</code> | </code> | ||
| − | To build the latest versions of these instead, see [[Getting Started/Build/ | + | To build the latest versions of these instead, see [[Getting Started/Build/KDE_Support|building kdesupport]] |
For the makeobj script, you can either install kdesdk from [extra] or just download http://websvn.kde.org/*checkout*/trunk/KDE/kdesdk/scripts/makeobj and copy it to either /usr/bin or $HOME/bin (providing $HOME/bin is in your PATH). | For the makeobj script, you can either install kdesdk from [extra] or just download http://websvn.kde.org/*checkout*/trunk/KDE/kdesdk/scripts/makeobj and copy it to either /usr/bin or $HOME/bin (providing $HOME/bin is in your PATH). | ||
Note that there may be other optional dependencies of KDE modules, but almost all of these can be satisfied by [extra], [community] or the [http://aur.archlinux.org/ AUR]. The missing optional dependencies will be listed when configuring a package with cmake. To search and install from all the main repositories and the AUR at the same time, you can use [http://wiki.archlinux.org/index.php/Yaourt Yaourt]. | Note that there may be other optional dependencies of KDE modules, but almost all of these can be satisfied by [extra], [community] or the [http://aur.archlinux.org/ AUR]. The missing optional dependencies will be listed when configuring a package with cmake. To search and install from all the main repositories and the AUR at the same time, you can use [http://wiki.archlinux.org/index.php/Yaourt Yaourt]. | ||
| − | |||
| − | |||
| − | |||
Languages: عربي | Asturianu | Català | Česky | Kaszëbsczi | Dansk | Deutsch | English | Esperanto | Español | Eesti | فارسی | Suomi | Français | Galego | Italiano | 日本語 | 한국어 | Norwegian | Polski | Português Brasileiro | Română | Русский | Svenska | Slovenčina | Slovenščina | српски | Türkçe | Tiếng Việt | Українська | 简体中文 | 繁體中文
| Tutorial Series | Getting Started |
| Previous | Build KDE |
| What's Next | Build KDE |
| Further Reading | kdesvn-build: The KDE From Subversion Build Tool KDE Build Environment including useful scripts Introduction to CMake |
In Arch Linux you need to install the following packages:
pacman -Sy subversion bzip2 libxslt libxml2 libjpeg \
libungif shared-mime-info mesa boost dbus \
openssl pkgconfig xine-lib clucene redland \
gpgme hal cmake qt qca libical lcms
Note that Qt 4 will be installed by the command above (it is required by QCA anyway), but you can build your own from qt-copy in KDE svn, which will include several fixes not yet in a released version of Qt as well as giving you the option of compiling a version with debugging information. If you do this, the system installed QCA (and any other system libraries that use Qt 4) should work without a problem in your local KDE build.
All of the dependencies in kdesupport can be installed from the [extra] repository. These will be fine for building from the KDE stable branch, but some may be too old for building KDE from trunk.
pacman -Sy automoc4 akonadi eigen taglib soprano strigi qimageblitz phonon
To build the latest versions of these instead, see building kdesupport
For the makeobj script, you can either install kdesdk from [extra] or just download http://websvn.kde.org/*checkout*/trunk/KDE/kdesdk/scripts/makeobj and copy it to either /usr/bin or $HOME/bin (providing $HOME/bin is in your PATH).
Note that there may be other optional dependencies of KDE modules, but almost all of these can be satisfied by [extra], [community] or the AUR. The missing optional dependencies will be listed when configuring a package with cmake. To search and install from all the main repositories and the AUR at the same time, you can use Yaourt.