Page MenuHome GnuPG

--disable-tools break build on ../../tools/gpg-connect-agent.c:21:10: fatal error: config.h: No such file or directory
Closed, ResolvedPublic

Description

If I pass --disable-tools, then build fails on:
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../common
-DLOCALEDIR=\"/usr/share/locale\" -DGNUPG_BINDIR="\"/usr/bin\""
-DGNUPG_LIBEXECDIR="\"/usr/libexec\"" -DGNUPG_LIBDIR="\"/usr/lib64/gnupg\""
-DGNUPG_DATADIR="\"/usr/share/gnupg\"" -DGNUPG_SYSCONFDIR="\"/etc/gnupg\""
-DGNUPG_LOCALSTATEDIR="\"/var\"" -Wall -Wno-pointer-sign -Wpointer-arith
-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c -o
fake-pinentry.o fake-pinentry.c
gcc -Wall -Wno-pointer-sign -Wpointer-arith -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wl,-z,relro
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ../../tools/gpg-connect-agent.c
-o ../../tools/gpg-connect-agent
../../tools/gpg-connect-agent.c:21:10: fatal error: config.h: No such file or
directory
#include <config.h>

^~~~~~~~~~

Event Timeline

justus lowered the priority of this task from Normal to Low.Mar 14 2017, 10:25 AM
werner added a subscriber: werner.

Justus, please remove the option --disable-tools. gpgconf is a core component
and always required, as weel as some of the other tools.