[devel] qutIM и непонятки с cmake

Nazarov Denis nenderus на altlinux.org
Пн Июл 18 20:53:23 UTC 2011


Всем привет.

Решил тут собрать новую версию qutim и столкнулся со странным поведением 
cmake. 

В очень многих местах стало выскакивать такое сообщение:
Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")

Причём точно такое же поведение у той версии, которая собиралась и которая 
была успешно отправлена в Сизиф некоторое время назад.

Похоже это стало происходить после какого-то обновления. Что с этим можно 
сделать?

Вот полный лог cmake:

cmake .. -DCMAKE_INSTALL_PREFIX=/usr '-DCMAKE_C_FLAGS:STRING=-pipe -Wall -g -
O2' '-DCMAKE_CXX_FLAGS:STRING=-pipe -Wall -g -O2' -DLIB_SUFFIX=64 -
DPHONON_INCLUDE_DIR=/usr/include/kde4
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- 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
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - 
found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Checking for Doxygen...
-- Found Doxygen: /usr/bin/doxygen 
-- [+] XSETTINGSDIALOG: extension added to build
-- [+] TRAYICON: extension added to build
-- [+] SOUNDTHEMESELECTOR: extension added to build
-- Softkeys is unsupported by platform. Softkeys action box will be skipped.
-- [+] SOFTKEYSACTIONBOX: extension added to build
-- [+] SIMPLEROSTERSTORAGE: extension added to build
-- [+] TORYCONTACTLISTWIDGET: extension added to build
-- [+] SIMPLECONTACTLISTWIDGET: extension added to build
-- [+] TREECONTACTSMODEL: extension added to build
-- [+] SEPARATEDCONTACTSMODEL: extension added to build
-- [+] PLAINCONTACTSMODEL: extension added to build
-- [+] SIMPLECONTACTLIST: extension added to build
-- [+] SIMPLEACTIONS: extension added to build
-- [+] SIMPLEACTIONBOX: extension added to build
-- [+] SIMPLEABOUT: extension added to build
-- [+] SHORTCUTSETTINGS: extension added to build
-- [+] SESSIONHELPER: extension added to build
-- [+] SERVICECHOOSER: extension added to build
-- [+] SEARCHDIALOG: extension added to build
-- [+] QTICONS: extension added to build
-- [+] QSOUNDBACKEND: extension added to build
-- [+] PROXYSETTINGS: extension added to build
-- [+] PLISTCONFIG: extension added to build
-- [+] PASSWORD: extension added to build
-- [+] OLDSOUNDTHEME: extension added to build
-- [+] NOTIFICATIONSSETTINGS: extension added to build
-- [+] NOTIFICATIONFILTER: extension added to build
-- [+] NOCRYPTOSERVICE: extension added to build
-- [+] MOBILESETTINGSDIALOG: extension added to build
-- [+] MOBILENOTIFICATIONSSETTINGS: extension added to build
-- [+] MOBILECONTACTINFO: extension added to build
-- [+] MOBILEABOUT: extension added to build
-- [+] MIGRATION02X03: extension added to build
-- [+] METACONTACTS: extension added to build
-- [+] LOCALIZATION: extension added to build
-- [+] KOPETEEMOTICONSBACKEND: extension added to build
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- [+] KINETICSCROLLER: extension added to build
-- [+] JSONHISTORY: extension added to build
-- [+] JSONCONFIG: extension added to build
-- [+] JOINGROUPCHATDLG: extension added to build
-- [+] JOINCHATDIALOG: extension added to build
-- [+] IDLESTATUSCHANGER: extension added to build
-- checking for module 'xscrnsaver'
--   found xscrnsaver, version 1.2.1
-- [+] IDLEDETECTOR: extension added to build
-- [*] ICONS/HICOLOR: Directory hicolor will be installed to 
share/apps/qutim/icons/hicolor
-- [+] HUMANITY-ICONS: extension added to build
-- [+] FILETRANSFERSETTINGS: extension added to build
-- [+] FILETRANSFER: extension added to build
-- [+] EMOTICONSSETTINGS: extension added to build
-- [+] DATAFORMSBACKEND: extension added to build
-- [+] CONTACTINFO: extension added to build
-- [+] CHATSPELLCHECKER: extension added to build
-- [+] CHATNOTIFICATIONSBACKEND: extension added to build
-- [+] AUTHDIALOG: extension added to build
-- [+] ADIUMSRVICONS: extension added to build
-- [+] TABBEDCHATFORM: extension added to build
-- [+] STACKEDCHATFORM: extension added to build
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- [+] WEBKITCHAT: extension added to build
-- [+] TEXTCHAT: extension added to build
-- [+] ADIUMCHAT: extension added to build
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- [+] ADDCONTACTDLG: extension added to build
-- [+] ACCOUNTCREATOR: extension added to build
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- [+] WALL: extension added to build
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- [*] VPHOTOALBUM/DEFAULT: Directory default will be installed to 
share/apps/qutim/vphotoalbum/default
-- [+] PHOTOALBUM: extension added to build
-- [+] VKONTAKTE: extension added to build
-- checking for module 'purple>=2.6.0'
--   found purple, version 2.9.0
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- [+] QUETZAL: extension added to build
-- [+] XSTATUS: extension added to build
-- [+] IDENTIFY: extension added to build
-- [+] OSCAR: extension added to build
-- [+] MRIM: extension added to build
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- checking for module 'qca2'
--   found qca2, version 2.0.3
-- Found QCA2: /usr/lib64/libqca.so 
-- Found libidn: /usr/lib64/libidn.so
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.5")
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- [+] JABBER: extension added to build
-- [+] IRC: extension added to build
-- checking for module 'TelepathyQt4>=0.3.0'
--   found TelepathyQt4, version 0.7.1
-- [+] ASTRAL: extension added to build
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- [+] YANDEXNAROD: extension added to build
-- Could NOT find WinThings API layer library.
-- WinThings API layer library cannot be built by your compiler.
-- You should specify WINTHINGS_APILAYER_LIBRARY if you have prebuild library.
-- 'Windows Integration' plugin will be skipped.
-- [+] WININTEGRATION: extension added to build
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- [+] WEATHER: extension added to build
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- [+] URLPREVIEW: extension added to build
-- [+] UNREADMESSAGESKEEPER: extension added to build
-- checking for module 'dbusmenu-qt>=0.8.1'
--   package 'dbusmenu-qt>=0.8.1' not found
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- Cannot build unity launcher integration
-- [+] UNITYLAUNCHER: extension added to build
-- Symbian integration will be skipped
-- [+] SYMBIANINTEGRATION: extension added to build
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- [+] SDLSOUND: extension added to build
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- [+] SCRIPTAPI: extension added to build
-- [+] QRCICONS: extension added to build
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- [*] QMLCHAT/DEFAULT: Directory default will be installed to 
share/apps/qutim/qmlchat/default
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- [+] QMLCHAT: extension added to build
-- Found LibAttica: /usr/lib64/libattica.so (found suitable version "0.2.0", 
required is "0.1.0")
-- Found BZip2: /usr/lib64/libbz2.so 
-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so - found
-- Looking for lzma_auto_decoder in /usr/lib64/liblzma.so
-- Looking for lzma_auto_decoder in /usr/lib64/liblzma.so - found
-- Looking for lzma_easy_encoder in /usr/lib64/liblzma.so
-- Looking for lzma_easy_encoder in /usr/lib64/liblzma.so - found
-- Looking for lzma_lzma_preset in /usr/lib64/liblzma.so
-- Looking for lzma_lzma_preset in /usr/lib64/liblzma.so - found
-- Found LIBLZMA: /usr/include 
-- [+] PLUGMAN: extension added to build
-- Found Phonon: /usr/lib64/libphonon.so
-- Found Phonon Includes: /usr/include/kde4/KDE;/usr/include/kde4
-- [+] PHONONSOUND: extension added to build
-- Could NOT find Qt4 (missing:  QT_QXML_INCLUDE_DIR QT_QXML_LIBRARY) (found 
suitable version "4.7.3", required is "4.6.0")
-- [+] OLDDELEGATE: extension added to build
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- [+] NOWPLAYING: extension added to build
-- Couldn't find any version of QtMobility.
-- Using QtMobility version: 
-- QtMobility not found.
-- Mobility plugin set will be skipped
-- [+] MOBILITY: extension added to build
-- [+] MASSMESSAGING: extension added to build
-- Macintegration plugin will be skipped
-- [+] MACINTEGRATION: extension added to build
-- [+] LOGGER: extension added to build
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.7.3", required is 
"4.6.0")
-- [*] QUICKPOPUP/GLASS: Directory glass will be installed to 
share/apps/qutim/quickpopup/glass
-- [*] QUICKPOPUP/DEFAULT: Directory default will be installed to 
share/apps/qutim/quickpopup/default
-- [+] KINETICPOPUPS: extension added to build
CMake Error at /usr/share/kde4/apps/cmake/modules/FindQt4.cmake:514 (MESSAGE):
  Invalid Qt version string given: "4.6.0", major version 4 is required, e.g.
  "4.0.1"
Call Stack (most recent call first):
  /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:422 (find_package)
  /usr/share/CMake/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
  plugins/kdeintegration/CMakeLists.txt:3 (find_package)


-- Configuring incomplete, errors occurred!

-- 
С Уважением, Денис Назаров


Подробная информация о списке рассылки Devel