building libgcrypt 1.1.42 on Solaris

Dimitri Papadopoulos-Orfanos papadopo@shfj.cea.fr
Thu, 28 Aug 2003 11:58:01 +0200


Hi,

libgcrypt 1.1.42 doesn't build without the optional GPG Error package.

Building on Solaris 8 using the Sun ONE Studio 7 compiler:

$ ./configure --prefix=/home/papadopo/libgcrypt
checking build system type... sparc-sun-solaris2.8
[...]
checking for gpg-error-config... no
checking for GPG Error - version >= 0.1... no
[...]
$ make
[...]
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -g -c mpi-add.c  -KPIC -DPIC -o 
mpi-add.o
"../src/gcrypt.h", line 27: cannot find include file: <gpg-error.h>
"../src/gcrypt.h", line 90: warning: no explicit type given
"../src/gcrypt.h", line 90: syntax error before or at: gcry_error_t
[...]
cc: acomp failed for mpi-add.c
[...]
$


--
Dimitri