我在我的 manjaro 机器上安装了 texlive 2023。当我使用 luathex 编译我的 tex 文件时,我可以在输出日志中看到以下几行:
luaotfload | db : Font names database not found, generating new one.
luaotfload | db : This can take several minutes; please be patient.
luaotfload | cache : Failed to write "/home/hafid/texlive/2023/texmf-var/luatex-cache/generic/names/luaotfload-names.lua.gz": nil
luaotfload | cache : Failed to write "/home/hafid/texlive/2023/texmf-var/luatex-cache/generic/names/luaotfload-names.luc.gz": nil
luaotfload | db : Index file not writable
luaotfload | db : Failed to save database to disk: nil
luaotfload | cache : Failed to write "/home/hafid/texlive/2023/texmf-var/luatex-cache/generic/names/luaotfload-lookup-cache.lua": nil
luaotfload | cache : Failed to write "/home/hafid/texlive/2023/texmf-var/luatex-cache/generic/names/luaotfload-lookup-cache.luc": nil
luaotfload | cache : Lookup cache file not writable.)
当我跑步时kpsewhich -var-value=TEXMFCACHE
我得到/home/hafid/texlive/2023/texmf-var:/home/hafid/.texlive2023/texmf-var
当我跑步时luaotfload-tool -u
我得到
luaotfload | db : Font names database not found, generating new one.
luaotfload | db : This can take several minutes; please be patient.
luaotfload | cache : Failed to write "/home/hafid/texlive/2023/texmf-var/luatex-cache/generic/names/luaotfload-names.lua.gz": /home/hafid/texlive/2023/texmf-var/luatex-cache/generic/names/luaotfload-names.lua.gz: No such file or directory
luaotfload | cache : Failed to write "/home/hafid/texlive/2023/texmf-var/luatex-cache/generic/names/luaotfload-names.luc.gz": /home/hafid/texlive/2023/texmf-var/luatex-cache/generic/names/luaotfload-names.luc.gz: No such file or directory
luaotfload | db : Index file not writable
luaotfload | db : Failed to save database to disk: nil
luaotfload | cache : Failed to write "/home/hafid/texlive/2023/texmf-var/luatex-cache/generic/names/luaotfload-lookup-cache.lua": /home/hafid/texlive/2023/texmf-var/luatex-cache/generic/names/luaotfload-lookup-cache.lua: No such file or directory
luaotfload | cache : Failed to write "/home/hafid/texlive/2023/texmf-var/luatex-cache/generic/names/luaotfload-lookup-cache.luc": /home/hafid/texlive/2023/texmf-var/luatex-cache/generic/names/luaotfload-lookup-cache.luc: No such file or directory
luaotfload | cache : Lookup cache file not writable.
luaotfload | cache : Failed to write "/home/hafid/texlive/2023/texmf-var/luatex-cache/generic/names/luaotfload-lookup-cache.lua": /home/hafid/texlive/2023/texmf-var/luatex-cache/generic/names/luaotfload-lookup-cache.lua: No such file or directory
luaotfload | cache : Failed to write "/home/hafid/texlive/2023/texmf-var/luatex-cache/generic/names/luaotfload-lookup-cache.luc": /home/hafid/texlive/2023/texmf-var/luatex-cache/generic/names/luaotfload-lookup-cache.luc: No such file or directory
luaotfload | cache : Lookup cache file not writable.
问题:/home/hafid/texlive/2023/texmf-var/luatex-cache/generic/names
在 texlive 安装期间没有创建目录:这很正常吗?