After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 577878 - ekiga-3.2.0 doesn't build with kde enabled
ekiga-3.2.0 doesn't build with kde enabled
Status: RESOLVED FIXED
Product: ekiga
Classification: Applications
Component: Build System
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: Snark
Ekiga maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-03 20:14 UTC by Mounir Lamouri
Modified: 2009-04-21 12:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
First build log (496.46 KB, text/plain)
2009-04-03 20:17 UTC, Mounir Lamouri
  Details
Second build log (474.87 KB, text/plain)
2009-04-03 20:26 UTC, Mounir Lamouri
  Details
Fixing patch (696 bytes, patch)
2009-04-18 00:57 UTC, Mounir Lamouri
none Details | Review

Description Mounir Lamouri 2009-04-03 20:14:00 UTC
Someone in the Gentoo bug about ekiga-3 [1] and I are having an error when building ekiga-3.2.0 with kde flag enabled.

It's an issue related to libQtCore which is installed but can't be linked.

Build logs will follow.

[1] http://bugs.gentoo.org/show_bug.cgi?id=238554#c125
Comment 1 Mounir Lamouri 2009-04-03 20:17:22 UTC
Created attachment 132031 [details]
First build log

On x86 with qt-core 4.5.0 installed and working. (libQtCore present and in lib path)
Comment 2 Mounir Lamouri 2009-04-03 20:26:55 UTC
Created attachment 132032 [details]
Second build log

This build log has been done with an x86_64 architecture with qt-core-4.4.2 installed.
The user has also tested with qt-core-4.5.0 and it was producing the same result.
Comment 3 Snark 2009-04-05 20:44:11 UTC
Sigh... the fact that qt doesn't come with a sane pkg-config file doesn't help its detection...

Do you have an example of a program which manages to detect it correctly in its configure.ac?
Comment 4 Mounir Lamouri 2009-04-16 03:39:30 UTC
vlc is getting QtCore info as ekiga does from pkg-config

kapplication.h should still be checked but it looks like you can get some stuff from vlc configure.ac
Comment 5 Snark 2009-04-17 20:11:14 UTC
That's good, I'll probably be able to do something about it. Thanks!
Comment 6 Mounir Lamouri 2009-04-18 00:57:07 UTC
Created attachment 132857 [details] [review]
Fixing patch

Actually, the patch is fixing the bug but :
1. it could be better (like checking for libkdeui)
2. it makes me realize kab was not working too
Comment 7 Mounir Lamouri 2009-04-18 02:50:23 UTC
Forgot what I said about kab support. It's working but you can remove -lQtCore from KAB_LIBS.
Comment 8 Snark 2009-04-18 08:37:13 UTC
I'm not 100% convinced by your patch : what if someone has installed qt but not kde? With your patch the configure script checks only for qt, and adds -lkdeui without any check.
Comment 9 Mounir Lamouri 2009-04-18 14:11:46 UTC
Actually, kdeui is the lib linked to kapplication.h but I said in comment #6 :
"1. it could be better (like checking for libkdeui)"

So I assume. If you want mo to add this check I can send you a new patch but I think it's trivial, isn't it ?
Comment 10 Snark 2009-04-19 07:12:48 UTC
A new patch would be nice, yes : I'm very short on time those days :-(

Thanks!
Comment 11 Snark 2009-04-21 12:24:11 UTC
Ok, I found the time to investigate (finding which function to detect wasn't 100% evident...).