User talk:FrostCS

From KDE TechBase

Since building KBE on Nevada (SXCE/SXDE) requires much less work and effort then building it on Solaris 10, I decided to write a simple how to. The only thing you need installed to start this is Sun Studio 12. The newer the release, the better usually.

First

We need to make certain if we installed our Sun Studio 12 from a tarball, that we have also added the symlinks that will be needed to compile one or two things, plus Sun Studio installs these by default.

$which cc /usr/bin/cc $which CC /usr/bin/CC

If this isn't what you get, don't panic, we will just add the symlinks and it will be fixed.

ln -s /opt/SUNWspro/bin/cc /usr/bin/cc ln -s /opt/SUNWspro/bin/CC /usr/bin/CC $which cc /usr/bin/cc $which CC /usr/bin/CC

Good to go? Good!

Patching your System

"Boost, one of the dependencies, builds Python bindings, and the Python headers installed by the system Python package are broken. So you will have to edit them as root to fix this. Fortunately it will take a while before Boost gets there, so start the make process and then an editor. In /usr/include/python2.4/pyport.h there is a gethostname() prototype that must be commented out. Or get a good copy of pyport.h here."

Second

This next part is a lot easier, we need to download all the stuff we are going to need to build KBE, and the dependencies from. I like to keep everything in the base of the users home directory for this. You will need atleast 6gb in your users home directory for this (or wherever you choose to put it). Takes a while but it's worth it.

cd ~/ svn co https://svn2.cvsdude.com/kdesolaris/trunk Dude

When it's done it will say the revision number at the end, you can always make sure by..

svn up Dude

Third

Now we start building KBE, the KDE build environment. It's pretty easy from this point on.

cd ~/Dude/KBE bash kbe-install

I used the default installation directory, and previously the default installation directory for the Studio 12 install, so when prompted to answer, I just hit return. This should build your KBE, If you have any problems you should ask in #kde-solaris on freenode.net (IRC chat), or simply email the kde-discuss mailing list on opensolaris.org .

Fourth

We now get to start building dependencies for our project, YAY. It's quite simple really.

. /opt/kdebld/bin/env.sh cd ~/Dude/SPECS make

And off it goes...