Registered Member
|
Hi everybody,
I am trying to build kde unstable using the kdesrc-build script. I have pruned from the config file modules that I don't need (I prefer to have a basic environment just to develop), and compiled almost everything successfully, but kde-runtime module fails to build. Here's the output of the error, only the final part of the compilation:
It seems to be a problem with qt webkit library, I tried to remove those files and install qt again from kdesrc-build, I tried also to manually compile kde-runtime as another user, and the system qt webkit (version 4.8.2) does not give any problem and the compilation ends successfully. Am I missing something or have I just to wait until the problem gets fixed in the code? Thanks in advance |
Registered Member
|
I solved this problem. It was simply a matter of replacing the repository of qt code in the configuration file of kdesrc-build script.
I removed the "kde:qt" repository (outdated) and replaced it with the official repo from gitorious, and the compilation of kde-runtime then went fine. Now I have a problem with kde-baseapps, which complains about a version of KDE too low (it sees 4.9.2, but requires 4.9.80, but the search path is correct, I don't know why), anyway it seems that's not a "mandatory" module. |
Administrator
|
You only require kde-baseapps if you are going to be doing development involving Dolphin, Konqueror or other similar applications.
I have investigated the kde:qt issue you had - it seems that the symbolic ref "HEAD" on our mirror of Qt was still pointing at 4.7 instead of 4.8 as it should have been. I have now fixed this. Most likely would not have been affected by this as "branch 4.8" or similar would be included in their kdesrc-buildrc configuration files.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thanks for the info.
Yes, "branch 4.8" was in my configuration file for Qt but I had no idea why it didn't work. As for kde-baseapps is not a big deal, I don't need that |
Registered Member
|
I have another issue related to kde-runtime, it came up yesterday when I tried to update my modules. This time the error is
And then the compilation goes on for a while but then interrupts because of the error. It seems an error in the code, I hope. Moreover, when I start Kate/KDevelop the application is very slow. I mean, text entered is not displayed in "real time" but is delayed, text cursor moves jerkily. Very annoying and almost unusable when it comes to coding. May it be Kate's fault, since Konsole doesn't have this kind of problem and text input is fluid? Should I open a new thread for this problem? |
Administrator
|
Are you building kactivities, nepomuk-core and nepomuk-widgets before attempting to build kde-runtime?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
This is my build-status file when I run the script without specifying the single modules
I realize that nepomuk-core and kactivities are built before kde-runtime, and nepomuk-widget is built afterwards. I didn't modify the order, this is the "default" ordering of modules. |
Administrator
|
Can you please post the build/failure log from kde-runtime (preferrably at a pastebin site such as http://paste.kde.org/)?
They should be present at ~/kdesvn/log/latest/kde-runtime/
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I found the problem and solved it two days ago and forgot to write it here, sorry!
However, the error occurred because the branch used to build kdelibs was the "KDE/4.9" branch, whereas the branch of kde-runtime was "master". This is the reason why componentsTarget wasn't found in the kdeclarative header. I think this is also the reason why kde-baseapps failed at cmake step complaining that the installed version of kde was 4.9.2. Solution: I modified the kdesrc-buildrc file to pull from the master branch of kdelibs instead of KDE/4.9, and rerun the script with "--refresh-build" option. This required me to install also the latest version of cmake, because the one in Kubuntu 12.10 wasn't enough, but non that big deal, I downloaded the cmake sources and installed it in the same prefix of the unstable kde, and then it compiled everything successfully! I don't understand why the script pulls the 4.9 branch for kdelibs only... Shouldn't it pull this branch for all the kde related projects (runtime, pim libraries, etc...) in order to avoid this kind of inconsistencies? I also solved the problem of "slowed down" kate/kdevelop applications. I don't know why, but this problem appeared only when using an ssh session with "-X" option. I tried to configure my kde-devel user to run the fresh kde, and after the login kate/kdevelop were responsive as usual... If someone by chance has the same problem at least now he/she knows how to solve this. Anyway, thank you for the support! |
Administrator
|
Currently the "active" development branch for kdelibs is a little bit messy. The best branch to use at the moment is "KDE/4.10" which will be reverting back to "master" again when KDE 4.10 is branched from what I understand. If you are using master at the moment - don't worry too much as it is updated every few days with the content of KDE/4.10.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient