gpgme: need *both* gnupg and gnupg2?

Rex Dieter rdieter at math.unl.edu
Tue Mar 4 16:03:18 CET 2008


Rex Dieter wrote:

> gpgme seems to need both gnupg(1) (for OpenPGP support) and gnupg(2) (for
> CMS support), according to the README.
> 
> Can gpg2 be used instead for gpgme's OpenPGP support (using something
> like ./configure --with-gpg=/usr/bin/gpg2) to reduce it's external
> dependencies to just gnupg2?
> 
> I naively tried this, and some of the tests performed by 'make check' now
> fail.

Followup, it was part of the regular build (not just 'make check') that
failed, in tests/gpg:
$(GPG) --homedir . --allow-secret-key-import
since gpg2 doesn't support --allow-secret-key-import

I needed to also add
--disable-gpg-test configure option for the build to succeed.

-- Rex




More information about the Gnupg-devel mailing list