Re: GNUTLS and configure options
Cai Qian <[email protected]>
| Newsgroups | gmane.comp.gnome.apps.gkrellm |
|---|---|
| Message-ID | <[email protected]> |
Hi, From: Bill WIlson <[email protected]> Subject: Re: [Gkrellm] GNUTLS and configure options Date: Thu, 15 Feb 2007 23:54:07 -0600 > On Fri, 16 Feb 2007 05:28:14 +0000 (GMT) > Cai Qian <[email protected]> wrote: > > > I would like to compile gkrellm linking to GNUTLS library but without to > > OpenSSL library. I saw there is --without-ssl option. However, I am not sure > > how to pass it to src/configure. Every time I run "make" in top directory of > > the source code, it overwrites the options, and gkrellm has still been linked > > to OpenSSL. > > If gnutls is installed it should link to it preferentially. In any case, the option > would be set by making with the command: make without-ssl=1 > > I get these results: > > $ make > $ ldd src/gkrellm | grep ssl > libgnutls-openssl.so.11 => /usr/lib/libgnutls-openssl.so.11 (0xb7863000) > > $ make without-ssl=1 > ldd src/gkrellm | grep ssl > libgnutls-openssl.so.11 => /usr/lib/libgnutls-openssl.so.11 (0xb78a9000) > > $ make without-gnutls=1 > $ ldd src/gkrellm | grep ssl > libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb78c2000) > > Bill It seems there is a problem to detect GNUTLS library. I have the following error messages in src/configure.log, Checking for gnutls... test.c:5: warning: data definition has no type or storage class test.c: In function `main': test.c:11: error: `GCRYCTL_SET_THREAD_CBS' undeclared (first use in this function) test.c:11: error: (Each undeclared identifier is reported only once test.c:11: error: for each function it appears in.) test.c:11: error: `gcry_threads_pthread' undeclared (first use in this function) gcc: test.o: No such file or directory Not found, mail check will not have gnutls support... Checking for ssl... Defining HAVE_SSL Checking for libsensors... test.c:2:29: sensors/sensors.h: No such file or directory gcc: test.o: No such file or directory Not found, sensors will not have libsensors support... However, I suppose all required library has been installed, ii libgnutls-dev 1.4.0-3ubuntu1 the GNU TLS library - development files ii libgnutls11 1.0.16-13.1 GNU TLS library - runtime library ii libgnutls12 1.2.9-2ubuntu1 the GNU TLS library - runtime library ii libgnutls13 1.4.0-3ubuntu1 the GNU TLS library - runtime library ii libgcrypt11 1.2.2-2 LGPL Crypto library - runtime library ii libgcrypt11-dev 1.2.2-2 LGPL Crypto library - development files Cai Qian _______________________________________________ Gkrellm mailing list [email protected] http://lists.jutley.org/cgi-bin/mailman/listinfo/gkrellm