You are not logged in.

#1 2011-07-11 05:54:56

adaptee
Member
From: China
Registered: 2010-02-02
Posts: 36

can't build qterm after upgrading to cmake-2.8.5

I can't build qterm[1] after upgrading to cmake-2.8.5 . It failed when running cmake :

-- Found Qt4: /usr/bin/qmake (found suitable version "4.7.3", required is "4.5.0")
CMake Error at /usr/share/apps/cmake/modules/FindQt4.cmake:514 (MESSAGE):
  Invalid Qt version string given: "4.5.0", major version 4 is required, e.g.
  "4.0.1"
Call Stack (most recent call first):
  /usr/share/apps/cmake/modules/FindKDE4Internal.cmake:420 (find_package)
  /usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
  CMakeLists.txt:11 (find_package)

If I remove the line of `set(QT_MIN_VERSION "4.5.0")` from the CMakeLists.txt of qterm, then it builds OK. But that is just workaround and the error message above suggests some bug of cmake, not qterm. So I did some experiment:

    a). downgrade to cmake-2.8.4, then it builds OK

    b). or, delete /usr/share/apps/cmake/modules/FindQt4.cmake(provided by kdelibs-4.6.5) so that the FindQt4.cmake from cmake-2.8.5 will be used, and it builts OK too.

So which component is to blame, cmake or kdelibs? Is it a upstream bug or archlinux packing bug?

* installed packages *
qt-4.7.3-3
cmake-2.8.5-1
kdelibs-4.6.5-1

[1] - http://aur.archlinux.org/packages.php?ID=3317

Offline

Board footer

Powered by FluxBB