[kde-solaris] Installation questions

Stefan Teleman steleman at nyc.rr.com
Wed Feb 15 02:41:26 CET 2006

On Tuesday 14 February 2006 09:59, Adrian Murillo wrote:
> Hi,
> Thanks for the steps...

> As a note:
> Under the directions to install DTLOGIN it reads that:
> mkdtlogin does not create the necessary directory tree, so I found
> the directory tree under /usr/dt/config/C and copied them to
> .../en_US.UTF-8 where the only directory in there was Xresources.d

this means that the en_US.UTF-8 locale is not installed at all on your 
system -- you only have the default skeleton directory.

this being the case, the dtlogin Session KDE menu will not show up, 
because en_US.UTF-8 is just not a session language/locale option on 
your system.

the best way of fixing this is to install the *.UTF-8 locales, and 
then re-run mkdtlogin with the appropriate arguments. KDE is very 
UTF-8 friendly, and if you ever want to switch locales or languages, 
or use more than one language (en_US), UTF-8 is much better than the 
old *.ISO8859-*.

the hacky way of fixing this (if you don't want to install the UTF-8 
locales) is actually quite painful, and it involves quite a bit of 
hand editing and copying. you would have to:

1. copy the Xresources.KDE-3.4.3-32.en_US.UTF-8 file 
from /usr/dt/config/en_US.UTF-8/Xresources.d/ 
to /usr/dt/config/en_US.ISO8859-1/Xresources.d/ 
(or /usr/dt/config/en_US.ISO8859-15/Xresources.d/), whichever you 
happen to have chosen. Please make sure that at least one of these 
directories exists, and it contains all the files described in the 
DTLOGIN installation instructions. If there directories do not exist, 
or are completely empty, or do not contain all the files described in 
the installation instructions, it means that the corresponding locale 
is not installed on your system. If that is the case, the 
corresponding dtlogin KDE session menu will not be available.
2. rename the suffix of this file from en_US.UTF-8 to en_US.ISO8859-1 
(or en_US.ISO8859-15).
3. edit the contents of this file, and replace all instances of the 
string 'en_US.UTF-8' with either 'en_US.ISO8859-1' or 
4. rename the suffix en_US.UTF-8 to either en-US.ISO8859-1 or 
en_US.ISO8859-15 for the following files:


5. edit the contents of _all_ these three files, and replace all 
instances of the string 'en_US.UTF-8' with either 'en_US.ISO8859-1' 
or 'en_US.ISO8859-15'.

6. copy /opt/kde-3.4.3/bin/startkde.en_US.UTF-8 
to /opt/kde-3.4.3/bin/startkde.en_US.ISO8859-1 
(or /opt/kde-3.4.3/bin/startkde.en_US.ISO8859-15)

7. edit the contents of this new KDE startup script 
(/opt/kde-3.4.3/bin/startkde.en_US.ISO8859-?), and replace all 
instances of the string 'en_US.UTF-8' with either 'en_US.ISO8859-1' 
or 'en_US.ISO8859-15'.

At this point, you should have the following file structure (let's 
assume that you are using en_US.ISO8859-15):


If all these files exist, and they have been edited correctly, you are 
ready to test the dtlogin KDE session menu. To do this, from the 
dtlogin screen, firs choose Options -> Reset Login Screen. After 
this, there should be a Session entry for KDE 3.4.3:

Options -> Session -> KDE 3.4.3 [32-bit en_US.ISO8859-15]

Note: you _must_ be running in the en_US.ISO8859-15 system locale when 
trying this. Otherwise the session will not appear in any other 
language/locale combination, even though it may be correctly 
installed and configured.

So, as you can see,  this is quite involved. My personal opinion is 
that it is much easier to just install the *.UTF-8 locales and then 
run the mkdtlogin program again, and then use en_US.UTF-8 in KDE.

I hope this makes sense. If you run into problems, or have any 
questions, just email me directly.

For any other language/encoding setting, repeat the same messy 
procedure above, with the corresponding language/encoding.



> I am not sure what to do with the startup files under
> /opt/kde-3.4.3/bin.
> I think I am stock at this point, any suggestions?
> Sorry, I not a guru on Solaris I am learning and I like KDE for
> desktop so please be patient.. ;-/
> Thanks,
> Adrian
> -----Original Message-----
> From: Stefan Teleman [mailto:steleman at nyc.rr.com]
> Sent: Sunday, February 12, 2006 9:46 PM
> To: KDE Solaris
> Subject: Re: [kde-solaris] Installation questions
> Importance: High
> On Sunday 12 February 2006 18:25, Dino Linux wrote:
> > Hi!
> >
> > I tried installing KDE on a Solaris 10 X86 box with no luck. I
> > don't understand how to install the packages on the kde ftp site.
> > And even after reading the installation instructions, I still
> > don't get it. I'm new to Solaris (been using it for about a
> > month), but I have expirence with UNIX like systems. I have
> > installed packages using pkgadd before, but I can't find any KDE
> > packages in that format. I wouldn't mind compiling KDE from
> > source, but I don't know how since I don't have make installed
> > here. If someone could point me in the right direction I be very
> > happy.
> Hi.
> 1. Download the packages for your platform (IA32AMD32).
> 2. The packages are archived and compressed as *.tar.bz2.
> 3. The files ending in *.md5 are the MD5 checksums for the
> respective packages (you can check this way if the package you
> downloaded is indeed the one i uploaded).
> 4. Uncompress the package (bunzip2 <package-name>.tar.bz2)
> 5. Un-tar the package (tar xvf <package-name>.tar).
> 6. At this point you'll have the old tar archive <package-name>.tar
> and the package per se.
> 7. install the package with:
> %> pkgadd -d `pwd` <package-name> # backticks not single quote
> (you must be root to do this, since the packages install under
> /opt, which is usually owned by root).
> 8. If the package installed correctly (which it should), you can
> remove the archive of the package.
> 9. Repeat with the next package, until you have installed all of
> them.
> The preferred order of installing these packages is:
> KDEkderequired-343
> KDEqt-334
> KDEpinentry-072-343
> If you are missing the libsunmath.so.1 libraries
> (under /usr/lib/libsunmath.so.1 and
> /usr/lib/amd64/libsunmath.so.1), you should also install
> KDEkderuntime-343 (this package installs these libraries).
> If you also want, you can install KDEblender-237a at this point.
> These packages are part of the "required" package bundle. Without
> these, KDE simply will not work at all.
> Now, you are ready to install KDE 3.4.3 proper. You should install
> these packages first, in this order:
> KDEkdearts-343
> KDEkdelibs-343
> KDEkdebase-343
> KDEkdenetwork-343
> KDEkdepim-343
> KDEkdemultimedia-343
> After this, you can install the packages in any order you like, it
> does not really matter. I would recommend you install everything,
> because there are many inter-dependencies, and, because if you skip
> a package, you will miss that functionality.
> After you are done installing the packages, there are some patches
> to be installed (which were released after the 3.4.3 distro), in
> the following order:
> KDE20060107-01
> KDE20060107-02
> KDE20060110-01
> KDE20060116-01
> KDE20060131-01
> KDE20060131-02
> KDE20060207-01
> The patches are archived and compressed exactly like the KDE
> packages (*.tar.bz2).
> You can install these patches with
> %> patchadd -M `pwd` <patch-package> # backticks, not single quote
> pkgadd and patchadd live in /usr/sbin. You should make sure
> /usr/sbin is in root's path.
> After installing all the patches, the installation is finished.
> Obviously, you don't need to keep the packages or patches after you
> have installed them. Now you can proceed to the configuration. To
> do this, please read the installation instructions (there are quite
> a few of them, there are some configuration files which need to be
> edited, and there is a small program named 'mkdtlogin' which needs
> to be run, and which creates your dtlogin session menu for KDE).
> Please read these instructions carefully. :-)
> You can download the 3.4.3 distro packages + patches here:
> http://mirrors.dotsrc.org/kde/stable/3.4.3/SOLARIS/SUNSTUDIO10/IA32
> http://mirrors.dotsrc.org/kde/stable/3.4.3/SOLARIS/SUNSTUDIO10/IA32
>AMD32 /KDE/
> http://mirrors.dotsrc.org/kde/stable/3.4.3/SOLARIS/SUNSTUDIO10/IA32
> The installation instructions are here:
> http://mirrors.dotsrc.org/kde/stable/3.4.3/SOLARIS/SUNSTUDIO10/INST
> This is just an example where you can find KDE 3.4.3. If you search
> in Google for 'KDE 3.4.3 Solaris', you will get many more sites
> where you can find the distro.
> If you run into problems, or have questions, just email me
> directly.
> --Stefan

Stefan Teleman          'Nobody Expects the Spanish Inquisition'
steleman at nyc.rr.com                          -Monty Python

More information about the kde-solaris mailing list