Second, notice is this one
Notice from module localcharset:
If your package's tests make use of the locale_charset() function directly or
indirectly, you may need to define the CHARSETALIASDIR environment variable,
so that "make check" works before "make install". In Makefile.am syntax:
TESTS_ENVIRONMENT += @LOCALCHARSET_TESTS_ENVIRONMENT@
Octave does use the wrapped locale_charset() function directly in 4 places:
libinterp/corefcn/strfns.cc:760: = (tmp.empty () ?
octave_locale_charset_wrapper () : tmp.c_str ());
libinterp/corefcn/strfns.cc:812: = (tmp.empty () ?
octave_locale_charset_wrapper () : tmp.c_str ());
libinterp/corefcn/input.cc:539: ?
octave_locale_charset_wrapper () : m_mfile_encoding;
libinterp/corefcn/input.cc:1121: ? octave_locale_charset_wrapper ()
: mfile_encoding);
I don't whether this is a problem or not.