Registered Member
|
After a long and hard struggle, I finally got the emerge tool to work on windows. Most programs won't compile (they are all suffering from the same problem: they depend on gpgme-qt whose download mirror has vanished), but I did get Kate to compile. It also runs. But when I try to open a text file, it crashes.
My host OS is Windows 7 x64, the compiler is Mingw4 w64. KDE is at version 4.6. |
Administrator
|
Have you built the Sycoca following the installation? That should be done using "kbuildsycoca4 --noincremental". The messages involving "0x0" indicate a null pointer issue (which isn't good).
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
We've made progress
I've run the kbuildsycoca command as you suggested and now when I start up Kate I get the following message: No mime types installed. Check that shared-mime-info is installed, and that XDG_DATA_DIRS is not set, or includes /usr/share followed by: Could not find mime type “application/octet-stream” shared-mime-info is installed, and XDG_DATA_DIRS is not set. However, Kate still crashes when trying to open a file. |
Administrator
|
Very odd, can you see if the environment variable XDG_DATA_DIRS is set? If so, does setting it influence the behaviour of "kbuildsycoca4 --noincremental"? It contains some fairly crucial mime types (used for file recognition, etc)
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I've managed to fix it! I've had to use yet another hack, but well, it works!
I used the binary installer to install a KDE system and copied over /share/mime to my self-compiled KDE install. Now I get no more error messages and Kate works. There is one more tiny problem, though - I don't have the systemsettings application since kdebase-apps won't emerge due to depending on gpgme-qt which no longer exists... you wouldn't happen to know anything I can do to hack around that, would you? It'd be awesome to have my Kate look like the rest of my Windows apps |
Administrator
|
Depends on what you need to change. Assuming you managed to build kde-runtime ok, then you should be able to execute "kcmshell4 --list" to get a list of available modules, then be able to open them by running "kcmshell4 <module name>".
Note that System Settings is part of kde-workspace rather than kde-baseapps. Alternately, you should actually be able to build System Settings, as it can be configured and built as a single app (just run cmake with a base directory of kde-workspace/systemsettings). I couldn't find any link to gpg or gpgme in either of kde-workspace or kde-baseapps.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thanks! That's really helpful
FTR, the actual problem with emerge is:
And like you, I've been unable to locate the requested file anywhere else on the internet. Which is not that surprising, really, since the requested package is 2.5 years old. |
Administrator
|
Hmm, at least for KDE 4.6, the recipe name seems to be "kde-workspace". KDE 4.5 had kdebase-workspace.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thanks. I had to brutally vandalize some of the scripts in the portage/ directory, but I got systemsettings to build. I now have Kate and Okular running on Windows
(yes, that's all I wanted, Kate and Okular, and 64-bit Qt headers... LOL) Thanks for all your help, man. |
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, mickae, Sogou [Bot]