Android/Termux: How to build gpg-agent without maintainer mode?
Felix E. Klee
felix.klee at inka.de
Wed Aug 22 11:07:59 CEST 2018
I managed to get `gpg-agent` run with USB smart card support under
Android/Termux:
https://gist.github.com/feklee/92f76d2c8a7cabc477360d82b5305c19
What bugs me is that I had to compile in maintainer mode: Now I get
warnings that the software should not used be used with production keys.
Maintainer mode is in fact suggested by `autogen.sh`:
$ git clone git://git.gnupg.org/gnupg.git
[…]
$ cd gnupg
$ export C_INCLUDE_PATH=$PREFIX/include/:$PREFIX/include/libusb-1.0/
:$PREFIX/include/libandroid-support
$ ./autogen.sh
[…]
autogen.sh: You may now run:
./configure --sysconfdir=/etc --enable-maintainer-mode && make
If I try without maintainer mode, then I get:
$ ./configure
[output attached]
$ make
make all-recursive
make[1]: Entering directory '/data/data/com.termux/files/home/src/g/
gnupg'
Making all in m4
make[2]: Entering directory '/data/data/com.termux/files/home/src/g/
gnupg/m4'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/data/data/com.termux/files/home/src/g/
gnupg/m4'
Making all in common
make[2]: Entering directory '/data/data/com.termux/files/home/src/g/
gnupg/common'
make[2]: *** No rule to make target 'audit-events.h', needed by 'all
'. Stop.
make[2]: Leaving directory '/data/data/com.termux/files/home/src/g/g
nupg/common'
make[1]: *** [Makefile:613: all-recursive] Error 1
make[1]: Leaving directory '/data/data/com.termux/files/home/src/g/g
nupg'
make: *** [Makefile:533: all] Error 2
*How do I build `gpg-agent` without maintainer mode?*
Note that I only need the agent, so I could probably speed up compile
time by quite a lot if disable the other tools in `./configure`. But
that’s not a priority now.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure_output
Type: application/octet-stream
Size: 18720 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20180822/10f70313/attachment-0001.obj>
More information about the Gnupg-users
mailing list