[gnutls-dev] building gnutls-0.9.93 on Solaris 8

Dimitri Papadopoulos-Orfanos papadopo at shfj.cea.fr
Tue Oct 28 15:53:07 CET 2003


Hi,

It seems GnuTLS directly depends on libgpg-error. This is not documented 
anywhere. Also the configure script neither checks for this software 
package nor provides a --with-libgpg-error-prefix= option flag.

For this reason building gnutls-0.9.93 fails on my Solaris box which has 
libgpg-error installed in /usr/local/libgpg-error-0.5:
  cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../ -I../minitasn1/ 
-I../../includes/ -O -I/usr/local/libgcrypt/include -c crl.c  -KPIC 
-DPIC -o .libs/crl.o
"/usr/local/libgcrypt/include/gcrypt.h", line 27: cannot find include 
file: <gpg-error.h>
"/usr/local/libgcrypt/include/gcrypt.h", line 90: warning: no explicit 
type given
[...]

I've worked around as usual by defining
	CPPFLAGS=/usr/local/libgpg-error/include
	LDFLAGS=/usr/local/libgpg-error/lib
prior to configuring GnuTLS.

Then GnuTLS attempts to do include libtasn although libtasn is not 
installed anywhere (I think it has been built into libgcrypt):
"../../lib/gnutls_mpi.h", line 5: cannot find include file: <libtasn1.h>
"../../lib/gnutls_cert.h", line 5: cannot find include file: <libtasn1.h>
"../../lib/x509/x509.h", line 8: syntax error before or at: ASN1_TYPE
"../../lib/x509/x509.h", line 8: cannot recover from previous errors

--
Dimitri





More information about the Gnutls-devel mailing list