GnuPG compile error
Herbert J. Skuhra
herbert at mailbox.org
Sun May 28 10:25:28 CEST 2017
Rastislav Pacuta skrev:
>
> Hi All,
> I am trying to install gnupg-2.1.21 on Red Hat Enterprise Linux Server
> release 6.8
>
> GnuPG v2.1.21 has been configured as follows:
>
> Revision: 9574820 (38260)
> Platform: GNU/Linux (x86_64-pc-linux-gnu)
>
> OpenPGP: yes
> S/MIME: yes
> Agent: yes
> Smartcard: yes (without internal CCID driver)
> G13: no
> Dirmngr: yes
> Gpgtar: yes
> WKS tools: 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: no
> LDAP support: no
> TLS support: no
> TOFU support: no
> Tor support: yes
>
> During make command I get this error output:
>
> sysutils.c: In function âgnupg_inotify_watch_socketâ:
> sysutils.c:1163: error: âIN_EXCL_UNLINKâ undeclared (first use in this
> function)
> sysutils.c:1163: error: (Each undeclared identifier is reported only once
> sysutils.c:1163: error: for each function it appears in.)
> make[3]: *** [libcommon_a-sysutils.o] Error 1
> make[3]: Leaving directory `/tmp/gnupg-2.1.21/common'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/tmp/gnupg-2.1.21/common'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/gnupg-2.1.21'
> make: *** [all] Error 2
>
> I checked bug reports and haven't found anything similar...
Your kernel/OS is probably too old. According to inotify(7) you
need at least kernel 2.6.36.
You can try:
% ./configure ac_cv_func_inotify_init=no
Emacs uses:
/* Ignore bits that might be undefined on old GNU/Linux systems. */
#ifndef IN_EXCL_UNLINK
# define IN_EXCL_UNLINK 0
#endif
--
Herbert
More information about the Gnupg-users
mailing list