kpathsea SELFAUTOLOC is wrong

Vladimir Lomov lomov.vl at yandex.ru
Sat Sep 19 01:39:41 CEST 2020


Hello,
** Ben Smith <bensmithmath at gmail.com> [2020-09-18 14:31:42 -0700]:

> Hi, I installed texlive 2020 last week on my thinkpad x1 yoga (gen 4)
> last week, running arch linux. I used the download script from
> tug.org. It successfully installed, but is not working. kpathsea seems
> to be looking for files in the wrong place, and can't find texmf.cnf
> or latex.fmt or anything. After some digging around I found that
> SELFAUTOLOC is set to /usr/bin, but my whole texlive is installed in
> /usr/local/texlive. (I get this by running kpsewhich
> -var-value=SELFAUTOLOC)

Please provide more details.

Show output of (I assume that your shell is bash or zsh):
$ command -v pdflatex
$ command -v kpsewhich
$ which pdflatex
$ which kpsewhich
$ whereis pdflatex
$ whereis kpsewhich
$ env | grep -i tex

> On my older computer with texlive working, with everything installed
> in the same directories, SELFAUTOLOC is
> /usr/local/texlive/2020/bin/x86_64-linux. This computer is also
> running arch linux, and I installed texlive from the tug.org script
> three months ago.

> It also seems like SELFAUTOPARENT and SELFAUTOGRANDPARENT are wrong.

> texmf.cnf says that these variables are generated in
> kpathsea/progname.c but I don't seem to have that file to check.

I'm Archlinux user too and use TeX Live from TUG as well as has texlive*
packages installed by pacman (Archlinux package manager).

> Thanks!
> Ben Smith

> PS I tried to report a bug following the instructions at
> https://tug.org/tetex/html/kpathsea/kpath_13.html#SEC13 but the
> address tex-k at cs.umb.edu was not found.

That is pitty but I doubt that the problem is with kpathsea.

---
WBR, Vladimir Lomov

-- 
Toothpaste never hurts the taste of good scotch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex-live/attachments/20200919/de4cd0d0/attachment.sig>


More information about the tex-live mailing list.