求助:使用 git submodule 安装 magit,编译出错

主要问题

在 magit 目录下 make 出错,显示缺少 llama。 但是官方写了 Emacs 版本大于 29,应该是自带的,我也无法搜索到这个包

详细信息

根据官方教程

操作

~/.emacs.d/site-lisp $ git submodule add https://github.com/magit/magit.git magit
Cloning into '/home/kzheng/.emacs.d/site-lisp/magit'...
remote: Enumerating objects: 51384, done.        
remote: Counting objects: 100% (758/758), done.        
remote: Compressing objects: 100% (129/129), done.        
remote: Total 51384 (delta 673), reused 674 (delta 629), pack-reused 50626 (from 4)        
Receiving objects: 100% (51384/51384), 31.46 MiB | 7.79 MiB/s, done.
Resolving deltas: 100% (36825/36825), done.
~/.emacs.d/site-lisp $ ls
dash  eaf  fingertip  ivy  lsp-bridge  magit  markdown-mode  rainbow-delimiters  rime  which-key  yasnippet
~/.emacs.d/site-lisp $ cd magit
~/.emacs.d/site-lisp/magit $ ls
CHANGELOG  LICENSE  Makefile  README.md  default.mk  docs  lisp  test
~/.emacs.d/site-lisp/magit $ make
make[1]: Entering directory '/home/kzheng/.emacs.d/site-lisp/magit/lisp'
Compiling magit-section.el

In toplevel form:
magit-section.el:48:11: Error: Cannot open load file: No such file or directory, llama
make[1]: *** [Makefile:71: magit-section.elc] Error 1
make[1]: Leaving directory '/home/kzheng/.emacs.d/site-lisp/magit/lisp'
make: *** [Makefile:74: lisp] Error 2

version

  • Emacs:30.1 (在 dnf 下载安装)
  • system:fedora 42

仔细看一下文档,大于29自带的是不是仅仅指seq这个模块,其他的都需要手动安装?

llama 可不是自带的,需要另行安装。

似乎是这样的,还有一个问题,我也有尝试去手动安装,但是我找不到这个包

我根本无法找到 llama,最接近的是 ellama