Sunday, May 1, 2011

KDE 4.6.2 on Solaris 11, with gcc

Since some interesting KDE/Qt applications are not Sun/Oracle Studio friendly I've been pondering the use of gcc for some time already.

And here it is:

The lack of icons is due to Solaris bug (an older libpng version used stupidly by cairo) that I did not try to workaround.

I used SFEgcc from
I ditched the idea of reusing the kde-solaris workspace and for the moment built all packages with mere
./configure --prefix=/opt/kde4 && gmake && gmake install
PKG_CONFIG_PATH=/opt/kde4/lib/pkgconfig:/usr/lib/pkgconfig cmake .. -DCMAKE_INSTALL_PREFIX=/opt/kde4 && gmake && gmake install

No crazy mesh of *FLAGS, no nothing, just the defaults.

Only about 5 patches were needed for to have gdm-integration complete.

Unfortunately the session feels about as sluggish as when built with Studio.


  1. can you share a little recipe? pre-requisites? any particular order in which to build/install?

  2. I'll push the specs to the kde-solaris repository on bionicmutton once I have them more or less working

  3. link to tarballed repo at