--with-included-libtasn1 does not work

Simon Josefsson simon at josefsson.org
Fri Aug 29 10:01:31 CEST 2008


"jth.net ApS" <info at jth.net> writes:

> Linux Fedora 6
> gnutls-2.5.4
>
> ./configure --with-gnu-ld --prefix=/usr --with-included-libtasn1
>
> Making all in opencdk
> make[3]: Entering directory `/usr/src/other/gnutls-2.5.4/lib/opencdk'
> /bin/sh ../../libtool --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H
> -I. -I../..  -I../../lib -I../../includes -I../../includes -I../../lgl
> -I../../lgl  -pipe -I/usr/local/include -g -O2 -Wno-pointer-sign -MT armor.lo
> -MD -MP -MF .deps/armor.Tpo -c -o armor.lo armor.c
>  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../lib -I../../includes
> -I../../includes -I../../lgl -I../../lgl -pipe -I/usr/local/include -g -O2
> -Wno-pointer-sign -MT armor.lo -MD -MP -MF .deps/armor.Tpo -c armor.c  -fPIC
> -DPIC -o .libs/armor.o
> In file included from ../../lib/gnutls_int.h:112,
>                  from opencdk.h:30,
>                  from armor.c:37:
> ../../lib/gnutls_mpi.h:29:23: error: libtasn1.h: No such file or directory
> In file included from ../../lib/gnutls_cert.h:30,
>                  from ../../lib/gnutls_int.h:238,
>                  from opencdk.h:30,
>                  from armor.c:37:
>
>
> This does not work:
> # include <libtasn1.h>
>
> This will work
> # include "../../lib/minitasn1/libtasn1.h"
>
> Same problem in lib/gnutls_cert.h

I believe I have fixed it with this patch:

http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=commitdiff;h=b855779d46c07ae5a03280536e24f8405c374dcf

I'll release 2.5.5 later today, please test it.

/Simon





More information about the Gnutls-devel mailing list