首先请相信我,我发帖提问前,认真读过分析过我的报错信息,但是实在是新手。
一步一步照着https://github.com/textmate/textmate README 做的。
本机环境:硬件:MacBookAir 2014 软件:Mac OS X 10.10 Yosemite(AppStore 上的所有软件都已更新至最新,包括 Xcode,command line tools 等)
回顾安装过程如下:
1⃣️ 安装 brew:ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2⃣️安装 prerequires:brew install ninja ragel boost multimarkdown hg capnp proctools
3⃣️编译:$ git submodule update --init
$ ./configure && ninja
然后就报错了,报错如下:
[772/1058] Run test ‘/Users/wutuofu/...TextMate/Frameworks/scm/test_scm’… FAILED: /Users/wutuofu/build/TextMate/Frameworks/scm/test_scm && touch /Users/wutuofu/build/TextMate/Frameworks/scm/test_scm.run test_scm: 1 of 32 tests failed: /Users/wutuofu/textmate_complied_x_10.10/Frameworks/scm/tests/t_git.cc:142: Expected (wc.status("folder") == scm::status::deleted), found (clean != deleted) [772/1058] Compile ‘Frameworks/theme/src/theme.cc’… ninja: build stopped: subcommand failed.
因为是刚买的 Mac,好多东西都不知道,所以请问,是不是少了什么 library,导致那个 test-scm 失败,然后 ninja 不能编译?