Difference between revisions of "Getting Started/Build/Distributions/openSUSE"

Jump to: navigation, search
m ("for building" -> "to build" for consistency)
(kdelibs requires cmake 2.6.2)
Line 11: Line 11:
 
</code>
 
</code>
  
'''Required Packages'''
+
= Required Packages =
  
 
The packages you will need to install are:
 
The packages you will need to install are:
Line 18: Line 18:
 
automoc4
 
automoc4
 
avahi-devel
 
avahi-devel
cmake
 
 
patch (needed to build qt-copy)
 
patch (needed to build qt-copy)
 
cups-devel
 
cups-devel
Line 46: Line 45:
 
</code>
 
</code>
  
'''Optional Packages'''
+
= Optional Packages =
  
 
You can skip the manual and painful installation kdesupport and its dependencies ( Qt 4.3, CMake 2.4.6, DBus, Hal, clucene-core, Strigi,
 
You can skip the manual and painful installation kdesupport and its dependencies ( Qt 4.3, CMake 2.4.6, DBus, Hal, clucene-core, Strigi,
Line 63: Line 62:
 
</code>
 
</code>
  
 +
= cmake =
 +
Now install cmake, in this example 2.6.2:
 +
wget http://www.cmake.org/files/v2.6/cmake-2.6.2.tar.gz
 +
tar xvzf cmake-2.6.2.tar.gz
 +
 +
= install packages =
 
Now install the following packages:
 
Now install the following packages:
 
<code>
 
<code>
cmake
 
 
dbus-1-devel
 
dbus-1-devel
 
libqt4-devel
 
libqt4-devel

Revision as of 16:36, 22 November 2008


Contents

Getting_Started/Build/KDE4/openSUSE

In openSUSE 10.2 and newer, you can install packages using Zypper: sudo zypper install <package-name>

In older releases of SUSE, you can use YaST: su yast -i <packagename>

Required Packages

The packages you will need to install are: alsa-devel automoc4 avahi-devel patch (needed to build qt-copy) cups-devel kde4-filesystem libbz2-devel avahi-compat-mDNSResponder-devel hal-devel xorg-x11-devel libxml2-devel kdesdk3 clucene-core-devel boost-devel libjpeg-devel liblrdf-devel libpng-devel libxslt-devel libredland-devel Mesa-devel giflib-devel subversion gcc gcc-c++ gmp-devel (needed to build kdesupport) xine-devel libgpgme-devel (needed to build kdepimlibs) pcre-devel

Optional Packages

You can skip the manual and painful installation kdesupport and its dependencies ( Qt 4.3, CMake 2.4.6, DBus, Hal, clucene-core, Strigi, Soprano and other Nepomuk dependencies) by adding the KDE:KDE4 repository from the openSUSE Build Service to your installation sources.

For openSUSE 10.2 and newer add this Repository to your Install Source (Yast) http://download.opensuse.org/repositories/KDE:/KDE4:/STABLE:/Desktop/openSUSE_10.2/

For older versions of SUSE Linux do: su installation_sources -a http://software.opensuse.org/download/KDE:/KDE4:/[YOUR SUSE LINUX VERSION]

cmake

Now install cmake, in this example 2.6.2:

wget http://www.cmake.org/files/v2.6/cmake-2.6.2.tar.gz
tar xvzf cmake-2.6.2.tar.gz

install packages

Now install the following packages: dbus-1-devel libqt4-devel libqca2-devel libsoprano-devel libqimageblitz-devel strigi strigi-devel

CMake binary packages for openSUSE are available from the KDE:KDE4 repository as well as from the openSUSE build service.

There are a lot more packages that are needed to satisfy the config-check, such as libusb-devel, bison etc., so look out for the config notifications and install accordingly. Please remember to skip any instructions that refer to kdesupport below. Start to compile with kdelibs.


Return to building KDE 4.


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