Skip to content

Instantly share code, notes, and snippets.

@Amakata
Last active December 10, 2015 01:28
Show Gist options
  • Save Amakata/4359666 to your computer and use it in GitHub Desktop.
Save Amakata/4359666 to your computer and use it in GitHub Desktop.
Macでいろいろ開発環境を整えるノウハウ(先陣の方々に感謝!)
・mkdir /usr/local/sbin
・.bash_profileに
PATH=/usr/local/sbin/:$PATH
を設定しておく
・Cocoa Emacsを使う
$ brew uninstall autoconf
$ brew install autoconf
$ brew unlink autoconf
$ brew link autoconf
$ brew install automake
$ brew install librsvg
$ brew uninstall glibc
$ brew install glibc
$ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig/:/opt/X11/lib/pkgconfig
$EMACS_VER=24.2
$curl -O http://ftp.gnu.org/pub/gnu/emacs/emacs-${EMACS_VER}.tar.gz
$svn co http://svn.sourceforge.jp/svnroot/macemacsjp/inline_patch/trunk inline_patch
$tar xvfz emacs-${EMACS_VER}.tar.gz
$cd emacs-${EMACS_VER}
$patch -p0 < ../inline_patch/emacs-inline.patch
$./configure --with-ns --without-x --disable-ns-self-contained
$make bootstrap
$make install
$open nextstep/Emacs.app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment