Subject: | Cannot bootstrap: mklocale requires Unicode::Collate |
I tried to bootstrap Unicode-Collate. That means remove it from system, prune all autogenerated files and start with executing mklocale before perl Makefile.PL. However that's not possible:
$ perl mklocale
Can't locate Unicode/Collate.pm in @INC (you may need to install the Unicode::Collate module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Korean.pm line 6, <$fh> line 1.
BEGIN failed--compilation aborted at Korean.pm line 6, <$fh> line 1.
Compilation failed in require at mklocale line 544, <$fh> line 1.
I did not studied why mklocale requires Korean.pm. But Korean.pm C<use>-s Unicode::Collate which is to be built. This is a cyclic dependency preventing from bootstrapping this distribution. Maybe that's the reason why Unicode-Collate comes with pregenerated sources.
I would welcome if Unicode-Collate were able to be built from sources without existing Unicode::Collate.