Summary: | kdevelop 2.1.5 tips blank always | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | John Violette <jrv> |
Component: | [OLD] Development | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
John Violette
2003-03-22 15:41:03 UTC
See this discussion for more details. I believe the ebuild should install kdevelop into /usr/kde/$VERSION/ instead of /usr. Creating a symlink from /usr/kde/3/share/apps/kdevelop -> /usr/share/apps/kdevelop fixes this problem. Why does 'emerge kdevelop' place it in /usr? Any kde app should go into /usr/$KDEDIR because it will look for it's config files there and not in /usr. http://forums.gentoo.org/viewtopic.php?p=252665#252665 Problem also solved by editing /env.d/99kde-env and adding "/usr" to the KDEDIRS path. I had earlier had to edit this file to solve another KDE 3.1 problem (http://bugs.gentoo.org/show_bug.cgi?id=17938) and maybe I deleted "/usr" from the KDEDIRS variable by mistake. KDEDIRS=/usr/kde/3.1:/usr I still think all KDE apps should go into $KDEDIR - it's much cleaner. By adding /usr back in - it picks up the menus properly etc that I was missing also for other apps like kportage and OpenOffice etc. I can see OpenOffice NOT going into $KDEDIR and having to have /usr or /opt or whatever in the KDEDIRS varialbe to pick up menus and icons for the desktop however, but any REAL kde app that is going to be storing config files in ~/.kde should get installed into $KDEDIR. This is more complex than at first glance. I have dual KDE install (3.0.5 and 3.1) because that's the default if you emerge a new KDE - it leaves the old one in and you can select at login - good for testing. If I remove the "/usr" from the 99kde-env, this breaks things for some kde stuff. If I leave it in however it still breaks things (like KDE Control Center, Login Manager error "Could not create /usr/share/apps/kdm/pics". For some reason, even though last in the KDEDIRS path "/usr" seems to be preferred for this control center module. Confusing at best. This is the correct behavior - from http://www.gentoo.org/doc/en/gentoo-howto.xml: GNOME and KDE programs, similarly, should always be installed into /usr having /usr as KDEDIRS solves this problem. If you still have problems with the multi installation of kde, please file a new bug report. :) |