Tips for compiling KDE 4.1 from FreeBSD ports

Software

KDE I'm planning on doing a more comprehensive review of the KDE 4.1 desktop for Unix-like systems at some point in the next few weeks, but I thought I'd pass on a helpful hint to those trying to compile it from the FreeBSD ports system. If you see the following within the lines of errors it halts with:

gmake: *** [libgiofam.la] Error 1*** Error code 2
Stop in /usr/ports/devel/gio-fam-backend.

… it's probably a good indication you're running with an older version of glib installed; if you're running a system with the base ports system, this is quite normal. As far as I know, gio-fam-backend needs glib 1.6 or higher to build properly.

To fix it, navigate to the latest version of the glib C libraries in /usr/ports/devel/glib20 and do the usual make install clean. Now you should be able to build KDE 4.1 without trouble.

Author bio and support

Me!

Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person in bios. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.