[opensuse-factory] libgadu and kdenetwork
I have been trying to get kdenetwork to detect libgadu for gadu protocol support without success. libgadu is available, and it is in the buildrequires. Here is the cmake message: -- checking for module 'libgadu' -- found libgadu, version 1.11.0 -- Found LIBGADU: /usr/lib64/libgadu.so grep: /usr/local/include/libgadu.h: No such file or directory -- libgadu must be compiled with pthreads support Note that libgadu IS being built with pthreads support enabled. Also note that cmake appears to be searching /usr/local/include/. Include files are not installed there, they are installed in /usr/include/, and kdenetwork is told to search in /usr/include, it searches in /usr/include for every other package it needs, and libgadu.pc says to look in /usr/include. I looked at the cmakelists.txt files and couldn't find anything obviously wrong. Does anyone have any ideas what might be going on here? -Todd -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 15/10/11 15:52, todd rme wrote:
I have been trying to get kdenetwork to detect libgadu for gadu protocol support without success. libgadu is available, and it is in the buildrequires. Here is the cmake message:
-- checking for module 'libgadu' -- found libgadu, version 1.11.0 -- Found LIBGADU: /usr/lib64/libgadu.so grep: /usr/local/include/libgadu.h: No such file or directory -- libgadu must be compiled with pthreads support
Note that libgadu IS being built with pthreads support enabled.
How does the buildsystem detects libgadu is built with pthread ? it looks for some constant in the installed headers, tries to find a particular function or just hackishly reads the output of ldd ? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Sat, Oct 15, 2011 at 8:58 PM, Cristian Rodríguez <crrodriguez@opensuse.org> wrote:
On 15/10/11 15:52, todd rme wrote:
I have been trying to get kdenetwork to detect libgadu for gadu protocol support without success. libgadu is available, and it is in the buildrequires. Here is the cmake message:
-- checking for module 'libgadu' -- found libgadu, version 1.11.0 -- Found LIBGADU: /usr/lib64/libgadu.so grep: /usr/local/include/libgadu.h: No such file or directory -- libgadu must be compiled with pthreads support
Note that libgadu IS being built with pthreads support enabled.
How does the buildsystem detects libgadu is built with pthread ? it looks for some constant in the installed headers, tries to find a particular function or just hackishly reads the output of ldd ?
I am not sure it does, it may just be a general warning. I don't recall seing anything about that in the cmakelists but I might have missed it since I am no cmake expert. -Todd -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Saturday 15 October 2011 20:52:20 todd rme wrote:
-- Found LIBGADU: /usr/lib64/libgadu.so grep: /usr/local/include/libgadu.h: No such file or directory
Something's wrong. It finds the library in /usr/lib64 but is looking in /usr/local/include for the include file. That doesn't sound right. Are there remnants of an old libgadu installation (pkgconfig files perhaps) in /usr/local that is throwing off kdenetwork? Anders -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Sat, Oct 15, 2011 at 9:24 PM, Anders Johansson <ajh@nitio.de> wrote:
On Saturday 15 October 2011 20:52:20 todd rme wrote:
-- Found LIBGADU: /usr/lib64/libgadu.so grep: /usr/local/include/libgadu.h: No such file or directory
Something's wrong. It finds the library in /usr/lib64 but is looking in /usr/local/include for the include file. That doesn't sound right. Are there remnants of an old libgadu installation (pkgconfig files perhaps) in /usr/local that is throwing off kdenetwork?
Anders
No clue. This is in OBS, and it would seem strange if anything is being left behind in OBS. -Todd -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Saturday 15 October 2011 22:02:45 todd rme wrote:
On Sat, Oct 15, 2011 at 9:24 PM, Anders Johansson <ajh@nitio.de> wrote:
On Saturday 15 October 2011 20:52:20 todd rme wrote:
-- Found LIBGADU: /usr/lib64/libgadu.so grep: /usr/local/include/libgadu.h: No such file or directory
Something's wrong. It finds the library in /usr/lib64 but is looking in /usr/local/include for the include file. That doesn't sound right. Are there remnants of an old libgadu installation (pkgconfig files perhaps) in /usr/local that is throwing off kdenetwork?
Anders
No clue. This is in OBS, and it would seem strange if anything is being left behind in OBS.
I don't know, but I do know that in OBS, nothing should ever be in /usr/local so it is a clear sign of a problem that kdenetwork should think that the header is there Anders -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Dnia sobota, 15 października 2011 20:52:20 todd rme pisze:
I have been trying to get kdenetwork to detect libgadu for gadu protocol support without success. libgadu is available, and it is in the buildrequires. Here is the cmake message:
-- checking for module 'libgadu' -- found libgadu, version 1.11.0 -- Found LIBGADU: /usr/lib64/libgadu.so grep: /usr/local/include/libgadu.h: No such file or directory -- libgadu must be compiled with pthreads support
Note that libgadu IS being built with pthreads support enabled. Also note that cmake appears to be searching /usr/local/include/. Include files are not installed there, they are installed in /usr/include/, and kdenetwork is told to search in /usr/include, it searches in /usr/include for every other package it needs, and libgadu.pc says to look in /usr/include. I looked at the cmakelists.txt files and couldn't find anything obviously wrong.
Does anyone have any ideas what might be going on here?
-Todd I fixed it in my repo[1]. Since we use gnutls instead openssl, libgadu build against gnutls inherits include dirs (in .pc file) from it. With this fix, kdenetwork4 finds libgadu without any problems and kopete has support for gadu-gadu. Should I fill a bug report with this issue to do a maintenance update for 12.1? I'll submit fixed libgadu to devel project so it won't be a problem for Factory anymore.
[1] http://goo.gl/ZbjEJ -- Pozdrawiam / Best regards, Mariusz Fik openSUSE Community Member GPG: 5FCE 7241 B3B9 32FD 455B C30E 42D6 6C88 9E83 7C3D
participants (4)
-
Anders Johansson
-
Cristian Rodríguez
-
Mariusz Fik
-
todd rme