gettext 0.20 infrastructure mismatch when compiling from git
I am trying to compile evince from the wip/link-preview
branch, but I get the following error. The same error occurs on the master
branch.
make[3]: Leaving directory '/home/hsgg/usr/src/evince/po'
*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.19 but the autoconf macros are from gettext version 0.20
make[2]: *** [Makefile:283: stamp-po] Error 1
make[2]: Leaving directory '/home/hsgg/usr/src/evince/po'
make[1]: *** [Makefile:753: all-recursive] Error 1
make[1]: Leaving directory '/home/hsgg/usr/src/evince'
make: *** [Makefile:618: all] Error 2
I am configuring and compiling on an up-to-date Archlinux, as follows:
$ git clean -xdf
$ ./autogen.sh --enable-ps --prefix=/home/hsgg/usr/src/evince-3.35-wip-link-preview
...
$ make
gettext --version is 0.20.1
For a solution that works for me, see https://github.com/GNOME/libgsf/commit/91027d3447666c6f13c31b4b5984e1a8212983da.
Edited by Henry Gebhardt