This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Trying to build kde-baseapps over kdelibs Frameworks on QT5

Tags: None
(comma "," separated)
nerdopolis
Registered Member
Posts
132
Karma
0
OS
bcooksley wrote:CMake 2.8.9 should definitely be new enough. If possible, I would recommend asking about this on #kde-devel on Freenode, or send an email to kde-frameworks-devel@kde.org to get assistance in fixing this.


Hi.

I asked on the IRC, and when I was being asisted, I realized that at some time, I accidentaly had my kdelibs build script start switching into the master branch instead of the frameworks branch.

So now Frameworks builds again, and I am back to trying to get kde-baseapps to build, and kde-workspace. It's trying to find FindKDE4Internal.cmake... in /usr/openwin/include/cmake/modules/ according to strace
Which is weird as this is a Linux box. I install extra-cmake-modules, and my CMAKE_PREFIX_PATH=/opt
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
From what I know - CMake will search in many different locations until it finds what it is looking for.
The directories in CMAKE_PREFIX_PATH (if the environment variable is exported at least) should have precedence though.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
nerdopolis
Registered Member
Posts
132
Karma
0
OS
bcooksley wrote:From what I know - CMake will search in many different locations until it finds what it is looking for.
The directories in CMAKE_PREFIX_PATH (if the environment variable is exported at least) should have precedence though.


Unfortunantly according to strace, that doesn't seem to be what cmake is doing :( It checks that obscure path, and then fails.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Weird... it should still search in /usr, etc even with CMAKE_PREFIX_PATH set.
Can you please paste the full output you get from CMake?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
nerdopolis
Registered Member
Posts
132
Karma
0
OS
Code: Select all
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /opt/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
Call Stack (most recent call first):
  CMakeLists.txt:12 (find_package)


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I'm guessing KDE Frameworks is installed to /opt?
I would recommend asking why this occurs on kde-frameworks-devel@kde.org.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient