[tldistro] TexLive on MSYS2
Naveen M K
naveen at syrusdark.website
Sat Apr 10 09:31:41 CEST 2021
Hi Norbert,
The package was built successfully and I am testing it. I found the
hooks didn't work. It failed with an error
H:\texlive-mingw\msys2\msys64\mingw64\bin\runscript.tlu:935:
H:\texlive-mingw\msys2\msys64\mingw64\bin\runscript.tlu:858: no
appropriate script or program found: mktexlsr
I think this is because the Wrapper uses kpathsea to find mktexlsr while
the database file (or ls-R) files are missing, and kpathsea fails to
find mktexlsr which in turn failed the wrapper.
So, I changed the hook to call
`<prefix>/share/texmf-dist/scripts/texlive/mktexlsr.pl` rather than the
wrapper so that database files are first created. That seems to work as
`ls-R` were created accordingly.
Next when running fmutil hook, I found it was missing some perl modules.
Can't locate Win32/API.pm in @INC (you may need to install the
Win32::API module texmf-dist/scripts/texlive
h:/texlive-mingw/msys2/msys64/tlpkg/tlperl/lib H:/texperl/5.28.0
H:/texlive-mingw/msys2/msys64/mingw64/lib/perl5/site_perl
H:/texliveH:/texlive-mingw/msys2/msys64/mingw64/share/tlpkg/TeXLive/TLWinGoo.pm
line 133.
BEGIN failed--compilation aborted at
H:/texlive-mingw/msys2/msys64/mingw64/share
Compilation failed in require at
h:\texlive-mingw\msys2\msys64\mingw64\share\tex
H:\texlive-mingw\msys2\msys64\mingw64\bin\runscript.tlu:915: command
failed with
perl.exe
h:\texlive-mingw\msys2\msys64\mingw64\share\texmf-dist\scripts\texlive\
I think this is something expected, because I am not using perl provided
from texlive, can you give a list of perl modules to install to make
things work?
Regards,
Naveen
More information about the tldistro
mailing list.