Trouble compiling goocanvas with gettext v0.20.1
With commit 55084ce9 gettext requirement was raised from v0.19.4 to gettext v0.20.
i was trying several hours to upgrade gettext to v0.20.1, struggling over a series of gnu autotools problems below. State is now, that goocanvas build fails on CentOS7.7 (I didn't reach windows yet1)2.
To make it work, i had to run "gettextize" to overcome putting wrong version of gettext.m4 into m4 subdirectory.
Running gettextize solves above problem, but introduces a double definition of po/Makefile.in in configure.ac
After removing double definition, it all ends up in the compilation error below.
No idea how to fix it. Shouldn't the en_GB.1po file be generated by msgmerge?
make[2]: Entering directory `/home/bb-slave/bsa_linux_gtk3_slave/linux3_gtk3/Build-3.14.Linux.3.x86_64/goocanvas-2.0.2/po'
test ! -f ./goocanvas2.pot || \
test -z "cs.gmo de.gmo el.gmo en_GB.gmo es.gmo eu.gmo hu.gmo id.gmo ja.gmo pl.gmo pt_BR.gmo sr.gmo sv.gmo" || make cs.gmo de.gmo el.gmo en_GB.gmo es.gmo eu.gmo hu.gmo id.gmo ja.gmo pl.gmo pt_BR.gmo sr.gmo sv.gmo
make[3]: Entering directory `/home/bb-slave/bsa_linux_gtk3_slave/linux3_gtk3/Build-3.14.Linux.3.x86_64/goocanvas-2.0.2/po'
make[3]: `cs.gmo' is up to date.
make[3]: `de.gmo' is up to date.
make[3]: `el.gmo' is up to date.
rm -f en_GB.gmo && /opt/casy/gtk3/.Linux.3.x86_64/bin/msgmerge --for-msgfmt -o en_GB.1po en_GB.po goocanvas2.pot && /opt/casy/gtk3/.Linux.3.x86_64/bin/msgfmt -c --statistics --verbose -o en_GB.gmo en_GB.1po && rm -f en_GB.1po
/opt/casy/gtk3/.Linux.3.x86_64/bin/msgfmt: error while opening "en_GB.1po" for reading: No such file or directory
make[3]: *** [en_GB.gmo] Error 1
make[3]: Leaving directory `/home/bb-slave/bsa_linux_gtk3_slave/linux3_gtk3/Build-3.14.Linux.3.x86_64/goocanvas-2.0.2/po'
make[2]: *** [stamp-po] Error 2
make[2]: Leaving directory `/home/bb-slave/bsa_linux_gtk3_slave/linux3_gtk3/Build-3.14.Linux.3.x86_64/goocanvas-2.0.2/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bb-slave/bsa_linux_gtk3_slave/linux3_gtk3/Build-3.14.Linux.3.x86_64/goocanvas-2.0.2'
make: *** [all] Error 2
-
Note: Up to gettext v0.19.7 we had no problems compiling gettext and goocanvas on Linux and MinGW 32/64-Bit platforms. Starting from v0.19.8, gettext didn't compile no longer on MinGW 32/64-Bit platforms (State: Aug 2018). Maybe the compilations issues were fixed in a later gettext release.
↩ -
Note: Compiling goocanvas v2.0.2 with gettext v0.19.7 is running without trouble on all mentioned platforms.
↩