fixing kpathsea

George N. White III gnwiii at gmail.com
Fri Nov 8 15:56:06 CET 2019


On Fri, 8 Nov 2019 at 09:57, N. Andrew Walsh <n.andrew.walsh at gmail.com>
wrote:

> 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?
>

Nelson's advice should help, but I assume you have your PATH set to use
your TeX Live 2017
from $HOME.  Normally (belt and suspenders mode), root uses a stripped down
path and i
nstallers use absolute paths for binaries, but it is easy to check the path
used by root.


>
> Thanks for the help,
>
> A
>


-- 
George N. White III
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20191108/1df89e66/attachment.html>


More information about the tex-live mailing list