Version: git-latest (using KDE 4.7.3) OS: Linux When I try to compile text-ui I get this errors: [ 46%] Building CXX object lib/CMakeFiles/ktelepathy_chat_lib.dir/logmanager.o /home/robby/Download/Prgs/telepathy/telepathy-text-ui/lib/logmanager.cpp: In member function ‘void LogManager::onEventsFinished(Tpl::PendingOperation*)’: /home/robby/Download/Prgs/telepathy/telepathy-text-ui/lib/logmanager.cpp:170:44: warning: variable ‘type’ set but not used [-Wunused-but-set-variable] Linking CXX shared library libktelepathy_chat_lib.so CMakeFiles/ktelepathy_chat_lib.dir/chat-widget.o: In function `ChatWidget::titleColor() const': /home/robby/Download/Prgs/telepathy/telepathy-text-ui/lib/chat-widget.cpp:345: undefined reference to `Tp::Channel::groupContacts() const' CMakeFiles/ktelepathy_chat_lib.dir/chat-widget.o: In function `ChatWidget::onChatStatusChanged(Tp::SharedPtr<Tp::Contact> const&, Tp::ChannelChatState)': /home/robby/Download/Prgs/telepathy/telepathy-text-ui/lib/chat-widget.cpp:703: undefined reference to `Tp::Channel::groupContacts() const' CMakeFiles/ktelepathy_chat_lib.dir/chat-widget.o: In function `ChatWidget::icon() const': /home/robby/Download/Prgs/telepathy/telepathy-text-ui/lib/chat-widget.cpp:236: undefined reference to `Tp::Channel::groupContacts() const' CMakeFiles/ktelepathy_chat_lib.dir/channel-contact-model.o: In function `ChannelContactModel::setTextChannel(Tp::SharedPtr<Tp::TextChannel> const&)': /home/robby/Download/Prgs/telepathy/telepathy-text-ui/lib/channel-contact-model.cpp:40: undefined reference to `Tp::Channel::groupContacts() const' collect2: ld returned 1 exit status make[2]: *** [lib/libktelepathy_chat_lib.so] Error 1 make[1]: *** [lib/CMakeFiles/ktelepathy_chat_lib.dir/all] Error 2 make: *** [all] Error 2 Reproducible: Didn't try Steps to Reproduce: go into directory with text-ui latest git mkdir build cd build cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` make Actual Results: Compiling failed Expected Results: Compiling successful I am using the http://ppa.launchpad.net/telepathy/ppa/ubuntu/oneiric ppa and some days before I first recognized this error, there were some updates of the base telepathy components (mission-control, gabble etc)
Which telepathy-qt4 version are you using? Also please make sure that you have the latest version of telepathy-common-internals library compiled and installed.
I tried again a fresh install. I compile telepathy-qt4 each time fresh from git. It now compiled with some warnings, however seemed to install with sudo make install without any warning or error. The same for the common-internals: they configured, compiled and installed without warnings or errors. But now configure of text-ui cannot find telepathy-qt4. hmmm.... See below the possibly interesting pieces of text appeared during compilation: cmake output during compiling telepathy-qt4: ----------------------------------------------------------------------------- -- The following external packages were located on your system. -- This installation will have the extra features provided by these packages. ----------------------------------------------------------------------------- * Qt Glib Support - QtCore library using Glib's main event loop * dbus-python - GLib-based Python DBus support * Telepathy-Farsight - A Framework for dealing with audio/video conferencing protocols * GStreamer - An open source multimedia framework * Telepathy-glib - Glib bindings for Telepathy ----------------------------------------------------------------------------- -- Congratulations! All external packages have been found. ----------------------------------------------------------------------------- -- Configuring done -- Generating done -- Build files have been written to: [ 0%] Generating _gen/constants.h WARNING: Failed to resolve dbus-ref to "org.freedesktop.Telepathy.Connection.Interface.Renaming.Renamed" in "org.freedesktop.Telepathy.Channel.Interface.Group" WARNING: Failed to resolve dbus-ref to "org.freedesktop.Telepathy.Connection.Interface.Renaming" in "org.freedesktop.Telepathy.Channel.Interface.Group" WARNING: Failed to resolve dbus-ref to "org.freedesktop.Telepathy.Channel.Type.Call1.CallStateDetails" in "Insufficient Balance" [ 3%] Generating _gen/future-misc.moc.hpp /home/robby/Download/Prgs/telepathy/telepathy-qt4/build/TelepathyQt/_gen/future-misc.h:0: Warning: No relevant classes found. No output generated. [ 3%] Generating _gen/future-constants.h WARNING: Failed to resolve dbus-ref to "org.freedesktop.Telepathy.Connection.ConnectionError" in "Software Upgrade Required" WARNING: Failed to resolve dbus-ref to "org.freedesktop.Telepathy.Connection.Interface.Balance" in "Insufficient Balance" WARNING: Failed to resolve dbus-ref to "org.freedesktop.Telepathy.Channel.Type.Call1.CallStateDetails" in "Insufficient Balance" WARNING: Failed to resolve dbus-ref to "org.freedesktop.Telepathy.Connection.Interface.Balance.AccountBalance" in "Insufficient Balance" [ 6%] Generating _gen/cli-channel.h, _gen/cli-channel-body.hpp WARNING: Failed to resolve dbus-ref to "org.freedesktop.Telepathy.Channel.Interface.Subject2.Subject" in "org.freedesktop.Telepathy.Channel.Type.RoomList" WARNING: Failed to resolve dbus-ref to "org.freedesktop.Telepathy.Channel.Interface.Room2.RoomName" in "org.freedesktop.Telepathy.Channel.Type.RoomList" WARNING: Failed to resolve dbus-ref to "org.freedesktop.Telepathy.Channel.Interface.Room2.Server" in "org.freedesktop.Telepathy.Channel.Type.RoomList" ----------------- cmake output for telepathy-text-ui: CMake Error at /usr/share/kde4/apps/cmake/modules/FindPackageHandleStandardArgs.cmake:198 (MESSAGE): Could NOT find TELEPATHY_QT4 (missing: TELEPATHY_QT4_INCLUDE_DIR) Call Stack (most recent call first): cmake/modules/FindTelepathyQt4.cmake:42 (find_package_handle_standard_args) CMakeLists.txt:11 (find_package) -- Configuring incomplete, errors occurred!
That is because telepathy-qt4 from git is currently unsupported. We suggest using the last telepathy-qt4 in 0.7.x series or waiting for proper fixes for 0.9 (they are on the way).
hmm i dont get it compiled quite well, next i will remove all telepathy stuff completely and reinstall/compile the stack. I just read the blog entry about kde-telepathy now depends on telepathy-qt4 0.9. Is it possible thats the cause, that i cannot compile from git since 1-2 weeks? where can i get this version of telepathy-qt4 (sources)?