After upgrading from kde 4.1.2 to 4.1.3 kmail fails with: ERROR !!!!!! - KHTML default stylesheet version mismatch. Aborting. Check your installation. File used was: /usr/kde/3.5/share/apps/khtml/css/html4.css. Expected STYLE_VERSION 1 I had the same problem with kmail when I upgraded to 4.1.2 and in both cases I fixed it by adding export KDEDIRS=${_KDEDIR}:/usr:/usr/local to the startkde script. I found this fix in the following thread in the gentoo forums. http://forums.gentoo.org/viewtopic-t-710821-highlight-startkde.html Reproducible: Always Steps to Reproduce: 1. Use the kdeprefix use flag 2. Install KDE 4.1.x and anything else needed to run kmail 3. Run kmail. Actual Results: kmail does not run. Expected Results: kmail should work.
Well when you dont use kde3.5.10 with its newest kdelibs and kdebase starkde you are literally asking for problems. So please try updating your kde3 install and report if problem still occurs
i can confirm this problem but with 4.1.82 i've also kdelibs 3.5.10 installed. removing the kde3 entry from $KDEDIRS seems to be a good workaround, it works for me.
after booting my computer at next day it was solved. maybe there was an outdated kde process or something on the ENV was changed after installing kdelibs 3.10.x and i forgot to source my profile. anyway... it works now.
I can report the same goes on for KDE 4.2: kontact and akregator. I was using the kdelibs-3.5.9, so I'm upgrading now to see if it solves.
Upgrading to kdelibs-3.5.10-r2 solved the issue for me.
It is already a dependency of kde-4.2 so closing as fixed.