Reply to topic

Trying to build kde-baseapps over kdelibs Frameworks on QT5

nerdopolis
Registered Member
Posts
130
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
18586
Karma
83
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.


System Settings and Device Actions KCM maintainer
Image
nerdopolis
Registered Member
Posts
130
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
18586
Karma
83
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?


System Settings and Device Actions KCM maintainer
Image
nerdopolis
Registered Member
Posts
130
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
18586
Karma
83
OS
I'm guessing KDE Frameworks is installed to /opt?
I would recommend asking why this occurs on kde-frameworks-devel@kde.org.


System Settings and Device Actions KCM maintainer
Image

 
Reply to topic

Bookmarks



Who is online

Registered users: alake, Baidu [Spider], bcooksley, Bing [Bot], Exabot [Bot], garthecho, Google [Bot], koriun, Majestic-12 [Bot], north, rodsherwin, shmerl, Steve Guilford, verbalshadow, Vim, Yahoo [Bot], šumski