[texworks] [tldev] no cmd.exe?
Siep Kroonenberg
siepo at bitmuis.nl
Sun Jan 14 23:53:24 CET 2024
On Sun, Jan 14, 2024 at 11:38:02PM +0100, Siep Kroonenberg via texworks wrote:
> On Sun, Jan 14, 2024 at 03:23:31PM -0700, Karl Berry wrote:
> > I noticed this report come in to the texworks list:
> > https://tug.org/pipermail/texworks/2024q1/007466.html
> > (also appended below)
> >
> > about fmtutil failing to build pdflatex.exe under Windows 11 because
> > cmd.exe doesn't exist? So I guess our Windows Perl can't spawn a
> > `subprogram`?
>
> This almost certainly means that the path variable is messed up,
> either system-wide or, more likely, just for texworks.
>
> > For TLWinGoo.pm: the ver command also didn't exist, causing
> > uninitialized value warnings.
There is no real need for ver and is_ten anymore; I'll remove this
code within the next few days.
> > Seems like something to protect against and abort with a sensible
> > message, if it can't be supported? I have no idea what's really going on. -k
> >
> >
> > Date: Sun, 14 Jan 2024 18:33:05 +0800 (GMT+08:00)
> > From: 15953052700 <15953052700 at 163.com>
> > To: "texworks at tug.org" <texworks at tug.org>
> > Subject:
> >
> > 请?这?????回事?????解??迸???*?
> >
> > This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded format=pdflatex)
> > restricted \write18 enabled.
> > Use of uninitialized value $ver in scalar chomp at C:/texlive/2023/tlpkg/TeXLive/TLWinGoo.pm line 196.
> > Use of uninitialized value $ver in substitution (s///) at C:/texlive/2023/tlpkg/TeXLive/TLWinGoo.pm line 197.
> > Use of uninitialized value $ver in substitution (s///) at C:/texlive/2023/tlpkg/TeXLive/TLWinGoo.pm line 197.
> > fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence order):
> > fmtutil: c:/texlive/2023/texmf-dist/web2c/fmtutil.cnf
> > fmtutil: fmtutil is using the following fmtutil.cnf file for writing changes:
> > fmtutil: c:/users/w2158/.texlive2023/texmf-config/web2c/fmtutil.cnf
> > fmtutil [INFO]: writing formats under c:/users/w2158/.texlive2023/texmf-var/web2c
> > fmtutil [INFO]: --- remaking pdflatex with pdftex
> > Can't spawn "cmd.exe": No such file or directory at c:\texlive\2023\texmf-dist\scripts\texlive\fmtutil.pl line 727.
> > fmtutil [WARNING]: inifile pdflatex.ini for pdflatex/pdftex not found.
> > fmtutil [INFO]: disabled formats: 1
> > fmtutil [INFO]: not selected formats: 53
> > fmtutil [INFO]: failed to build: 1 (pdftex/pdflatex)
> > fmtutil [INFO]: total formats: 55
> > fmtutil [INFO]: exiting with status 1
> > C:\texlive\2023\bin\windows\runscript.tlu:921: command failed with exit code 1:
> > perl.exe c:\texlive\2023\texmf-dist\scripts\texlive\fmtutil.pl --user --byfmt pdflatex
> > Running the command C:\texlive\2023\bin\windows\fmtutil-user.exe
> > I can't find the format file `pdflatex.fmt'!
> > kpathsea: Running mktexfmt pdflatex.fmt
> > The command name is C:\texlive\2023\bin\windows\mktexfmt
> > ----- configuration info -----
> > TeXworks version : 0.6.8 ("github") [r.6b1c6ab, 2023/2/18 18:42]
> > Install location : C:/texlive/2023/tlpkg/texworks/texworks.exe
> > Library path : C:/Users/w2158/.texlive2023/texmf-config/texworks/
> > pdfTeX location : C:/texlive/2023/bin/windows/pdftex.exe
> > Operating system : Windows 11, 64-bit
> > Qt version : 5.15.8 (build) / 5.15.8 (runtime)
--
Siep Kroonenberg
More information about the texworks
mailing list.