錯誤:呼叫 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";

我有同樣的錯誤。

相關內容