I came across this problem when I was doing ./configure of xfsprogs.
I had to install gettext from sources (as xfsprogs needed it) which
resided in my toolchain and while doing configure xfsprogs's configure
couldn't fine msgfmt, msgmerge and xgettext even if I do PATH=<path to
if I manually set MSGFMT, MSGMERGE to their binary paths this works.
Is this not expected?
When I looked at the sources if I change configure:12316 as follows
this works for MSGFMT