GPG 2.1 beta compilation error

Ben McGinnes ben at adversary.org
Thu Jul 26 09:54:29 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 26/07/12 5:25 PM, Werner Koch wrote:
> On Thu, 26 Jul 2012 05:50, ben at adversary.org said:
> 
>> passphrase.c:585: error: ‘GCRY_KDF_ITERSALTED_S2K’ undeclared
>> (first use in this function)
> 
> You need at least Libgcrypt 1.5.0.  However, configure should have 
> detected this.  Thus the build process accidentally picked up 
> another gcrypt.h than the configure test.  Check the config.log
> and an actual cc invocation line to figure out what went wrong.

I compiled libgcrypt-1.5.0-beta1 in /usr/local, but there's probably
another version elsewhere.  Should I be using the following flags?

  --with-libgpg-error-prefix=PFX
  --with-libgcrypt-prefix=PFX
  --with-libassuan-prefix=PFX
  --with-ksba-prefix=PFX
  --with-pth-prefix=PFX

Any or all of them?  Should I just use "/usr/local" with them or full
paths to binaries?


Regards,
Ben

-----BEGIN PGP SIGNATURE-----

iEYEAREKAAYFAlAQ97UACgkQNxrFv6BK4xOtJQCZAaAUWECljnBiDF8SVuoXg09N
6LMAn1x8uFO/m9SR/Owe4fygZKUfVU6N
=pS5T
-----END PGP SIGNATURE-----




More information about the Gnupg-users mailing list