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