in reply to Re^3: Unknown charnames when building Encode
in thread Unknown charnames when building Encode

Ken,

thank you very much for your input. I found the source of my problems:

Name.pl is missing in AIX:
perl@t72:/usr/opt/perl5/lib/5.20.1/unicore $ ls Blocks.txt Decomposition.pl Name.pm SpecialCas +ing.txt UCD.pl CombiningClass.pl Heavy.pl NamedSequences.txt To + lib


compare that to my linux distribution:
perl@pod-racer:/usr/share/perl/5.18/unicore $ ls Blocks.txt Decomposition.pl lib Name.pl Spec +ialCasing.txt UCD.pl CombiningClass.pl Heavy.pl NamedSequences.txt Name.pm To + version


As Name.pl is generated during the compilation of perl, the necessary program mktables was not to be found on the AIX System, as I does not seem to be delivered with a packaged perl.

Solution to this: Download the perl-Version which is installed from CPAN into a temporary directory. On AIX 7.2 I have perl 5.20, so I download perl 5.20 from cpan (http://www.cpan.org/src/).

Extract it, and cd to lib/unicore. There you can find the mktables program. Then generate the unicode files:

chmod 755 mktables ./mktables


This generates a bunch of files, including Name.pl. I diffed all newly generated files against the ones from my systems perl and found no difference, so I only copied Name.pl to my systems unicore-path. The Errors then vanished.