Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: Unknown charnames when building Encode

by yulivee07 (Sexton)
on Jan 23, 2017 at 12:39 UTC ( [id://1180151]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1180151]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-23 06:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found