Skip Menu |

This queue is for tickets about the Unicode-Collate CPAN distribution.

Report information
The Basics
Id: 105791
Status: resolved
Priority: 0/
Queue: Unicode-Collate

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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.
Don't run mklocale. Even on building the module, mklocale needs not be executed. The mklocale is only intended for developper's usage. How to build it is: get the tarball and perl Makefile.PL make make test make install Show quoted text
> 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.
Now Korean.pm no longer states "use Unicode::Collate" Show quoted text
> Don't run mklocale. > Even on building the module, mklocale needs not be executed. > The mklocale is only intended for developper's usage. > > How to build it is: > get the tarball > and > perl Makefile.PL > make > make test > make install >
> > 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.
> >