Projects/KDE on Solaris/Status
This page lists the status of KDE4 on Solaris; for KDE on Solaris instructions on getting KDE4 on Solaris see the other Techbase page.
While Solaris 10 is getting a bit dated, there is one nice thing about building current software on it. Almost nothing conflicts. If it does, then it's something that's done once, and it doesn't pop up again. Unlike SXCE/Nevada/OSOL, where the list of dependencies is changing bi-weekly. I find that just too annoying for words. Another reason, is that for the most part, stuff from Sun's JDS project or the Spec Files Extra project can be prototyped in very quickly, so the benefit of the initial port work is already done. Solaris 10U8 has 64-bit libraries for libssl and libcrypto, which has been a bit of a blocker, and with the addition of a 64-bit libusb library, there shouldn't be much that can't be built.
Dependencies TO-DO List
Due to a year of neglect, there are some new dependencies that are going to need to be done for Solaris 10. First, mysql-5.1. This is in the osol repo and should be an easy port. Solaris 10 only has mysql-4.x and only a 32-bit client which makes building qt on 64-bit rather problematic.
Second is ruby18, again which is in the osol repo, and again should be an easy port.
The following list is the growing set of dependencies that is being migrated from the old DUDE tarball structure, to complete spec files. Any upgraded spec files can be easily recompiled to the original by just changing the Version or src_ver variable. This is done to retain compatibility with the original 4.1.4 release that was done.
There are several sets of modules which require a circular dependency build to effect all the functionality. gettext requires libiconv, but libiconv requires gettext. So we build gettext, then libiconv, then remove gettext and rebuild it again with libiconv support, then rebuild libiconv support with the real gettext support.
- expat-2.0.1 (upgraded from 2.0.0)
- lcms-1.18a (upgraded from 1.17)
- gettext-0.17, libiconv-1.11
- gettextwo (temp), libiconvwo (temp), gettext (real), libiconv (real)
- stdcxx-4.2.1 (Dude svn co r.3072, change -lstdcxx to -lstdcxx4)
- ncurses-5.7 (upgrade from ncurses-5.6 ,working with updated stdcxx4, 1/16/2010)
- freetype2-2.3.9 (upgraded from 2.3.6)
- fontconfig-2.5.0 (upgrade to 2.7.0 caused build failures in KDEedu, so reverted, 1/15/2010)
- popt-1.15 (upgraded from 1.7)
- pkg-config-0.23 (new, to support glib2/gstreamer >= 0.10.22)
- libcddb 1.3.2(new, to support libcdio and vddimager, and others)
- libcdio 0.82 (upgraded from 0.78.2)
- libcddbwo (temp), libcdiowo (temp), vcdimagerwo (temp), libcdio, vcdimager, libcddb (depends on libcdio...)
- sqlite-3.6.20 (upgraded from 3.3.8)
- glib2-2.12.12 (upgrade to glib2-2.14.6 caused problems with moc/automoc4, so phonon would not build 1/15/2010)
- libdvdcss-1.2.10 (upgraded from 1.2.9)
- libdvdread-4.1.3 (upgrade from 0.9.4)
- libdvdnav-4.1.3 (upgrade from 0.1.10)
- gstreamer-0.10.22 (upgrade from 0.10.17)
- libogg-1.1.4 (upgrade from 1.1.3)
- libgpg-error-1.7 (upgrade from 1.5)
- libfstyp-1.0 (backport from opensolaris)
- endian-1.0 (port of glibc endian.h portability macros)
- mit-kerberos5-1.6.3, cyrus-sasl-2.1.21, openldap-2.3.2
- mit-kerberos (temp), cyrus-sasl (temp), openldap (temp), mit-kerberos5 (real), cyrus-sasl (real), openldap (real)
- amrnb-26104-610, amrwb-26204-700
- audiofile-0.2.6 (added extra patches from the F12 repo)
- cups-1.4.2 (upgrade from 1.1.12)
- If the system locale is C, then every Qt application will spit out an iconv warning on startup; this is annoying but harmless. Setting LANG to something else (e.g. LANG=646, even) will help. Long term solution: add encoding or system workaround.
The intention of this showstopper list is to provide more detail and context for what we consider showstoppers for getting KDE4 on Solaris shipped. It doesn't correspond to the Release Team's list, at least not until we get a lot more Solaris mindshare. Each showstopper should have a name, a KDE Bugzilla entry and a long(er) description.
no bugs.kde.org entry yet
In a konsole tab, you can break the link between the shell / session / tab output and konsole itself, so that nothing gets printed anymore. To reproduce this problem, you need to either hit ^C at an inopportune time (there's plenty of that) or produce an unusual output pattern. Here's a long-winded way of looking at the ^C issue:
- start konsole
- start a new tab for convenience
- check that the shell is working, for instance by running ls
- tail -f /var/log/messages
- hit ^C; notice that tail is interrupted and the shell returns
- ls again, to see the shell still works
- at the shell prompt itself, hit ^C; you would expect a new shell prompt to be printed, but it is not
- type "date > /tmp/foo ; exit" and it enter (without the quotes)
- notice that /tmp/foo now exists with the right time and that the shell / session / tab closes
Here is a way of breaking the link without ^C but by producing a not-very-special output pattern. You need to have the C compiler installed:
- start konsole
- start a new tab for convenience
/usr/ucb/echo -n "#include <math.h>" > t.c
- notice how the shell prompt does not come back after the warnings printed by the C compiler
- type exit to close the shell / session / tab
You cannot keep typing indefinitely in a session that is not reading output; it seems like eventually the output from the shell hangs as well. Also, you can hang konsole completely by doing this.