[tex-live] install-tl, tlutils.pm fail with perl 5.21.5
Nathan
naroyce at hotmail.com
Tue Oct 21 09:25:29 CEST 2014
Yup, that patch sort of did the trick (minus the extra '(' at "(my @mans
=").
At the end of the install:
running package-specific postactions
Can't modify split in chomp at
~/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/texlive/tlpkg/TeXLive/TLUtils.pm
line 2073, near "))"
BEGIN not safe after errors--compilation aborted at
~/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/texlive/tlpkg/TeXLive/TLUtils.pm
line 3943.
Compilation failed in require at
~/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/texlive/tlpkg/tlpostcode/
dvipdfmx.pl line 18.
BEGIN failed--compilation aborted at
~/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/texlive/tlpkg/tlpostcode/
dvipdfmx.pl line 18.
./install-tl: calling post action script tlpkg/tlpostcode/dvipdfmx.pl did
not succeed in ~Desktop/texlive/Master, status 255 at
tlpkg/TeXLive/TLUtils.pm line 1796.
finished with package-specific postactions
Hehe, ya, I tend to read that sort of sentiment towards perl quite a bit.
On a side note (shall I create a new thread?), I noticed that during
install, when I select "armhf-linux" and deselect "x86_64-linux" under
Binaries, it DOES deselect "x86_64-linux" except when returning to the main
menu, it shows 2 Binaries selected and entering back into that menu shows
it is re-selected.
On Mon, Oct 20, 2014 at 5:38 PM, Norbert Preining <preining at logic.at> wrote:
> Does this help:
> Index: TLUtils.pm
> ===================================================================
> --- TLUtils.pm (revision 35400)
> +++ TLUtils.pm (working copy)
> @@ -2070,7 +2070,8 @@
> if (-w $sys_man && -d "$Master/texmf-dist/doc/man") {
> debug("$mode symlinks for man pages in $sys_man\n");
> my $foo = `(cd "$Master/texmf-dist/doc/man" && echo *)`;
> - chomp (my @mans = split (' ', $foo));
> + (my @mans = split (' ', $foo);
> + chomp (@mans);
> foreach my $m (@mans) {
> my $mandir = "$Master/texmf-dist/doc/man/$m";
> next unless -d $mandir;
>
>
> I don't know why perl 5.21 is so stupid about the above code, I don't
> see anything wrong, but alas, perl ...
>
> Norbert
>
> ------------------------------------------------------------------------
> PREINING, Norbert http://www.preining.info
> JAIST, Japan TeX Live & Debian Developer
> GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
> ------------------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20141021/cad7d472/attachment-0001.html>
More information about the tex-live
mailing list