[kde-solaris] How to build a stable version of KDE

Jan Hlodan jan.hlodan at gmail.com
Sat Apr 12 15:14:12 CEST 2008


Installation Stable Version - KDE 3.5.9


Tested on snv_79b x86 (32bit and 64bit)


export PATH=/usr/perl5/5.8.4/bin/:/usr/local/bin:/usr/sfw/bin/:/usr/openwin/bin/:/bin/:/usr/X11/bin/:/usr/X/bin/:/usr/ucb/:/usr/gnu/bin/:/usr/ccs/bin/:/sbin/:/usr/local/kde/bin:/usr/local/qt/bin:/usr/sbin:/usr/bin:$PATH

export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/X/lib/:/usr/X11/lib/:/usr/ccs/lib/:/usr/openwin/lib/:/usr/openwin/sfw/lib/:/usr/sfw/lib/:/lib/:/usr/local/kde/lib:/usr/local/qt/lib:$LD_LIBRARY_PATH

CC=/usr/sfw/bin/gcc
CXX=/usr/sfw/bin/g++
export CXX CC


QT

Download: qt-x11-free-3.3.8

ftp://ftp.trolltech.com/qt/source/

gunzip2 qt-x11-free-3.3.8.tar.bz2
tar xvf qt-x11-free-3.3.8.tar
mv qt-x11-free-3.3.8 qt
mkdir /usr/local
mv qt /usr/local/
cd /usr/local/qt

./configure -system-zlib -qt-gif -system-libpng \
-platform solaris-g++ -prefix /usr/local \
-system-libjpeg -plugin-imgfmt-mng -thread -no-stl \
-no-xinerama -no-g++-exceptions

gmake


 Download: KDE 3 series

http://www.kde.org/download/

ALERT! Make sure to compile and install arts first, and afterwards
kdelibs and then kdebase before any other packages. Also, if you want
to use kdeaddons, it should be compiled last as it requires kdebase,
kdemultimedia, etc.


ARTS

mkdir /usr/local/kde
cd /arts-1.5.9
./configure --prefix=/usr/local/kde CC=/usr/sfw/bin/gcc CXX=/usr/sfw/bin/g++
gmake
gmake install


LIBART 2.3.19


http://linux.softpedia.com/get/Programming/Libraries/libart-lgpl-34706.shtml


./configure --prefix=/usr/local/kde CC=/usr/sfw/bin/gcc CXX=/usr/sfw/bin/g++

gmake
gmake install


KDELIBS


./configure --with-extra-includes=/usr/include/pcre/
--with-ssl-dir=/usr/sfw/ --prefix=/usr/local/kde/ CC=/usr/sfw/bin/gcc
CXX=/usr/sfw/bin/g++


BerkeleyDB

 BDB and HDB backends require Oracle Berkeley DB 4.2, 4.4, or 4.5.
 I used Oracle Berkeley DB 4.5.20

http://www.oracle.com/technology/software/products/berkeley-db/db/index.html

cd db-4.5.20/build_unix

../dist/configure --prefix=/usr/local/ CC=/usr/sfw/bin/gcc CXX=/usr/sfw/bin/g++

gmake
gmake install


LDAP


OpenSolaris? uses some version of ldap that is incompatible with
OpenLDA?, which KDE expects.

ftp://ftp.ntua.gr/mirror/OpenLDAP/openldap-stable/openldap-stable-20071118.tgz


./configure --prefix=/usr/local/kde CC=/usr/sfw/bin/gcc CXX=/usr/sfw/bin/g++



KDEBASE


./configure --prefix=/usr/local/kde CC=/usr/sfw/bin/gcc CXX=/usr/sfw/bin/g++

gmake
gmake install



Troubleshooting

Download "patch"
http://www.mediafire.com/?mzbhzltv3gk


KDElibs

 Replace: art_misc.h and libart_lgpl_2.la

 In ./http/Makefile find the lines:

GSSAPI_INCS = /usr/bin/krb5-config: Unknown option `gssapi' -- use
`--help' for usage
GSSAPI_LIBS = /usr/bin/krb5-config: Unknown option `gssapi' -- use
`--help' for usage

 replace the stupid values with the correct ones:

GSSAPI_INCS = -I/usr/include/kerberosv5
GSSAPI_LIBS = -L/usr/lib -R/usr/lib -lkrb5

 Replace krb5-config


KDEbase

 error - kompmgr.c ( replace )

Thank you for help.
Special Thanks to Apostolos Syropoulos for his help and patience!


More information about the kde-solaris mailing list