[tldistro] TexLive on MSYS2

Naveen M K naveen at syrusdark.website
Mon Apr 12 10:38:31 CEST 2021


Hi,

I just tried out 32-bit builds of texlive-bin, which I built, and it 
created an error like

D:/a/_temp/msys/msys64/mingw32/bin/mtxrun.exe: error while loading 
shared libraries: ?: cannot open shared object file: No such file or 
directory

which makes me think, whether the launchers aren't compiled and/or 
placed incorrectly?

Or it wasn't build when building texlive itself? I could find 
https://github.com/TeX-Live/texlive-source/tree/trunk/texk/texlive/w32_wrapper 
but isn't it build while building texlive or should I do things manually 
there?


Updates from previous messages
==============================

* For mktexlsr hook, I am directly calling the perl script and it seems 
to work.
* When running fmtutil it created an error like

	Can't locate Win32/API.pm in @INC (you may need to install the 
Win32::API module) (@INC contains: 
D:/a/_temp/msys/msys64/mingw64/share/tlpkg 
D:/a/_temp/msys/msys64/mingw64/share/texmf-dist/scripts/texlive 
d:/a/_temp/msys/msys64/tlpkg/tlperl/lib 
D:/a/_temp/msys/msys64/mingw64/lib/perl5/site_perl/5.28.0 
D:/a/_temp/msys/msys64/mingw64/lib/perl5/site_perl/5.28.0 
D:/a/_temp/msys/msys64/mingw64/lib/perl5/site_perl 
D:/a/_temp/msys/msys64/mingw64/lib/perl5/vendor_perl 
D:/a/_temp/msys/msys64/mingw64/lib/perl5/core_perl) at 
D:/a/_temp/msys/msys64/mingw64/share/tlpkg/TeXLive/TLWinGoo.pm line 133.
BEGIN failed--compilation aborted at 
D:/a/_temp/msys/msys64/mingw64/share/tlpkg/TeXLive/TLWinGoo.pm line 147.
2021-04-11T19:38:29.8625729Z Compilation failed in require at 
d:\a\_temp\msys\msys64\mingw64\share\texmf-dist\scripts\texlive\fmtutil.pl 
line 48.
D:\a\_temp\msys\msys64\mingw64\bin\runscript.tlu:915: command failed 
with exit code 2:
2021-04-11T19:38:29.8740909Z perl.exe 
d:\a\_temp\msys\msys64\mingw64\share\texmf-dist\scripts\texlive\fmtutil.pl 
  --sys --all --cnffile mingw64/etc/texmf/web2c/fmtutil.cnf

which I understand a bit that the perl modules are missing for it work. 
Again, can I find a list of perl modules required?

Thanks,
Naveen


More information about the tldistro mailing list.