I just compiled KDE4 on a G4 mac running OSX 10.5.8 and xcode 3.2.1. I cannot seem to get the MIME types database set up, so applications that depend on it (e. g. konqueror and okular) cannot open any files.
I'm using this version: ii okular4-x11 4.4.1-1 KDE4 - document viewer when I run okular, I get the initial page. Clicking File -> Open gives "Could not find mime type "application/octet-stream" saying OK to that gives an "Error-Okular" window complaining "Could not find mime types" inode/directory inode/blockdevice inode/chardevice etc etc etc When I run konqueror it also says "Could not find mime type "application/octet-stream" and when I visit http://www.google.com, konqueror asks "Open 'http://w...google.com/'? Type text/html, meaning I should specify how it should interpret text/html. So this is a similar MIME type problem. I followed the advice of Benjamin found at: http://archive.netbsd.se/?ml=fink-beginners&a=2009-08&t=11257217 namely to run sudo /sw/opt/kde4/{type}/bin/kde4-postinst.sh /sw/opt/kde4/{type}/bin/kbuildsycoca4 --noincremental % sudo /sw/opt/kde4/x11/bin/kde4-postinst.sh ...seems to run fine, tells me == KDE4 Applications Have Been Updated == You should start a new shell, or run /sw/opt/kde4/x11/bin/kde4-check-sycoca.sh to update the KDE4 application database. % /sw/opt/kde4/x11/bin/kde4-check-sycoca.sh * you've installed KDE4 (x11) applications since last time you ran init -- updating desktop cache % /sw/opt/kde4/x11/bin/kbuildsycoca4 --noincremental give 600 lines of output. 93 lines matching the phrase "not found", such as 501:kbuildsycoca4(46500) KBuildServiceFactory::collectInheritedServices: parent mimetype not found: "application/octet-stream" 502:kbuildsycoca4(46500) KBuildServiceFactory::collectInheritedServices: parent mimetype not found: "application/zip" 503:kbuildsycoca4(46500) KBuildServiceFactory::collectInheritedServices: parent mimetype not found: "inode/directory" 504:kbuildsycoca4(46500) KBuildServiceFactory::collectInheritedServices: parent mimetype not found: "application/octet-stream" 505:kbuildsycoca4(46500) KBuildServiceFactory::collectInheritedServices: parent mimetype not found: "audio/x-mpegurl" 506:kbuildsycoca4(46500) KBuildServiceFactory::collectInheritedServices: parent mimetype not found: "application/octet-stream" 507:kbuildsycoca4(46500) KBuildServiceFactory::collectInheritedServices: parent mimetype not found: "audio/ogg" 508:kbuildsycoca4(46500) KBuildServiceFactory::collectInheritedServices: parent mimetype not found: "text/calendar" For okular this one seems crucial: kbuildsycoca4(46500) KBuildServiceFactory::populateServiceTypes: "gsthumbnail.desktop" specifies undefined mimetype/servicetype "application/pdf" (that's the only mention of "pdf" in the output from kbuildsycoca4 --noincremental) And running these commands provides no improvement for okular or konqueror. I bet this is an easy fix; sorry I could not find the answer through searching. Can anyone help me? (Same problem on 3 macs with independent fink builds from source) Thanks, Andrew ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
