Version: cvs 2003-sept-30 (using KDE KDE 3.1.3) Installed from: Debian testing/unstable Packages Compiler: gcc (GCC) 3.3.2 20030908 (Debian prerelease) OS: Linux ./configure --enable-debug=full --with-libgadu-includes=/usr/local/kopete/gadu/include --with-libgadu-libs=/usr/local/kopete/gadu/lib --prefix=/usr/local/kopete ends up to a checking for libgadu >= 1.3 with pthread support... no even if gadu is there. seems it's not detecting it.
version is cvs from 2003-09-30, why it didnt add?
Can you provide us the relevant lines in your config.log, the ones that explain why configure said it isn't present?
Subject: kdenetwork/kopete/protocols CVS commit by gj: libgadu from snapshot gives version number/name "CVS" which does not tell us anything. Basicaly, now we are testing for two defines. If set - it means version is higher or equal 1.3 and pthread support is compiled into libgadu. This closes 65277 CCMAIL: 65277-done@bugs.kde.org M +3 -22 configure.in.in 1.14 --- kdenetwork/kopete/protocols/configure.in.in #1.13:1.14 @@ -36,27 +36,8 @@ { #if defined __GG_LIBGADU_HAVE_PTHREAD && defined GG_LOGIN60 - - int bar; - bar = (int) strlen((char *)gg_libgadu_version()); - if (bar == 8) - { - int foo; - sscanf (gg_libgadu_version(), "%d", &foo); - if (foo >= 20030901) - { - return 0; - } - } - else - { - float foo; - sscanf (gg_libgadu_version(), "%f", &foo); - if (foo >= 1.3) - { - return 0; - } - } + return 0; +#else + return 1; #endif - return 1; } ], [
This is still not fixed. I have compiled libgadu EXACTLY following the instructions in README.gadu, using ekg-1.3, and the configure line shown. Libraries are in /usr/lib, and include files are in /usr/include. I have run ldconfig as root just in case, yet still with a CVS a few minutes old it does not detect gadu. Below follows verification of files being in place, the config.log snippet, and a bit from the ekg-1.3 configure output. user rivyn@eirny:/home/rivyn/downloads/kde-cvs/kdenetwork $ ls -l /usr/{lib,include}/*gadu* -rw-r--r-- 1 root root 917 Sep 27 19:01 /usr/include/libgadu-config.h -rw-r--r-- 1 root root 36493 Sep 27 19:01 /usr/include/libgadu.h lrwxrwxrwx 1 root root 15 Sep 27 19:01 /usr/lib/libgadu.so -> libgadu.so.2.13 lrwxrwxrwx 1 root root 15 Sep 27 19:01 /usr/lib/libgadu.so.2 -> libgadu.so.2.13 -rwxr-xr-x 1 root root 93852 Sep 27 19:01 /usr/lib/libgadu.so.2.13 configure:33367: checking for libgadu >= 1.3 with pthread support configure:33419: g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -fno-builtin -g3 -fno-inline -O0 -mcpu=i686 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 conftest.cc -lgadu -lpthread >&5 configure:33422: $? = 0 configure:33424: ./conftest configure:33427: $? = 1 configure: program exited with status 1 configure: failed program was: | /* #line 33376 "configure" */ | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "kdenetwork" | #define VERSION "3.1.92" | #ifdef __cplusplus | #include <stdlib.h> | #endif | #define KDELIBSUFF "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SGI_STL 1 | #define HAVE_CRYPT 1 | #define ksize_t socklen_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_RES_INIT 1 | #define HAVE_RES_INIT 1 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #define SIZEOF_CHAR_P 4 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_UNSIGNED_LONG 4 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBPNG 1 | #define HAVE_LIBJPEG 1 | #define HAVE_LIBPTHREAD 1 | #define HAVE_LIBTIFF 1 | #define HAVE_LINUX_TCP_H 1 | #define HAVE_LINUX_IF_PPP_H 1 | #define HAVE_NET_IF_PPP_H 1 | #define HAVE_ASM_PARAM_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FNMATCH_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_PATHS_H 1 | #define HAVE_UTMP_H 1 | #define HAVE_RE_COMP_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_RESOLV_H 1 | #define HAVE_BYTESWAP_H 1 | #define _FILE_OFFSET_BITS 64 | #define HAVE_FLOCK 1 | #define HAVE_USLEEP 1 | #define HAVE_USLEEP_PROTO 1 | #define HAVE_SOCKET 1 | #define HAVE_STRDUP 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_TZSET 1 | #define HAVE_SETENV 1 | #define HAVE_SETENV_PROTO 1 | #define HAVE_UNSETENV 1 | #define HAVE_UNSETENV_PROTO 1 | #define HAVE_GETDOMAINNAME 1 | #define HAVE_GETDOMAINNAME_PROTO 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTNAME_PROTO 1 | #define HAVE_TIMEZONE 1 | #define HAVE_TM_GMTOFF 1 | #define HAVE_SLP 1 | #define HAVE_LIBPTHREAD 1 | #define HAVE_TM_GMTOFF 1 | #define HAVE_KNOTIFYDIALOG_H 1 | #define XMLLINT "/usr/bin/xmllint" | #define HAVE_XSLT 1 | #define HAVE_TGMATH_H 1 | #define HAVE_XSCREENSAVER 1 | #define HAVE_XMMS 1 | #define HAVE_LIBPERL 1 | /* end confdefs.h. */ | | | #include <libgadu.h> | #include <stdio.h> | #include <string.h> | | int main() | { | #if defined __GG_LIBGADU_HAVE_PTHREAD && defined GG_LOGIN60 | | int bar; | bar = (int) strlen((char *)gg_libgadu_version()); | if (bar == 8) | { | int foo; | sscanf (gg_libgadu_version(), "%d", &foo); | if (foo >= 20030901) | { | return 0; | } | } | else | { | float foo; | sscanf (gg_libgadu_version(), "%f", &foo); | if (foo >= 1.3) | { | return 0; | } | } | #endif | return 1; | } | configure:33445: result: no configured options: - static libgadu: disabled - shared libgadu: enabled (default) - openssl: enabled - ioctld: disabled - python: disabled - zlib: enabled - pthread: enabled - ui-readline: disabled - ui-ncurses: enabled (default)
Subject: Re: [Kopete-devel] ./configure doesn't detectgadu 1.3 > This is still not fixed. I have compiled libgadu EXACTLY following the instructions in > README.gadu, using ekg-1.3, and the configure line shown. Libraries are in /usr/lib, and include > files are in /usr/include. I have run ldconfig as root just in case, yet still with a CVS a few > minutes old it does not detect gadu. Below follows verification of files being in place, the > config.log snippet, and a bit from the ekg-1.3 configure output. > | #include <stdio.h> > | #include <string.h> > | > | int main() > | { > | #if defined __GG_LIBGADU_HAVE_PTHREAD && defined GG_LOGIN60 > | > | int bar; > | bar = (int) strlen((char *)gg_libgadu_version()); > | if (bar == 8) > | { > | int foo; > | sscanf (gg_libgadu_version(), "%d", &foo); > | if (foo >= 20030901) > | { > | return 0; > | } > | } > | else > | { > | float foo; > | sscanf (gg_libgadu_version(), "%f", &foo); > | if (foo >= 1.3) > | { > | return 0; > | } > | } > | #endif > | return 1; > | } > | > configure:33445: result: no Consider reruning make -f Makefile.cvs before giving me any bogus reports again please. Also be aware of the fact that cvs anony is synchronized with development cvs every second odd hour. Also please read patch that have go through with my commit, and compare it to your output above. You are using version from before commit. -- GJ
Erroneously reopened. Sorry.