On Fri, 10 Aug 2007, Christian Perrier wrote:
> Setting up console font and keymap... can't locate unicore/PVA.pl in
> @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 ...
> /usr/share/perl/5.8/usr/local/lib/site-perl .) at
> +/usr/share/perl/5.8/utf8_heavy.pl line 80

The same script does also require other modules:
$ grep require /usr/share/perl/5.8.8/utf8_heavy.pl 
sub croak { require Carp; Carp::croak(@_) }
            require "unicore/PVA.pl";
            require "unicore/Exact.pl";
            require "unicore/Canonical.pl";

$ dpkg -S /usr/share/perl/5.8.8/unicore/*.pl
perl-modules: /usr/share/perl/5.8.8/unicore/Canonical.pl
perl-modules: /usr/share/perl/5.8.8/unicore/CombiningClass.pl
perl-modules: /usr/share/perl/5.8.8/unicore/Decomposition.pl
perl-modules: /usr/share/perl/5.8.8/unicore/Exact.pl
perl-modules: /usr/share/perl/5.8.8/unicore/Name.pl
perl-modules: /usr/share/perl/5.8.8/unicore/PVA.pl

So you need to add three files to perl-base:
/usr/share/perl/5.8.8/unicore/PVA.pl
/usr/share/perl/5.8.8/unicore/Exact.pl
/usr/share/perl/5.8.8/unicore/Canonical.pl

They don't seem to have further dependencies. That said, the script utf8_heavy
dynamically tries to use some other files from that same directory:
$ grep unicore /usr/share/perl/5.8.8/utf8_heavy.pl 
            require "unicore/PVA.pl";
                    $file = "unicore/lib/$pa/$PVA_abbr_map{$pa}{lc $f}.pl";
                    $file = "unicore/lib/gc_sc/$PVA_abbr_map{gc_sc}{$t}.pl";
            require "unicore/Exact.pl";
                $file = "unicore/lib/gc_sc/$base.pl";
            require "unicore/Canonical.pl";
                $file = "unicore/lib/gc_sc/$base.pl";
                $file = "unicore/To/$1.pl";

I don't know how much functionality is lost if you don't have them
and I don't know much we care about them. I'd just let you know.

> As a possible fix, I suggest adding PVA.pl from perl-modules to perl-base 
> (only 18k)
> 
> Moving utf8_heavy.pl to perl-modules (which provides PVA.pl) does not seem
> correct as utf8_heavy.pl is itself required by /usr/share/perl/5.8.8/utf8.pm

Indeed.

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/

Reply via email to