[tlbuild] Can't locate mktexlsr.pl

YuGiOhJCJ Mailing-List yugiohjcj-mailinglist at laposte.net
Thu Feb 11 19:45:28 CET 2016


Hello,

I would like to build texlive-20150521-source on Slackware 14.1.
I followed the LFS instructions [1].

The result is:
$ sudo mktexlsr
mktexlsr: Done.
$ sudo fmtutil-sys --all
Can't locate mktexlsr.pl in @INC (@INC contains: /opt/texlive/tlpkg /opt/texlive/texmf-dist/scripts/texlive /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /opt/texlive/2015/bin/fmtutil line 23.
BEGIN failed--compilation aborted at /opt/texlive/2015/bin/fmtutil line 25.

The mktexlsr.pl file is not found.
Here is the correct location for this file:
$ find /opt/texlive -name "mktexlsr.pl"
/opt/texlive/2015/texmf-dist/scripts/texlive/mktexlsr.pl

This directory "/opt/texlive/2015/texmf-dist/scripts/" is not listed above but we can see "/opt/texlive/texmf-dist/scripts/texlive" that is similar.

Why following these LFS instructions "fmtutil-sys" is looking at an incorrect location to find the mktexlsr.pl file please?

Thank you.
Best regards.

[1] http://www.linuxfromscratch.org/blfs/view/svn/pst/texlive.html


More information about the tlbuild mailing list