Friday, December 21, 2007

emacs - malloc_jumpstart() error

After upgrade to OS X Leopard (Currently 10.5.1), the default emacs version fails to start. I checked with Google, and find out how to do it.

The problem is because my emacs version is still 21.X, need to update with dumpemacs.

bash-3.2$ sudo mv /usr/bin/emacs-i386 /usr/bin/emacs-i386.orig
bash-3.2$ /usr/libexec/dumpemacs -V

bash-3.2$ sudo /usr/libexec/dumpemacs -d
Checking if emacs is up-to-date
emacs is not up-to-date. Needs dumping
bash-3.2$ emacs --version
GNU Emacs 22.1.1