GPGME 0.4.1 -- compile hassles

Bernhard Reiter bernhard@intevation.de
Fri Jul 18 16:09:02 2003


--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

Additionally I found that=20

	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/gpgm=
e'

	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@.


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@gnupg.org.

--tKW2IUtsqtDRztdT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA/Fv1/h9ag3dpKERYRAkxyAJ4tCpombhNOYgbUZz8TaRVNpm4VTgCgzh2D
tQg2d1AUgX9OZWcNWz60s8M=
=L/55
-----END PGP SIGNATURE-----

--tKW2IUtsqtDRztdT--