File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
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
+ 簡単🎉
You can’t perform that action at this time.
0 commit comments