perl

Elan Ruusamäe glen at pld-linux.org
Wed Mar 2 08:10:10 CET 2016


+ /usr/bin/perl Makefile.PL 
'INSTALLVENDORSCRIPT=/usr/lib/nagios/plugins' 'INSTALLDIRS=vendor'
Generating a Unix-style Makefile
Writing Makefile for App::Monitoring::Plugin::CheckRaid
"\x{00c3}" does not map to ascii at 
/usr/share/perl5/5.22.0/ExtUtils/MakeMaker.pm line 1182.
"\x{00a4}" does not map to ascii at 
/usr/share/perl5/5.22.0/ExtUtils/MakeMaker.pm line 1182.
"\x{00c3}" does not map to ascii at 
/usr/share/perl5/5.22.0/ExtUtils/MakeMaker.pm line 1182.
"\x{00a4}" does not map to ascii at 
/usr/share/perl5/5.22.0/ExtUtils/MakeMaker.pm line 1182.
"\x{00c3}" does not map to ascii at 
/usr/share/perl5/5.22.0/ExtUtils/MakeMaker.pm line 1182.
"\x{00a4}" does not map to ascii at 
/usr/share/perl5/5.22.0/ExtUtils/MakeMaker.pm line 1182.
"\x{00c3}" does not map to ascii at 
/usr/share/perl5/5.22.0/ExtUtils/MakeMaker.pm line 1182.
"\x{00a4}" does not map to ascii at 
/usr/share/perl5/5.22.0/ExtUtils/MakeMaker.pm line 1182.
Writing MYMETA.yml and MYMETA.json

➔ showline /usr/share/perl5/5.22.0/ExtUtils/MakeMaker.pm:1182
==> /usr/share/perl5/5.22.0/ExtUtils/MakeMaker.pm <==
1177:    for my $chunk (@{$self->{RESULT}}) {
1178:        my $to_write = "$chunk\n";
1179:        if (!$CAN_DECODE && $] > 5.008) {
1180:            utf8::encode $to_write;
1181:        }
1182:        print $fh "$chunk\n"
1183:            or die "Can't write to MakeMaker.tmp: $!";
1184:    }
1186:    close $fh
1187:        or die "Can't write to MakeMaker.tmp: $!";
1188:    _rename("MakeMaker.tmp", $finalname) or

i  think it doesn't like the a uml here:

WriteMakefile(
     NAME => 'App::Monitoring::Plugin::CheckRaid',
     AUTHOR => 'Elan Ruusamäe <glen at pld-linux.org>',
     EXE_FILES => ['bin/check_raid.pl'],
);


[~/rpm/packages/BUILD.x86_64-linux/nagios-plugin-check_raid-4.0.1(?)] ➔ 
grep AUTHOR Makefile
#     AUTHOR => [q[Elan Ruusam\x{00c3}\x{00a4}e <glen at pld-linux.org>]]
         $(NOECHO) $(ECHO) '    <AUTHOR>Elan Ruusam\x{00c3}\x{00a4}e 
<glen at pld-linux.org></AUTHOR>' >> $(DISTNAME).ppd


i wonder what's the way to solve it?

LC_ALL=C.UTF-8? or should encode non-ascii differently?




-- 
glen



More information about the pld-devel-en mailing list