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

Jump to: navigation, search
m (Required Packages)
(make it easy for the user to execute)
Line 12: Line 12:
 
  yast -i <packagename>
 
  yast -i <packagename>
  
The packages you will need to install are:
+
Here is a list of packages you need to have installed. Each one is starting with yast -i , so you can just copy-and-paste the lines into your konsole:
<code>
+
<pre>
alsa-devel
+
yast -i alsa-devel
automoc4
+
yast -i automoc4
avahi-devel
+
yast -i avahi-devel
patch (needed to build qt-copy)
+
yast -i patch
cups-devel
+
yast -i cups-devel
kde4-filesystem
+
yast -i kde4-filesystem
libbz2-devel
+
yast -i libbz2-devel
avahi-compat-mDNSResponder-devel
+
yast -i avahi-compat-mDNSResponder-devel
hal-devel
+
yast -i hal-devel
xorg-x11-devel
+
yast -i xorg-x11-devel
libQtWebKit-devel
+
yast -i libQtWebKit-devel
libxml2-devel  
+
yast -i libxml2-devel  
kdesdk3  
+
yast -i kdesdk3  
clucene-core-devel  
+
yast -i clucene-core-devel  
boost-devel
+
yast -i boost-devel
libjpeg-devel  
+
yast -i libjpeg-devel  
liblrdf-devel  
+
yast -i liblrdf-devel  
libpng-devel  
+
yast -i libpng-devel  
libxslt-devel  
+
yast -i libxslt-devel  
libredland-devel
+
yast -i libredland-devel
Mesa-devel  
+
yast -i Mesa-devel  
giflib-devel  
+
yast -i giflib-devel  
subversion  
+
yast -i subversion  
gcc
+
yast -i gcc-c++
gcc-c++
+
yast -i gmp-devel
gmp-devel (needed to build kdesupport)
+
yast -i xine-devel
xine-devel
+
yast -i libgpgme-devel (needed to build kdepimlibs)
libgpgme-devel (needed to build kdepimlibs)
+
yast -i pcre-devel
pcre-devel
+
</pre>
</code>
+
  
 
= Optional Packages =
 
= Optional Packages =

Revision as of 17:17, 22 November 2008


Contents

Getting_Started/Build/KDE4/openSUSE


Required Packages

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>

Here is a list of packages you need to have installed. Each one is starting with yast -i , so you can just copy-and-paste the lines into your konsole:

yast -i alsa-devel
yast -i automoc4
yast -i avahi-devel
yast -i patch 
yast -i cups-devel
yast -i kde4-filesystem
yast -i libbz2-devel
yast -i avahi-compat-mDNSResponder-devel
yast -i hal-devel
yast -i xorg-x11-devel
yast -i libQtWebKit-devel
yast -i libxml2-devel 
yast -i kdesdk3 
yast -i clucene-core-devel 
yast -i boost-devel
yast -i libjpeg-devel 
yast -i liblrdf-devel 
yast -i libpng-devel 
yast -i libxslt-devel 
yast -i libredland-devel
yast -i Mesa-devel 
yast -i giflib-devel 
yast -i subversion 
yast -i gcc-c++
yast -i gmp-devel
yast -i xine-devel
yast -i libgpgme-devel (needed to build kdepimlibs)
yast -i 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]

Build it

cmake

Now install cmake, in this example 2.6.2:

cd
wget http://www.cmake.org/files/v2.6/cmake-2.6.2.tar.gz
tar xvzf cmake-2.6.2.tar.gz
cd cmake-2.6.2
./bootstrap
make && make install

distro 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