fixing kpathsea

N. Andrew Walsh n.andrew.walsh at gmail.com
Fri Nov 8 09:40:42 CET 2019


Hi List,

I have a gentoo Linux system onto which I'm trying to install the
distro-provided texlive packages. The installation is failing on the
texlive-basic package with the following error:

---------------------
* Building format texmf-dist/fmtutil/format.texlive-basic.cnf
Can't locate mktexlsr.pl in @INC (@INC contains: //tlpkg
//texmf-dist/scripts/texlive /etc/perl
/usr/local/lib64/perl5/5.30.0/x86_64-linux /usr/local/lib64/perl5/5.30.0
/usr/lib64/perl5/vendor_perl/5.30.0/x86_64-linux
/usr/lib64/perl5/vendor_perl/5.30.0 /usr/local/lib64/perl5
/usr/lib64/perl5/vendor_perl/5.12.4 /usr/lib64/perl5/vendor_perl
/usr/lib64/perl5/5.30.0/x86_64-linux /usr/lib64/perl5/5.30.0) at
/usr/bin/fmtutil line 23.
BEGIN failed--compilation aborted at /usr/bin/fmtutil line 25.
 * ERROR: dev-texlive/texlive-basic-2019-r1::gentoo failed (compile phase):
------------------------
when I search for mktexlsr.pl, I get the following results:

------------------------
# locate mktexlsr.pl
/home/[$TEXLOCAL]/tex-local/texlive/2017/texmf-dist/scripts/texlive/
mktexlsr.pl
/usr/share/texmf-dist/scripts/texlive/mktexlsr.pl
-------------------------
which is correct: I have a "local" full install of texlive in that
subdirectory of ~, and I have a system install of the texlive packages
provided by my distro.

The gentoo dev I asked said that my local kpathsea config was wrong, but
I'm unable to find where I might have a .cfg file that's incorrect. I have
the file /etc/texmf/texmf.d/05searchpaths.cnf, which gives the following
for TEXMFROOT:
--------------------------
TEXMFROOT = $SELFAUTODIR/share
--------------------------

Can you help me sort out what might be misconfigured here?

Thanks for the help,

A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20191108/e21e2cd1/attachment.html>


More information about the tex-live mailing list