![]() Registered Member ![]()
|
Hi, I started building kde from trunk, but I got stucked on an error while compiling kdelibs.
I installed the latest qt in KDE_SRC/qt-kde, donwloaded phonon in KDE_SRC/phonon and then compiled it, so what's wrong? |
![]() Administrator ![]()
|
You likely need to set a few environment variables, so that your self-built Qt and Phonon are found.
In particular, you need to set the following: CMAKE_PREFIX_PATH PATH LD_LIBRARY_PATH CMAKE_PREFIX_PATH should be set to where you installed Qt and Phonon. LD_LIBRARY_PATH to ${CMAKE_PREFIX_PATH}/lib PATH to ${CMAKE_PREFIX_PATH}/bin:$PATH You can use "export" to set the environment variables.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thank you for the answer, I set the environment variables and solved by upgrading from beta PPA, but now during the compilation I reach this error, as you can see there is no explanation of what went wrong
![]()
|
![]() Registered Member ![]()
|
Ok, I solved, it was my fault (I was launching compilation from another directory), now kdelibs is compiled, and I'm trying to compile kdepimlibs...
Could this be a bug? It seems an error in code, it doesn't complain about unsatisfied dependencies ![]() |
![]() Administrator ![]()
|
Have you tried updating the sources you checked out from KDE SVN? It may have been a temporary build breakage.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Yes, I made "svn up", but it's already the latest revision
![]() |
![]() Administrator ![]()
|
Do you have any KDE Development packages from your distribution installed? If so, try uninstalling them.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Could you explain me better what do you mean by "KDE Development packages", please? Something like KDevelop, or kdesdk?
|
![]() Registered Member ![]()
|
|
![]() Administrator ![]()
|
I am referring to packages such as kdelibs5-dev
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Isn't there any other way? I need those packages in order to learn kde development
![]() |
![]() Administrator ![]()
|
When you install kdelibs from trunk, it will provide the headers and other materials provided by kdelibs5-dev
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
My guess is the installed Akonadi is too old. Compile it from sources. It is available in the kdesupport module.
connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));
|
![]() Registered Member ![]()
|
I already compiled kdesupport because the building tutorial says that is a requirement for other modules (kdelibs & kdepimlibs)
![]() As for uninstalling kdelibs5-dev: I know that if I manage to get building from trunk working I will have headers installed, but if I want to use another user instead of kde-devel, what I need to do? Have I to "make install" kdelibs in /usr/include instead of kde-devel's home? |
![]() Administrator ![]()
|
Please ensure that the following is sourced *before* KDE startup on your trunk user. Adding it to ~/.bashrc, ~/.profile or ~/.xinitrc should be sufficient to do it.
This script assumes you are installing KDE to /opt/trunk-kde/kde/ and Qt to /opt/trunk-kde/qt/ If you are not self compiling Qt, then change QTDIR to "/usr". Simply change the content of KDEDIR to change where KDE is being installed to. I use this myself, and I haven't had a case yet where libraries or headers were incorrectly found ( although I don't have kdelibs or qt devel packages installed in my main system in any case )
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]