[Help-gnutls] RE: GNU TLS 2.2.4 installation

Rajitha Reddy RReddy at mocana.com
Wed Nov 12 17:45:17 CET 2008


Thank you. I have built it on Linux with latest versions of gnutls. Libcyrpt and libpgerror. It went through fine. Although, I got an error when doing a "make check " on gnutls. But, "make install" on gnutls did go through fine.

======================================================================================
PKCS8 OK enc2pkcs8.pem baz
PKCS8 DONE (rc 0)
PASS: pkcs8
==================
All 1 tests passed
==================
make[3]: Leaving directory `/auto/users/rreddy/software/ssl/gnutls-2.6.0/tests/pkcs8-decode'
make[2]: Leaving directory `/auto/users/rreddy/software/ssl/gnutls-2.6.0/tests/pkcs8-decode'
Making check in pkcs12-decode
make[2]: Entering directory `/auto/users/rreddy/software/ssl/gnutls-2.6.0/tests/pkcs12-decode'
make  pkcs12_s2k \
          pkcs12
make[3]: Entering directory `/auto/users/rreddy/software/ssl/gnutls-2.6.0/tests/pkcs12-decode'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  -I../../lgl -I../../lgl -I./.. -I../../gl -I../../gl -I../../includes -I../../includes -I../../lib -I../../doc/examples  -pipe -I/usr/local/include -g -O2 -Wno-pointer-sign -MT pkcs12_s2k.o -MD -MP -MF .deps/pkcs12_s2k.Tpo -c -o pkcs12_s2k.o pkcs12_s2k.c In file included from ../../lib/gnutls_int.h:142,
                 from pkcs12_s2k.c:30:
../../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:268,
                 from pkcs12_s2k.c:30:
../../lib/x509/x509_int.h:40: error: expected specifier-qualifier-list before 'ASN1_TYPE'
../../lib/x509/x509_int.h:45: error: expected specifier-qualifier-list before 'ASN1_TYPE'
../../lib/x509/x509_int.h:51: error: expected specifier-qualifier-list before 'ASN1_TYPE'
../../lib/x509/x509_int.h:56: error: expected specifier-qualifier-list before 'ASN1_TYPE'
../../lib/x509/x509_int.h:107: error: expected specifier-qualifier-list before 'ASN1_TYPE'
../../lib/x509/x509_int.h:126: error: expected ')' before 'cert'
../../lib/x509/x509_int.h:130: error: expected ')' before 'src'
../../lib/x509/x509_int.h:146: error: expected ')' before 'asn1_struct'
../../lib/x509/x509_int.h:150: error: expected ')' before 'asn1_struct'
../../lib/x509/x509_int.h:155: error: expected ')' before 'asn1_struct'
../../lib/x509/x509_int.h:159: error: expected ')' before 'asn1_struct'
../../lib/x509/x509_int.h:177: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_gnutls_privkey_decode_pkcs1_rsa_key'
../../lib/x509/x509_int.h:179: error: expected ')' before '*' token
../../lib/x509/x509_int.h:241: error: expected ')' before 'node'
../../lib/x509/x509_int.h:246: error: expected ')' before 'node'
../../lib/x509/x509_int.h:248: error: expected ')' before 'node'
../../lib/x509/x509_int.h:250: error: expected ')' before 'node'
../../lib/x509/x509_int.h:253: error: expected ')' before 'dst'
In file included from ../../lib/gnutls_cert.h:30,
                 from ../../lib/gnutls_int.h:268,
                 from pkcs12_s2k.c:30:
../../lib/x509/x509_int.h:262: error: expected specifier-qualifier-list before 'ASN1_TYPE'
../../lib/x509/x509_int.h:320: error: expected declaration specifiers or '...' before 'ASN1_TYPE'
make[3]: *** [pkcs12_s2k.o] Error 1
make[3]: Leaving directory `/auto/users/rreddy/software/ssl/gnutls-2.6.0/tests/pkcs12-decode'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/auto/users/rreddy/software/ssl/gnutls-2.6.0/tests/pkcs12-decode'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/auto/users/rreddy/software/ssl/gnutls-2.6.0/tests'
make: *** [check-recursive] Error 1
[gnutls-2.6.0]#
======================================================================================

Will this be a problem?

Also, I checked for gnutls under /usr/include. There isn't any. Can you please advise?

I guess I can just start gnutls-cli from gnutls2.6.0/src isn't?

Thanks,
Rajitha.

-----Original Message-----
From: Simon Josefsson [mailto:simon at josefsson.org]
Sent: Wednesday, November 12, 2008 1:03 AM
To: Rajitha Reddy
Cc: help-gnutls at gnu.org
Subject: Re: GNU TLS 2.2.4 installation

Rajitha Reddy <RReddy at mocana.com> writes:

> (cd .libs/libgcrypt.lax/libcipher.a && ar x /cygdrive/c/Documents and
> Settings

Libtool doesn't support building from directory names that contains the
space character, even under GNU/Linux.  You need to build it in a
directory without SPC in it.

/Simon





More information about the Gnutls-help mailing list