gnupg 2.1.4 fails to build with --disable-gpgsm
HW42
hw42 at ipsumj.de
Fri Jun 5 23:58:18 CEST 2015
Hi Neal,
Werner already responded on 2015-05-15 that this will be fixed in 2.1.5
- but seems to forgot to CC the list.
Thank you.
HW42
Neal H. Walfield:
> Hi,
>
> I just tried this on Debian Jessie with the latest version of git.
> The build completed without an error.
>
> If you are still getting this error, please provide some more details
> about your configuration.
>
> Thanks,
>
> :) Neal
>
>
> GnuPG v2.1.5-beta6 has been configured as follows:
>
> Revision: 3a93054 (14995)
> Platform: GNU/Linux (x86_64-unknown-linux-gnu)
>
> OpenPGP: yes
> S/MIME: no
> Agent: yes
> Smartcard: yes (without internal CCID driver)
> G13: yes
> Dirmngr: yes
> Gpgtar: no
>
> Protect tool: (default)
> LDAP wrapper: (default)
> Default agent: (default)
> Default pinentry: (default)
> Default scdaemon: (default)
> Default dirmngr: (default)
>
> Dirmngr auto start: yes
> Readline support: yes
> LDAP support: yes
> DNS SRV support: yes
> TLS support: gnutls
>
> At Thu, 14 May 2015 16:08:58 +0200,
> HW42 wrote:
>>
>> Hi,
>>
>> when I try to build gnupg 2.1.4 with --disable-gpgsm the build fails.
>>
>> $ ./configure --disable-gpgsm --disable-gpgtar
>> [ ... ]
>> GnuPG v2.1.4 has been configured as follows:
>>
>> Revision: a67ead6 (42622)
>> Platform: GNU/Linux (x86_64-unknown-linux-gnu)
>>
>> OpenPGP: yes
>> S/MIME: no
>> Agent: yes
>> Smartcard: yes (without internal CCID driver)
>> G13: yes
>> Dirmngr: yes
>> Gpgtar: no
>>
>> Protect tool: (default)
>> LDAP wrapper: (default)
>> Default agent: (default)
>> Default pinentry: (default)
>> Default scdaemon: (default)
>> Default dirmngr: (default)
>>
>> Dirmngr auto start: yes
>> Readline support: yes
>> LDAP support: yes
>> DNS SRV support: yes
>> TLS support: gnutls
>>
>> $ make
>> [ ... ]
>> mv -f .deps/getkey.Tpo .deps/getkey.Po
>> gcc -DHAVE_CONFIG_H -I. -I.. -I../common
>> -DLOCALEDIR=\"/usr/local/share/locale\"
>> -DGNUPG_BINDIR="\"/usr/local/bin\""
>> -DGNUPG_LIBEXECDIR="\"/usr/local/libexec\""
>> -DGNUPG_LIBDIR="\"/usr/local/lib/gnupg\""
>> -DGNUPG_DATADIR="\"/usr/local/share/gnupg\""
>> -DGNUPG_SYSCONFDIR="\"/usr/local/etc/gnupg\""
>> -DGNUPG_LOCALSTATEDIR="\"/usr/local/var\""
>> -I/tmp/b/libgcrypt-1.6.3/build/include
>> -I/tmp/b/libgpg-error-1.19/build/include
>> -I/tmp/b/libassuan-2.2.0/build/include
>> -I/tmp/b/libgpg-error-1.19/build/include
>> -I/tmp/b/libgpg-error-1.19/build/include -Wall -Wno-pointer-sign
>> -Wpointer-arith -MT keydb.o -MD -MP -MF .deps/keydb.Tpo -c -o keydb.o
>> keydb.c
>> In file included from keydb.c:37:0:
>> ../kbx/keybox.h:36:19: fatal error: ksba.h: No such file or directory
>> # include <ksba.h>
>> ^
>> compilation terminated.
>> Makefile:775: recipe for target 'keydb.o' failed
>> make[2]: *** [keydb.o] Error 1
>> make[2]: Leaving directory '/tmp/b/gnupg-2.1.4/g10'
>> Makefile:576: recipe for target 'all-recursive' failed
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory '/tmp/b/gnupg-2.1.4'
>> Makefile:495: recipe for target 'all' failed
>> make: *** [all] Error 2
>> $ export CFLAGS="$CFLAGS $(ksba-config --cflags)" # workaroud 1
>> $ ./configure --disable-gpgsm --disable-gpgtar
>> [ ... ]
>> $ make
>> [ ... ]
>> make[2]: *** No rule to make target '../kbx/libkeybox.a', needed by
>> 'gpg2'. Stop.
>> make[2]: Leaving directory '/tmp/b/gnupg-2.1.4/g10'
>> Makefile:576: recipe for target 'all-recursive' failed
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory '/tmp/b/gnupg-2.1.4'
>> Makefile:495: recipe for target 'all' failed
>> make: *** [all] Error 2
>> $ make kbx=kbx # workaround 2
>> [ ... ]
>> $ # successful build
>>
>> Without the --disable-gpgtar there is another missing include error.
>>
>> HW42
>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20150605/574e0146/attachment.sig>
More information about the Gnupg-devel
mailing list