以下の内容はhttps://yujiorama.hatenablog.com/entry/20110806/1312627687より取得しました。


Let's make emacs yourself !

Emacs23 (Cocoa Emacs) 入門から中毒まで : 紹介マニア」の"安定版のコンパイル"を読みましょう。

アーカイブgnu 本家より mirror から取得したほうがエコな気がします。
ミラーサイトの一覧はこちら

curl -O http://core.ring.gr.jp/pub/GNU/emacs/emacs-23.3a.tar.gz
curl -O http://core.ring.gr.jp/pub/GNU/emacs/emacs-23.3a.tar.gz.sig
gpg --verify emacs-23.3a.tar.gz.sig
tar xzvf emacs-23.3a.tar.gz
cd emacs-23.3
patch -p0 < ../inline_patch-23.2-beta3/emacs-inline.patch
./configure --with-ns --without-x
make bootstrap
make
make install
open nextstep/Emacs.app

が、上記のままだと次のようにこける。

% make bootstrap
...
--- Load Commands written to Output File ---
Writing segment __PAGEZERO       @        0 (       0/0x100000000 @          0)
Writing segment __TEXT           @        0 (0x1d2000/0x1d2000 @ 0x100000000)
Writing segment __DATA           @ 0x1d2000 (0x367000/0x367000 @ 0x1001d2000)
        section __program_vars   at 0x1d2000 - 0x1d2028 (sz:     0x28)
        section __nl_symbol_ptr  at 0x1d2028 - 0x1d2038 (sz:     0x10)
unexec: unrecognized section name in __DATA segment
make[2]: *** [bootstrap-emacs] Error 1
make[1]: *** [src] Error 2
make: *** [bootstrap] Error 2

ちょっと検索したら「Lion で Emacs-23.3 をソースからビルド出来ない件を解決できた / マスタカの ChangeLog メモ」で解決方法が説明されてました。
macports の方で作られてる patch 当てるとか、なんか複雑な気分がします。
率直に言えば面倒くさい。

とりあえずできたのでしばらくこれで過ごします。Have a nice emacs!

This is GNU Emacs 23.3.1 (x86_64-apple-darwin11.0.0, NS apple-appkit-1138.00)
 of 2011-08-07 on homesv
Copyright (C) 2011 Free Software Foundation, Inc.



以上の内容はhttps://yujiorama.hatenablog.com/entry/20110806/1312627687より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14