[kde-solaris] Kdelibs and kdesupport builds out of the box

Adriaan de Groot groot at kde.org
Thu Dec 11 01:20:57 CET 2008

Hi Kunal,

Welcome to the show. It was good to talk to you at FOSS.in. Like I said then, 
gcc is not our compiler of choice and gcc-specific issues are not things we 
can help out on effectively. On the other hand, the general issues of Solaris 
system headers (like the missing <unistd.h> you have been fixing in KDE SVN) 
are applicable whatever compiler you use. And then there's extra OSOL 
functionality which can be developed with whatever compiler (keeping in mind 
that on Solaris it's got to be SS12 buildable). 

On Wednesday 10 December 2008 18:59:37 Kunal Deo wrote:
> I have updated the SVN trunk repository for kdelibs and kdesupport to build
> successfully with GCC 4.3.2.

Excellent. Any extra patches needed? Bear in mind that at least kpty has real 
issues in its default state in KDE SVN; the patches we have in our Solaris 
repo are needed.

> I am working to sort out the kdebase compilation issue. If somebody has
> time please see how it works with GCC 4.3.2. Kindly follow the standard KDE
> build guidelines available at
> http://techbase.kde.org/Getting_Started/Build/KDE4.

.. and keep in mind that you may or may not find the necessary dependencies in 
OSOL. We've added a lot of them, but it's all SS12-based.

> I am using #if defined __sun__

That's not a good choice. Use Q_OS_SOLARIS in KDE code if you must do OS-
specific things, possibly distinguishing between compilers (*NOT* a good idea; 
make it SS12-compatible) inside there.


More information about the kde-solaris mailing list