May 17, 2010

KDE 3.5 on MacOS 10.6 mainly for Kile

Kile is a very nice and comfortable LaTeX editor (yes, and it runs under MacOS 10.6 - hint hint hint for avocadohead). It is installed quite comfortably using MacPorts.

sudo port install kile
You will get a warning during the install:
You must install (at least) one of the language dictionaries after
installing this port in order for it to work.
Thanks for the warning, which can be fulfilled easily by e.g.
sudo port install aspell-dict-de
sudo port install aspell-dict-en
all this took roughly an hour since half of an Xorg and kde3 installation with qt3 had to be compiled.

Unfortunately, firing up kile failed tremendously, so I chose to install a complete KDE environment with
sudo port install kde3
again be patient, this takes roughly two hours. Finally I got the message
To start KDE, put "exec $SHELL -l -c /opt/local/bin/startkde" in your .xinitrc
If you have problems, refer to /opt/local/share/doc/kde/README

The ominous .xinitrc has to reside directly in your home directory. So I created this file with the content mentioned above. Still, firing up X11 using startx from a console or simply double clicking the X11 symbol did nothing but a load of errors.
After some searching, I found that I had to change ownership of  ~/.kde/ since it belongt to root (!? is that supposed to be Mac-like?)
sudo chown -R yourusername ~/.kde

Other error messages mentioned .Xauthority. I finally ended up removing all .Xauthority files using
rm .Xauthority*

After that X11 fired up showing a complete KDE3.5 environment with Kate, Kile and so on...

3 comments:

avocadohead said...

Well, give some hints to the Greek. Anyway, on my priority list the Macbook has been trumped by the Met subscription...

avocadohead said...

btw - tried to get Kile/KDE4 on Windows which failed due to Kile 2's β status. Well, there are alternatives to Kile on Windows (ever tried TeXworks?), my most sorely missed OSS app right now is in fact Frescobaldi…

DaWuzzzz said...

Well, I mainly looked for an alternative to TeXShop for MacOS because TeXShop there is a little too thrifty. And for Windows there is e.g. TeXnicCenter 2 Alpha, which in my case works pretty well on Windows 7.