Deprecated: Function set_magic_quotes_runtime() is deprecated in /var/www/batland/wb/framework/initialize.php on line 33 - Kdevelop on Mac OS X

Kdevelop on Mac OS X

Even though I like a lot of Mac OS X application I just can’t work with X Code as an IDE. I am just got to used to kdevelop. Kdevelop is an integrated development environement for several programming and of course scripting language.

Therefore I tried to two diffrent ways to get kdevelop up and running on os x. If you're just looking for the working way, go to part 2


OS X native kde applications 

My first approach was getting a native version of kdevelop for OS X. This is possible, because since KDE version 4 one of KDE's goals is to get KDE ruunning on operating systems without X11. This means that KDE/KDE Applications will run on windows or mac os x natively one day.

You can either get binarys by compling KDE 4.1 by yourself which will be a pain in the butt or you can use prebuild packages which are provided by   

Currently (07.08.2008), they got only binary packages for KDE 4.1 Beta. And the installation is a little bit tricky. So first of all a few hints of how to get kdevelop installed and running, because the instructions on their site are not complety. But before you install these package read the rest of the article first!

The first error is in the requirements listing of kdevelop. You will not only need kdelibs, kdeprereqs, kdesupport, kdevplatform, qt (SVN trunk), but also kdebase-runtime. Then you need to patch all kde*.pkg files with this command:

                          chmod a+x *.pkg/Contents/Resources/postflight

Then you need to patch kdebase-runtime.pkg. You need to change in the kdebase-runtime.pkg/Contents/Info.plist file from







Thanks to Dmitriy Buldakov for pointing this out!
After this you can start and install all six packages. 
After an successful installation and reboot you will find the binary file for kdevelop in /opt/kde4/bin/. 
At the first startup I got this error: Could not start process Cannot talk to klauncher:
          The name org.kde.klauncher was not provided by any .service files.
But kdevelop still worked without a problem. So here a screenshot:
Click on image to enlarge 
 But after working with kdevelop for a few hours I've experienced several random craches. That's why I think that this version isn't useful for productive work. I know it's marked beta and I will give it another try when the next version (none beta) is released.
 Part 2: Using fink and X11

After all the trouble getting kdevelop to run natively on Mac OS X I gave the fink rpoject a try. MacPorts wasn't an option at all, because they do not have kdevelop in their repositories. The advantage of the fink project is that they supply bnary packages. This will save you a lot of time compared to compile this monster (kdevelop with all it's kde dependencies). 

Therefore I've donwloaded the install dmg. The installation was as simple as any Mac OS X pkg installation, but I recommand to read the README before you start up ;)

After that you got the powerful apt-get Programm which I know really well from my time with debain and min linux. So here a few lines of instructions:

So it is simple as that.

To get kdevelop isntalled from the binary repositories you've just to type:

apt-get install kdevelop

 So know you can start using kdevelop by just typing:


in a Terminal. If you want to start kdevelop out of the iconbar, you need to create an Icon with Platypus.

Using this option to install kdevelop (version 3.5.x) I've expierenced no crahes at all. The integration isn't that nice, but still very useful.  here an screenshot of kdevelop running in x11 on leporad:

 I really enjoy working with kdevelop under OS X and after some time getting used to X11/XQuartz I really do not notice the defference between kdevelop in x11 and the native port so far. Therefore I recommand kdevelop installed by fink to anyone who wants to use it on OS X.