GPG 2.1 beta compilation error

Ben McGinnes ben at adversary.org
Thu Jul 26 12:40:15 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.

Okay, I tried it again with all the paths set to /usr/local and the
following appeared in the configure log:

configure: checking for libraries
checking for gpg-error-config... /usr/local/bin/gpg-error-config
checking for GPG Error - version >= 1.10... yes (1.10)
checking for libgcrypt-config... /usr/local/bin/libgcrypt-config
checking for LIBGCRYPT - version >= 1.5.0... yes (1.5.0-beta1)
checking LIBGCRYPT API version... okay
checking for libassuan-config... /usr/local/bin/libassuan-config
checking for LIBASSUAN - version >= 2.0.3... yes (2.0.3)
checking LIBASSUAN API version... okay
checking for ksba-config... /usr/local/bin/ksba-config
checking for KSBA - version >= 1.2.0... yes (1.2.0)
checking KSBA API version... okay
checking for usb_bulk_write in -lusb... yes
checking for usb_create_match... no
checking for library containing dlopen... -ldl
checking for encfs... /usr/bin/encfs
checking for fusermount... /bin/fusermount
checking for openpty in -lutil... yes
checking for shred... /usr/bin/shred
checking for pth-config... /usr/local/bin/pth-config
checking for PTH - version >= 1.3.7... yes
checking whether PTH installation is sane... yes

You'd think that everything would be fine, but I still ended up with
this:

status.c:25:26: error: status-codes.h: No such file or directory
status.c: In function ‘get_status_string’:
status.c:32: warning: implicit declaration of function
‘statusstr_msgidxof’
status.c:36: error: ‘statusstr_msgstr’ undeclared (first use in this
function)
status.c:36: error: (Each undeclared identifier is reported only once
status.c:36: error: for each function it appears in.)
status.c:36: error: ‘statusstr_msgidx’ undeclared (first use in this
function)
make[3]: *** [libcommon_a-status.o] Error 1
make[3]: Leaving directory `/usr/local/src/gnupg-2.1.0beta3/common'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/gnupg-2.1.0beta3/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/gnupg-2.1.0beta3'
make: *** [all] Error 2

I've got the entire output of configure and make (up until the moment
it hit that error), but it's about 25Kb of text and I'm unsure about
sending the whole lot through to the list.  I can send you the lot
directly if you like.


Regards,
Ben

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

iEYEAREKAAYFAlARHo8ACgkQNxrFv6BK4xPemACZAeKtvn5WON/zse1RaTUEyz5R
K+QAniOOnMWtngPfCOEiz+JO3Jy0smbz
=IzNH
-----END PGP SIGNATURE-----




More information about the Gnupg-users mailing list