错误:呼叫 xindy 失败 (Tex Live)

错误:呼叫 xindy 失败 (Tex Live)

当我运行时makeglossaries glossaire,出现以下错误:

    Name "Getopt::Std::STANDARD_HELP_VERSION" used only once: possible typo at c:\texlive\2022\texmf-dist\scripts\glossaries\makeglossaries line 150.
makeglossaries version 4.49 (2021-11-01)
added glossary type 'main' (glg,gls,glo)
xindy  -L french -C utf8 -I xindy -M "glossaire" -t "glossaire.glg" -o "glossaire.gls" "glossaire.glo"
stat(//../../xindy/modules): No such file or directory at c:\texlive\2022\texmf-dist\scripts\xindy\xindy.pl line 408
xindy.pl: Cannot locate xindy modules directory at c:\texlive\2022\texmf-dist\scripts\xindy\xindy.pl line 409.
C:\texlive\2022\bin\win32\runscript.tlu:915: command failed with exit code 2:
perl.exe c:\texlive\2022\texmf-dist\scripts\xindy\xindy.pl -L french -C utf8 -I xindy -M "glossaire" -t "glossaire.glg" -o "glossaire.gls" "glossaire.glo"

***Call to xindy failed***

Check 'glossaire.glg' for details
C:\texlive\2022\bin\win32\runscript.tlu:915: command failed with exit code 2:
perl c:\texlive\2022\texmf-dist\scripts\glossaries\makeglossaries glossaire

我使用 Windows 10,没有管理员权限。我以非管理员用户身份安装了 Tex Live。我已经尝试按照问题中的说明更改路径xindy.pl:无法找到 bin 目录,如下所示(第 411 行左右):

if ( $is_w32 ) {
   if ( -d "C:/texlive/2022/bin/win32" ) {  # TeX Live
   $cmd_dir = "C:/texlive/2022/bin/win32";

我也有同样的错误。

相关内容