Emacs-app をコンパイルした
ここを参考にすれば通常は問題ないだろうけど,
variant として+universal をデフォルトにしてるのが問題だった.
どうやら,universal だとdump のところでコケるみたい.
ウマイやりかたがあるのかなぁ?
$ cd ~/Download $ wget http://trac.macports.org/raw-attachment/ticket/20936/emacs-app-Portfile-snow-leopard.patch $ wget http://trac.macports.org/raw-attachment/ticket/20936/emacs-23.1-snow-leopard.patch $ sudo port install emacs-app $ cd $(port dir emacs-app) $ sudo patch -p0 < ~/Downloads/emacs-app-Portfile-snow-leopard.patch $ sudo cp ~/Downloads/emacs-23.1-snow-leopard.patch files/. $ sudo port -D . install $ sudo port clean emacs-app # 最初 +universal になってたので, $ sudo port install emacs-app -universal
先にクリーンすれば良かった気もする.
- port dir
を覚えた.
エラーログ
Finding pointers to doc strings... Finding pointers to doc strings...done Dumping under the name emacs unexec: input file not in Mach-O format --- List of All Regions --- address size prot maxp --- List of Regions to be Dumped --- address size prot maxp make[1]: *** [bootstrap-emacs] Error 1 make: *** [src] Error 2 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for emacs-app): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. [1] 50862 exit 1 sudo port -d -D . install
設定はここを見るといい
まだ移行できていないこと
- simple-hatena-mode で色付け
- 定幅フォント(×が定幅じゃない.他にもある?
- PATH が効いてない.(Carbon だとどうやってんだろ?)*1
*1:ちなみに git へのパス