Hi Jon et al,
I've updated from anon CVS and wasn't able to compile the licq daemon because the gpgme version installed on my system is a bit old (0.3.4, lacking of gpgme_error_t declaration). So I updated to 1.0.2 from the sources (and gnupg 1.4.0 - even if not mandatory), which fixed the compilation problems. Anyway that's not why I'm writing this.. I wanted to understand the changes, and looked at licq/include/licq_gpg.h. Isn't the following patch necessary to compile when gpgme is *not* installed? <see attachment #1> Moreover I had to add a #include <unistd.h> to match write(,,) in src/gpg.cpp: <see attachment #2> And at last, some ./configure notes: - isn't it necessary to add a --disable-gpgme to ./configure's usage text? /===================================================================\ By the example: ./configure --help | grep -i gpgme gives: --with-gpgme-prefix=PFX prefix where GPGME is installed (optional) \===================================================================/ - moreover ./configure seems to always set HAVE_LIBGPGME to 1 in config.h if it finds gpgme-config, whatever I use --disable-gpgme or not! Is there really a --disable-gpgme option? /===================================================================\ By the example: ./configure --disable-gpgme gives: [snip] checking for GPGME - version >= 0.4.2... yes [snip] GPGME support is enabled. \===================================================================/ - even, to me ./configure is not coherent around the openssl detection. Why complaining about missing openssl if I explicitely use --disable-openssl? /===================================================================\ By the example: $ ./configure --disable-openssl gives: [snip] checking if OpenSSL support is desired... no [snip] OpenSSL support is not available. Licq will not be able to establish secure communication channels. This is not required for proper function (i.e. it is optional). If you really desire this functionality then install OpenSSL (libraries and headers) and rebuild Licq. OpenSSL can be found at http://www.openssl.org or as RPM from your local distribution site. Note you need version 0.9.5a or greater. \===================================================================/ Regards, -- wwp
licq-CVS-20050109-build-without-gpgme.patch
Description: Binary data
licq-CVS-20050109-unistd-for-write().patch
Description: Binary data