TextMate 2 のインストール
- 覚書なのであとでちゃんと書く
ダウンロード
$ git clone https://github.com/textmate/textmate.git
必要なライブラリのインストール
$ brew install --HEAD https://raw.github.com/adamv/ homebrew-alt/master/head-only/ninja.rb
$ brew install ragel boost multimarkdown hg
Build
$ ./configure && ninja
エラー発生
Shared/PCH/prelude.cc:30:10: fatal error: 'boost/optional.hpp' file not found
#include <boost/optional.hpp>
ヘッダが見つからないと言われたので
diff --git a/target b/target
index 1c418e9..e1c0d9c 100644
--- a/target
+++ b/target
@@ -7,6 +7,7 @@ FLAGS += -DNS_BUILD_32_LIKE_64 -D'NULL_STR="\uFFFF"'
FLAGS += -Wall -Wwrite-strings -Wformat -Winit-self -Wmissing-include-dirs -Wno-parentheses -Wno-sign-compare -Wno-switch
FLAGS += -Wno-address-of-temporary
FLAGS += -IShared/include
+FLAGS += -I/usr/local/Cellar/boost/1.49.0/include
# FLAGS += -D_GLIBCXX_DEBUG
FLAGS += -DNDEBUG -Os
brew でインストールした boost の path を追加
もう1回Build
$ ./configure && ninja
Application にコピー
$ cp -r ~/build/TextMate/Applications/TextMate/TextMate.app /Applications/
TextMateの起動
$ open /Applications/TextMate.app/
$ open /Applications/TextMate.app/
Author And Source
この問題について(TextMate 2 のインストール), 我々は、より多くの情報をここで見つけました https://qiita.com/iorionda/items/af9b906ed5b68dece146著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .