certain /etc/env.d/56kdedirxxxx need to be removed by the installer. Reproducible: Didn't try Steps to Reproduce: 1. 2. 3. Expected Results: removed old config files haven't had problem myself ;-)
See bug 15593. Works for me after commenting out the KDEDIRS line in /etc/env.d/65kdelibs-3.0.x.
Ideally :-), no env.d files should have to be removed that are owned by any package. Does the fix of bug #15593 apply? I.e. either upgrade to the latest kdelibs-3.0.5a revision, or unmerge kde 3.0.x and leave only 3.1.x around. If you have env.d files belonging to kde versions older than 3.0.5a, ilke the man who spoke of 3.0.4 files, they must be there only because of config file protection (assuming you don't have kde 3.0.4 installed anymore). In that case you should indeed delete them. The manual solution (for bug #15593 issues) would be, not to remove the entire env.d files, but to remove any KDEDIRS= lines in them (note KDEDIRS!=KDEDIR) _except_ for 99kde-env. The latest revisions of kde 3.0.5a install correct env.d files. The kdelibs 3.1.x ebuilds print a notice telling you to do this at the end of the emerge. --- If #15593 isn't your problem and the above doesn't help, please check the values of $KDEDIR and $KDEDIRS in your kde environment. If you can't even run konsole to check them, you could perhaps alt+f2 then run 'echo $KDEDIRS > /tmp/foo'. Or something of the kind.
Also, please specify what versions of kde you have installed, and what env.d files you have.
I'll mark this as NEEDINFO as the cause of the problem is know, and a gentoo design choice. To help you in your specific case we do need info, so if you still want our help, please provide it.
re-resolving
Close dead old bug originally resolved "needinfo".