はじめに
自分のMacにLua版のVimがインストールできないため、補完プラグインのneocompleteが使えず困っています。
お力添えいただけると助かりますのでよろしくお願いいたします。
提示している情報に不足があればご指摘いただけると助かります。
事象
- brewでlua版のVimのインストールを試みるもインストールできない
--with-lua
オプション無しであれば普通にインストール可能
環境
- HOMEBREW_VERSION: 1.1.9
- インストールしたいVimのバージョン: 8.0.0329
- OSX 10.11.5
インストール手順
Vimの再インストール
brew reinstall -v vim --with-lua
以下のエラーでうまくいっていないように見える
brew
1ld: library not found for -lruby.2.4.0 2clang: error: linker command failed with exit code 1 (use -v to see invocation) 3make[1]: *** [vim] Error 1 4make: *** [first] Error 2
brew info vim
の結果
brew
1➜ brew info vim 2vim: stable 8.0.0329 (bottled), HEAD 3Vi "workalike" with many additional features 4http://www.vim.org/ 5Conflicts with: ex-vi 6/usr/local/Cellar/vim/8.0.0329 (1,713 files, 23.3M) * 7 Poured from bottle on 2017-02-14 at 23:24:58 8From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/vim.rb 9==> Dependencies 10Optional: lua ✔, luajit ✘ 11==> Requirements 12Required: ruby >= 1.8 ✔, perl >= 5.3 ✔ 13Recommended: python ✔ 14Optional: python3 ✘ 15==> Options 16--with-client-server 17 Enable client/server mode 18--with-custom-perl 19 Build with a custom Perl instead of the Homebrew version. 20--with-custom-python 21 Build with a custom Python 2 instead of the Homebrew version. 22--with-custom-ruby 23 Build with a custom Ruby instead of the Homebrew version. 24--with-lua 25 Build vim with lua support 26--with-luajit 27 Build with luajit support 28--with-mzscheme 29 Build vim with mzscheme support 30--with-override-system-vi 31 Override system vi 32--with-python3 33 Build vim with python3 instead of python[2] support 34--with-tcl 35 Build vim with tcl support 36--without-nls 37 Build vim without National Language Support (translated messages, keymaps) 38--without-perl 39 Build vim without perl support 40--without-python 41 Build vim without python support 42--without-ruby 43 Build vim without ruby support 44--HEAD 45 Install HEAD version
その他
brew uninstall
してからインストールしても同じ
以上、よろしくお願いします。
brew info vim の結果ですが、一部化けていますが、Optional: lua はチェックされているのであれば、インストール自体はできていると思います。neocomplete のインストール自体は試みられたのでしょうか?
`brew install lua`でインストールしたため、チェックがついているものと思われます。neocomplete自体はインストール済みなのですが、`vim --version`でみると`-lua`の表示となっています。
回答1件
あなたの回答
tips
プレビュー