TWiki ships with its own version (0.49) of
Locale::Maketext::Lexicon
. Unfortunately, this version is outdated and does not compile under Perl 5.24. It used to issue a warning since 5.14, but now it's about time to act. The error message says:
Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at ...trunk/core/lib/CPAN/lib/Locale/Maketext/Lexicon.pm line 286.
Current versions of
Locale::Maketext::Lexicon
don't have that issue. In production, if you do have
Locale::Maketext::Lexicon
installed on your system, then you don't notice the problem, because TWiki prefers system libraries over its own. If you haven't
Locale::Maketext::Lexicon
installed on your system and rely on TWiki providing it, you'll notice that localisation just doesn't work.
So, in effect, starting with Perl 5.24 TWiki's
Locale::Maketext::Lexicon
is
useless. There are two options:
- Upgrade TWiki's version to a current version (e.g. Debian Stable comes with 1.00) or
- Drop
Locale::Maketext::Lexicon
from the distribution.
--
TWiki:Main/HaraldJoerg - 2017-04-02
Discussed at
TWiki:Codev/KampalaReleaseMeeting2017x05x04:
- Need to ship latest version
--
TWiki:Main.PeterThoeny - 2017-04-21