[gnutls-dev] building gnutls-1.0.8 on Solaris 8: failure

Dimitri Papadopoulos-Orfanos papadopo at shfj.cea.fr
Mon Mar 15 15:21:11 CET 2004


Hi,

GnuTLS 1.0.8 fails to build on my Solaris 8 machine. The reason is that 
the OpenCDK header inclusion path is missing:

/bin/bash ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. 
-I../libextra -Iminitasn1/ -I../includes -I/usr/local/libgcrypt/include 
  -I/usr/local/libgpg-error/include    -O -D_REENTRANT -D_THREAD_SAFE 
-I/usr/local/libgcrypt/include  -I/usr/local/libgpg-error/include -c -o 
gnutls_handshake.lo `test -f 'gnutls_handshake.c' || echo 
'./'`gnutls_handshake.c
  cc -DHAVE_CONFIG_H -I. -I. -I.. -I../libextra -Iminitasn1/ 
-I../includes -I/usr/local/libgcrypt/include 
-I/usr/local/libgpg-error/include -O -D_REENTRANT -D_THREAD_SAFE 
-I/usr/local/libgcrypt/include -I/usr/local/libgpg-error/include -c 
gnutls_handshake.c  -KPIC -DPIC -o .libs/gnutls_handshake.o
"../libextra/openpgp/openpgp.h", line 12: cannot find include file: 
<opencdk.h>
"../libextra/openpgp/openpgp.h", line 15: syntax error before or at: 
cdk_kbnode_t
"../libextra/openpgp/openpgp.h", line 15: cannot recover from previous 
errors
cc: acomp failed for gnutls_handshake.c

It's missing a -I/usr/local/opencdk/include. On my system:
	$ opencdk-config --cflags
	-I/usr/local/libgcrypt/include -I/usr/local/libgpg-error/include 
-I/usr/local/opencdk/include
	$
I know this is a peculiar and unusual installation, but still, that 
should probably be fixed.

There are also warnings I'll report in another mail.

Regards,
--
Dimitri Papadopoulos




More information about the Gnutls-devel mailing list