Registered Member
|
Hello,
I'm trying to build kdelibs on OS X Mountain Lion and getting an error, see the log file below containing the error and some additional info:
Please advise how i can fix the error, thanks ! |
Administrator
|
Can you please locate the logs/latest/kdelibs/cmake.log file and pastebin it - posting the link here?
It is probable you are missing the needed dependencies (which are usually available from Macports or Fink).
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hi, i already pasted the log in the post above, here is the complete file also: http://pastebin.com/V53XWhPz
|
Administrator
|
Can you please conduct a search in /opt/local for qglobal.h? It appears CMake is not able to find this header, causing the failure.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
|
Administrator
|
Can you please check to see if ./Library/Frameworks/QtCore.framework/Headers exists, and if so, does it link to ./Library/Frameworks/QtCore.framework/Versions/4/Headers?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
|
Administrator
|
Does the output of the following lead to ./Library/Frameworks?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
|
Administrator
|
Hmm. Does /opt/local/lib contain QtCore.framework? If not, this may explain why this has happened...
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
No.. it doesn't
|
Administrator
|
Okay, that definitely explains it.
Could you please email kde-buildsystem@kde.org, so the CMake gurus can investigate a long term solution to your issue?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Ok, i will do that and link this post. Thanks for the help.
Meanwhile, is there a quick fix so i can continue building? |
Administrator
|
Yep. In the kdelibs sources, edit the file cmake/modules/FindQt4.cmake.
Find the following:
and replace it with:
Hopefully that will work.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient