Saturday, April 30, 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 pkg.opensolaris.cz.
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
or
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.


No comments:

Post a Comment