Bug 289580 - compilation of telepathy-qt 0.9.0 fails
Summary: compilation of telepathy-qt 0.9.0 fails
Status: RESOLVED UPSTREAM
Alias: None
Product: telepathy
Classification: Unmaintained
Component: general (show other bugs)
Version: git-latest
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 0.4.0
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-22 12:05 UTC by Robby Engelmann
Modified: 2012-07-06 12:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robby Engelmann 2011-12-22 12:05:55 UTC
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/conn-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.
Comment 1 Martin Klapetek 2011-12-22 12:22:44 UTC
Sorry, TelepathyQt is upstream project and so you'll have to report this there - https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy - component tp-qt.
Comment 2 Robby Engelmann 2011-12-22 12:31:17 UTC
OK, just done :-)
Comment 3 Pavel Punegov 2011-12-22 19:52:05 UTC
В сообщении от Чт, 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@kde.org
>         ReportedBy: robby.engelmann@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