If you're interested in just checking things out, binaries for kdelibs and parts of KDE in general are available at http://techbase.kde.org/index.php?title=Projects/KDE_on_Mac_OS_X and are generated semi-regularly.

+

If you're interested in just checking things out, binaries for kdelibs and parts of KDE in general are available at [[Projects/KDE on Mac OS X]] and are generated semi-regularly.

== Further Reading ==

== Further Reading ==

For more general information on using CMake, see the [[Development/Tutorials/CMake|CMake Tutorial]].

For more general information on using CMake, see the [[Development/Tutorials/CMake|CMake Tutorial]].

Revision as of 22:13, 24 February 2008

Tip

Note: This page is about KDE 4. It isn't applicable for KDE 3 development.

This section needs improvements: Please help us to

cleanup confusing sections and
fix sections which contain a todo

Note: You may wish to do all of this inside a directory name that ends in .noindex or .build to keep spotlight from indexing all of your temporary build-files as you build them.

Contents

Required Third Party Tools

The following third party tools are required for successfully building KDE on OSX. Many of these libraries can be found pre-compiled in kdesupport.pkg, stringi.pkg, blitz.pkg and soprano.pkg, which can be found here: http://ranger.users.finkproject.org/kde/index.php/Home (BROKEN LINK, fink seems to be down).

AGG

bzip2

giflib or libungif

libart_lgpl

libidn

libjpeg

libmng

libpng

libxml2

libxslt

libusb

OpenEXR

PCRE

Strigi

shared-mime-info

pkgconfig

subversion (to check out the kde sources)

dbus

Verify Compiler Version

Fink: If your Distribution line in /sw/etc/fink.conf is 10.4-transitional, instead of 10.4, make sure you run sudo gcc_select 3.3 before proceeding with any compiling, or you will end up with binary-incompatible c++ code!

Manual: run sudo gcc_select 4.0 if you want to be compatible with the pre-made installers.

Building kdelibs

kdelibs must be checked out of svn locally to be built:
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs
And then compiled by performing the following:
mkdir kdelibs.build
cd kdelibs.build
cmake ../kdelibs -DCMAKE_INSTALL_PREFIX=/opt/kde4
make all install