GPGME 0.4.1 -- compile hassles

Bernhard Reiter bernhard at intevation.de
Fri Jul 18 17:09:02 CEST 2003


Also hit the bug that libgpg-error is not enforced by the configure script.

Additionally I found that 

	the include path to libgpg-error
	is not added to the CFLAGS for tests/gpg, tests/gpgsm and tests


	compilation fails at
	engine-gpgsm.c: In function `set_recipients':
	engine-gpgsm.c:980: parse error before `int'
	engine-gpgsm.c:981: `newlen' undeclared (first use in this function)
	engine-gpgsm.c:981: (Each undeclared identifier is reported only once
	engine-gpgsm.c:981: for each function it appears in.)
	make[3]: *** [engine-gpgsm.lo] Error 1
	make[3]: Leaving directory `/home/projects/sicherheit/gpa/gpgme-0.4.1/gpgme'

	putting the declaration to the beginning of the while loop helps.
	I wonder if some new standard of C allows is with other compilers. :)


	Fixing the hassles above all 15 tests fails with:
	t-encrypt.c:42: GPGME: Invalid crypto engine


My configuration output:

        GPGME v0.4.1 has been configured as follows:

        GnuPG version: min. 1.2.2
        GnuPG path:    /usr/bin/gpg

        GpgSM version: min. 0.9.0
        GpgSM path:    /usr/bin/gpgsm

gcc version 2.95.4 20011002 (Debian prerelease)

Debian GNU/Linux ia32


Bernhard
ps.: Please cc: me on relevant replies, I'm not subscribed to gnupg-devel at .


On Fri, Jun 06, 2003 at 02:30:53PM +0200, Marcus Brinkmann wrote:
> We are pleased to announce version 0.4.1 of GnuPG Made Easy,
> a library designed to make access to GnuPG easier for applications.
> ftp://ftp.gnupg.org/gcrypt/alpha/gpgme/gpgme-0.4.1.tar.gz.

> Bug reports and requests for assistance should be sent to
> gnupg-devel at gnupg.org.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20030718/8616d4a1/attachment.bin


More information about the Gnupg-devel mailing list