![]() Registered Member ![]()
|
Hi.
I am trying to compile plasma-framework and kde-workspace on top of KDE Frameworks, however it seems I am running into cmake issues. I have a recent cmake master, and extra-cmake-modules master. This is the error I get. It seems that a path variable is missing from cmake
This is how I build kdelibs frameworks
this is how I build plasma-frameworks
Is there a variable or flag I am missing? Thanks |
![]() Administrator ![]()
|
Is the $PREFIX/bin directory for kdelibs frameworks in your PATH?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Yes. It's in my $PATH, as well as $LD_LIBRARY_PATH
|
![]() Administrator ![]()
|
Can you please paste the contents of /opt/lib/i386-linux-gnu/cmake/KConfig/KConfigTargets.cmake?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Hi. Here are the files below EDIT: Oh I forgot, I modified these files with the build script, in an attempt to work around the path issue. I had added a sed statement to add /opt/ in front of the bin For example IMPORTED_LOCATION_RELWITHDEBINFO "/opt/bin/kconfig_compiler" was at first IMPORTED_LOCATION_RELWITHDEBINFO "bin/kconfig_compiler" /opt/lib/i386-linux-gnu/cmake/KConfig/KConfigTargets.cmake
/opt/lib/i386-linux-gnu/cmake/KConfig/KConfigTargets-relwithdebinfo.cmake
|
![]() Administrator ![]()
|
Did the line originally look something like this?
If it did, can you please ensure you are using the latest released version of CMake, and have updated Extra-CMake-Modules (ECM) to it's latest version?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
These where pretty recent compiles of extra-cmake-modules and cmake master. The builds are less then a week old.
And I had previously gotten the same errors I think when I tried about a month or two proior too, with the malformed path in the cmake files to the executables. I must be missing a flag, or it could be the multiarch path? That's all I can think of. |
![]() Administrator ![]()
|
If you drop the -DLIB_INSTALL_DIR argument (ie. use CMake defaults / no multiarch) does this have any effect?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Yes. Now it doubles up the /opt/ EDIT: Wait. It's probably remains of the sed hacks on the cmake files of me trying to workaround the cmake issue dropping /opt/. I pulled out the sed commands from the kdelibs build script, and will now try a new rebuild |
![]() Registered Member ![]()
|
plasma-framework errors out during the build with a bunch of GL errors,
and kde-workspace frameworks-scratch seems to have a cmake error
but the other cmake issue does seem to have been resolved by disabling multiarch. I'll try to see how far I can get these builds to go now though |
![]() Registered Member ![]()
|
plasma-framework errors out during the build with a bunch of GL errors,
...I should mention I built qt5 with -opengl es2
and kde-workspace frameworks-scratch seems to have a cmake error
but the other cmake issue does seem to have been resolved by disabling multiarch. I'll try to see how far I can get these builds to go now though[/quote] |
![]() Administrator ![]()
|
Okay. I suspect Plasma Framework may not be handling the case of GL imports correctly in this case - it seems Qt has some custom #define's used to workaround absent items in OpenGL ES 2, which are present in regular OpenGL which Plasma Framework is trying to use.
I would suggest sending an email to kde-framework-devel@kde.org concerning that. With regards to kde-workspace - serious development on porting it to Frameworks is still very much in it's infancy. I would suggest asking in #plasma on Freenode regarding getting that built.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], blue_bullet, Google [Bot], Yahoo [Bot]