Use the following commands to install the needed packages:
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 yast -i pcre-devel yast -i dbus-1-devel yast -i libqt4-devel
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
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)
For older versions of SUSE Linux do:
installation_sources -a http://software.opensuse.org/download/KDE:/KDE4:/[YOUR SUSE LINUX VERSION]
Now install kdesupport from SUSE:
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 from Getting_Started/Build/KDE4 that refer to kdesupport. Start to compile with kdelibs.
Return to building KDE 4.