Skip to content

Commit 5407b64

Browse files
authored
Create 2025-07-12-how-to-build-emacs.md
1 parent 6e0b69a commit 5407b64

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
layout: post
3+
title: "How to build Emacs from source"
4+
categories:
5+
- emacs
6+
author:
7+
- dkc
8+
---
9+
10+
Emacsをソースからビルドする方法
11+
12+
## まずはソースのダウンロード
13+
14+
まずは[Gnu Emacs](https://www.gnu.org/software/emacs/download.html)からソースをダウンロード
15+
16+
## ソースからビルド
17+
コメント部分はmacOS向け
18+
```bash
19+
tar zxvf emacs-xx.tar.gz
20+
21+
cd emacs-xx
22+
23+
./autogen.sh
24+
25+
./configure \
26+
-with-pgtk \
27+
-with-cairo \
28+
-with-modules \
29+
-with-harfbuzz \
30+
-with-compress-install \
31+
-with-threads \
32+
-with-included-regex \
33+
-with-zlib \
34+
-with-imagemagick \
35+
-with-mailutils \
36+
-prefix=/usr/local
37+
38+
make -j$(nproc)
39+
# if it fails use
40+
# make bootstrap -j$(nproc)
41+
42+
sudo make install
43+
44+
## This is only for macOS
45+
## cp -a nextstep/Emacs.app /Applications/
46+
```
47+
48+
簡単🎉

0 commit comments

Comments
 (0)