0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

magit v4のel-getでエラー

Last updated at Posted at 2024-08-14

magit v4のel-getでエラー

magitのel-getは以下のように設定している.

~/.emacs.d/init.el
(el-get-bundle magit)

しかしmagitのv4系から, 以下のようなエラーが出るようになった.

Generating magit.html
Generating magit-section.html
Generating magit/*.html
Generating magit-section/*.html
Generating magit.pdf
You don't have a working TeX binary (tex) installed anywhere in
your PATH, and texi2dvi cannot proceed without one.  If you want to use
this script, you'll need to install TeX (if you don't have it) or change
your PATH or TEX environment variable (if you do).  See the --help
output for more details.

For information about obtaining TeX, please see http://tug.org/texlive,
or do a web search for TeX and your operating system or distro.
make[1]: *** [magit.pdf] Error 1
make: *** [docs] Error 2

PDFの生成時にTeXがなくてエラーとなったようである.

対処方法

そもそもPDFの生成が不要.

そのためmakeデフォルトターゲットからdocsを除外して, ターゲットはlisptexi, infoあたりまでを指定するように:buildオプションで上書きする.

~/.emacs.d/init.el
(el-get-bundle magit
  :build '(("make" "clean" "lisp" "texi" "info"))
  )
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?