Summary: | kde-base/kopete-4.3.1: doesn't compile with libgadu support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Przybyła <przybyla.michal> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | CC: | gentoo, sebastian |
Priority: | High | Flags: | tampakrap:
Bugday+
|
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log |
Description
Michał Przybyła
2009-10-08 11:31:47 UTC
Please sync in about 1 hour and try again. (In reply to comment #1) > Please sync in about 1 hour and try again. > No change ;( libgadu was alredy compliled with the threads flag, to be sure I recompiled libgadu, did not help. I found something interesting in the file /var/tmp/portage/kde-base/kopete-4.3.1/work/CMakeCache.txt: PC_LIBGADU_CFLAGS:INTERNAL=-pthread;-I/usr/kerberos/include IMHO it should be PC_LIBGADU_CFLAGS:INTERNAL=-pthread;-I/usr/include So there is something wrong in FindLibgadu.cmake file. Hope it helps, I don't know how cmake works, so I can't resolve it myself ;( Are you sure you don't have local copy of libgadu in /usr/local ? (In reply to comment #4) > Are you sure you don't have local copy of libgadu in /usr/local ? > Yes, I'm sure (/usr/local/lib contains only the ".keep" file and an empty directory "kde4"). I also did "emerge -e world". No effect :/ Please post the complete build log. It seems you either have a polluted environment or that there's some "collision" with a kerberos package. Do you have heimdal or mit-krb5? Created attachment 208508 [details]
Build log
(In reply to comment #6) > Please post the complete build log. It seems you either have a polluted > environment or that there's some "collision" with a kerberos package. Do you > have heimdal or mit-krb5? > no heimdal or mit-krb5
> no heimdal or mit-krb5
>
SORRY!!!
arrrrghh.... I made a typo when checking it, I have mit-krb5-1.7-r1 installed ;((
I noticed the following in your environment: C_INCLUDE_PATH=/usr/lib/oracle/11.1.0.7.0/client/include In the build log you also have: -- checking for module 'libgadu' -- found libgadu, version 1.8.2 -- Found LIBGADU: /usr/lib/libgadu.so grep: /usr/kerberos/include/libgadu.h: Nie ma takiego pliku ani katalogu -- libgadu must be compiled with pthreads support Can you translate the above error message? (In reply to comment #10) > I noticed the following in your environment: > C_INCLUDE_PATH=/usr/lib/oracle/11.1.0.7.0/client/include > > In the build log you also have: > -- checking for module 'libgadu' > -- found libgadu, version 1.8.2 > -- Found LIBGADU: /usr/lib/libgadu.so > grep: /usr/kerberos/include/libgadu.h: Nie ma takiego pliku ani katalogu > -- libgadu must be compiled with pthreads support > > Can you translate the above error message? > grep: /usr/kerberos/include/libgadu.h: No such file or directory I have the same with kopete 4.3.4 So the problem persist with the new version of kde. It seems that the problem is somewhere else than kopete/kde. I checked in /usr/lib64/pkgconfig/libgadu.pc, and there is: prefix=/usr exec_prefix=${prefix} libdir=/usr/lib64 includedir=${prefix}/include Name: libgadu Version: 1.8.2 Description: libgadu Requires: openssl Libs: -L${libdir} -lgadu -pthread -lssl -lcrypto -ldl -lz Cflags: -I${includedir} -pthread -I/usr/kerberos/include Then I checked what other files contain /usr/kerberos/include, and I found: libssl.pc, openssl.pc, and libcrypto.pc. It seems that dependencies for ssl can't be correctly compiled at all. I cannot reproduce this problem with kopete-4.3.5 on x86: -- checking for module 'libgadu' -- found libgadu, version 1.8.2 -- Found LIBGADU: /usr/lib/libgadu.so #define GG_CONFIG_HAVE_PTHREAD -- Looking for include files HAVE_VALGRIND_H Gadu support is available in kopete as expected (although I didn't test it because I lack an account). Portage told me to set the threads use flag for libgadu. Miroslav, what's your ssh version and useflags? What happens after you re-emerge that? Do you need kerberos support? If not, can you disable it for ssh? As there was no more feedback and I can build the gadu support here (even though I can't test it), I'm going to close this as WORKSFORME. Please reopen if you hit this issue again. |