gnutls 2.11.0 released

lfinsto at gwdg.de lfinsto at gwdg.de
Fri Jul 23 14:25:59 CEST 2010


gnutls 2.11.0 released
From: 	Nikos Mavrogiannopoulos
Subject: 	gnutls 2.11.0 released
Date: 	Thu, 22 Jul 2010 19:47:13 +0200

I got it to build with only minor problems:

As you mentioned in a previous message:

Copied [...]/tests/sha2/key-subca-dsa.pem from master to [...]/gnutls-2.11.0

Then:

configure --disable-valgrind-tests
--with-libgcrypt-prefix=/home/lfinsto/libgcrypt-1.4.6 --prefix=`pwd`

make # Fails:

init.c:36: error: 'GCRY_THREAD_OPTION_VERSION' undeclared here (not in a
function)
make[4]: *** [init.lo] Error 1
make[4]: Leaving directory
`/home/lfinsto/gnutls_dev/gnutls-2.11.0/lib/gcrypt'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/lfinsto/gnutls_dev/gnutls-2.11.0/lib'

I mentioned this problem previously with regard to the master, i.e.,
`--with-libgcrypt-prefix' doesn't seem to have the desired effect
everywhere it should.

This didn't work:

export CFLAGS="-I/home/lfinsto/libgcrypt-1.4.6/include"

make # Fails with same error

This did:

ln -s /home/lfinsto/libgcrypt-1.4.6/include/gcrypt.h
/home/lfinsto/gnutls_dev/gnutls-2.11.0/lib/gcrypt/gcrypt.h

make # Succeeds

make install # Succeeds

make check # Succeeds

I ran across another problem when trying to use the master branch of
GNUTLS and libgcrypt 1.4.6, which I have installed as a normal user (and
below this user's home directory) instead of the (outdated) versions of
these libraries provided by OpenSuse 11.1, namely libgcrypt 1.4.1 and
GNUTLS 2.4.1:  `gcry_check_version' needs to be called before any other
libgcrypt functions but after `gcry_control(GCRYCTL_SET_THREAD_CBS, ...)'.
 My application blocked until I added this.

I found a note you'd written in some file (a ChangeLog?) from 2008
explaining this.  I've made a note to myself to find an appropriate place
in the documentation to explain this and also to have a look through the
example programs to see if it should be included in them.  I think it
should be, since I based the parts of my program that use GNUTLS on a
couple of these example programs.

Laurence

-------------------------------------------------------------
Laurence Finston
Gesellschaft fuer wissenschaftliche Datenverarbeitung mbH
Am Fassberg 11
37077 Goettingen

Telefon: 	+49 551 201-1882
E-Mail: 	lfinsto at gwdg.de





More information about the Gnutls-devel mailing list