There is a similar bug, #15633, Kmail no mime types installed, but I seem to have more problems than just that, so I created a new bug report. I did an emerge to bring in KDE 3.1.1. When I fire up KDE I get the following popups: Popup 1) Sorry - KDE Panel Could not find mime type application/octet stream Popup 2) Error - KDesktop Could not start process Unable to create io-slave: klauncher said: Unknown protocol 'file' Popup 3) Error - KDE Panel No mime types installed! I tried to click on my kmail icon, and several other icons. None worked. An example error message was: Popup 4) Sorry - KDE Panel Could not find service 'Internet/Kmail.desktop' I tried to run konsole or kmail using the "run"command on the desktop menu. I got: Popup 5) Sorry - KDesktop Could not run the specified command So then I used the run command to run /bin/bash in a terminal, and typed the command line "kmail &'. It started up, but complained along the way: kio (KSycoca): WARNING: Found version 49, expecting version 60 or higher kio (KSycoca): Outdated database found kio (KSycoca): WARNING: Found version 49, expecting version 60 or higher kio (KSycoca): Outdated database found Then kmail would not work, complaining about unknown mime types, unknown protocols, etc. KDE-3.0.5a starts up OK, but it must have its configuration files in a different spot then the KDE 3.1 ebuild did, as none of my configurations are found. I did not find anything of interest in /var/log/messages. Reproducible: Always Steps to Reproduce: 1. Install KDE 3.1.1 packages 2. Log-in, specifyling KDE 3.1.1 for the session 3. Actual Results: I did an emerge to bring in KDE 3.1.1. When I fire up KDE I get the following popups: Popup 1) Sorry - KDE Panel Could not find mime type application/octet stream Popup 2) Error - KDesktop Could not start process Unable to create io-slave: klauncher said: Unknown protocol 'file' Popup 3) Error - KDE Panel No mime types installed! I tried to click on my kmail icon, and several other icons. None worked. An example error message was: Popup 4) Sorry - KDE Panel Could not find service 'Internet/Kmail.desktop' I tried to run konsole or kmail using the "run"command on the desktop menu. I got: Popup 5) Sorry - KDesktop Could not run the specified command So then I used the run command to run /bin/bash in a terminal, and typed the command line "kmail &'. It started up, but complained along the way: kio (KSycoca): WARNING: Found version 49, expecting version 60 or higher kio (KSycoca): Outdated database found kio (KSycoca): WARNING: Found version 49, expecting version 60 or higher kio (KSycoca): Outdated database found Then kmail would not work, complaining about unknown mime types, unknown protocols, etc. KDE-3.0.5a starts up OK, but it must have its configuration files in a different spot then the KDE 3.1 ebuild did, as none of my configurations are found. I did not find anything of interest in /var/log/messages. Expected Results: Expected KDE to come up without a bunch of popups. Expected kmail to work much as it did for KDE 3.1. # emerge info Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2) ================================================================= System uname: 2.4.20 i686 Celeron (Mendocino) GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif gpm jpeg gnome libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts tetex svga tcltk java guile X sdl tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla cdr" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -mcpu=i686 -pipe" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" #
I posted a query to the user list. I got two replies, both of which told me that the problem was in /etc/env.d. As Rasmus Wiman was kind enough to tell me: > Hi pete. I had the same problem. I checked out /etc/env.d/*kde* and > found that the KDE 3.0.x files defined a KDEDIRS variable that the 3.1.x > files didn't. Adding > > KDEDIRS=/usr/kde/3.1 > > to /etc/env.d/49kdepaths-3.1.1 saved my day. > > Just to confuse, there is a KDEDIR (without the trailing S) variable, > and it's defined in all versions. I decided to try again, using his advice. But first, I updated everything with the command 'emerge --update --deep system' followed by doing everything that turned up from 'emerge --update --deep world' EXCEPT for KDE. Then, when I recompiled KDE 3.1.1, all was well. I did not have to add KDEDIRS any where. There is a KDEDIRS defined in /etc/env.d/99kde-env. I don't know if it was there the first time I tried it or not. Whew! I've said a lot, hope I did not cause confusion with too much detail.
I guess you solved it yourself. Well done.