[Bug 289580] compilation of telepathy-qt 0.9.0 fails

Pavel Punegov pavelpngv at gmail.com
Thu Dec 22 19:52:21 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=289580





--- Comment #3 from Pavel Punegov <pavelpngv gmail com>  2011-12-22 19:52:05 ---
В сообщении от Чт, 22 дек 2011 16:05:55 автор Robby Engelmann написал:
> https://bugs.kde.org/show_bug.cgi?id=289580
> 
>            Summary: compilation of telepathy-qt 0.9.0 fails
>            Product: telepathy
>            Version: git-latest
>           Platform: Ubuntu Packages
>         OS/Version: Linux
>             Status: UNCONFIRMED
>           Severity: normal
>           Priority: NOR
>          Component: general
>         AssignedTo: kde-telepathy at kde.org
>         ReportedBy: robby.engelmann at igfs-ev.de
> 
> 
> Version:           git-latest (using KDE 4.7.3)
> OS:                Linux
> 
> compiling telepathy-qt 0.9.0 fails with error:
> ...
> [ 89%] Building CXX object
> tests/dbus/CMakeFiles/test-conn-addressing.dir/conn-addressing.cpp.o
> Linking CXX executable test-conn-addressing
> ../lib/glib/future/conn-addressing/libfuture-example-conn-addressing.a(conn
> .c.o): In function `tp_tests_addressing_connection_get_type':
> /home/robby/Download/Prgs/telepathy/telepathy-qt4/tests/lib/glib/future/con
> n-addressing/conn.c:31: undefined reference to
> `tp_tests_contacts_connection_get_type'
> collect2: ld returned 1 exit status
> make[2]: *** [tests/dbus/test-conn-addressing] Error 1
> make[1]: *** [tests/dbus/CMakeFiles/test-conn-addressing.dir/all] Error 2
> make: *** [all] Error 2
> 
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. download sources from
> "http://cgit.freedesktop.org/telepathy/telepathy-qt4/snapshot/telepathy-qt-
> 0.9.0.tar.gz" or download via
> git clone git://anongit.freedesktop.org/telepathy/telepathy-qt4
> 2. mkdir build
> 3. cd build
> 4. cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
> 5. make -j 2
> 
> Actual Results:
> error message
> 
> Expected Results:
> sources compile
> 
> i am running kubuntu oneiric with kde 4.7.4.

When configuring with cmake use option -DCMAKE_BUILD_TYPE=release. Test would
not 
build if you use it. I hope it helps:
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
-DCMAKE_BUILD_TYPE=release

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KDE-Telepathy mailing list