“brew install -s” não compila da fonte

2

Eu quero instalar o vim via homebrew, da compilação, mas mesmo quando eu corri o comando com -s flag, a compilação não ocorre.

brew install -s vim --with-luajit

Ou

brew reinstall -s vim --with-luajit

==> Reinstalling vim

==> Downloading https://homebrew.bintray.com/bottles/vim-8.1.0202

Already downloaded: /Users/me/Library/Caches/Homebrew/vim-8.1.0202.high_sierra.bottle.tar.gz

==> Pouring vim-8.1.0202.high_sierra.bottle.tar.gz

por Blaszard 05.08.2018 / 20:28

2 respostas

1

A consequência pode não ser exatamente a mesma, mas adicionar --HEAD flag no comando funcionou como um encanto.

brew uninstall --force vim
brew install --HEAD -s vim --with-luajit

E agora o vim é instalado com suporte a Lua.

    
por 06.08.2018 / 01:22
1

Você já o instalou, precisa informar brew para fazer um reinstall e não install :

$ brew update
$ brew reinstall -s vim --with-luajit
==> Reinstalling vim --without-python --with-luajit
==> Installing dependencies for vim: perl, libyaml
==> Installing vim dependency: perl
==> Downloading https://homebrew.bintray.com/bottles/perl-5.28.0.el_capitan.bottle.tar.gz
....

Você também pode forçar:

$ brew reinstall -s vim --with-luajit --force

Você também pode direcionar brew para usar a versão mais recente --HEAD , o que pode ajudar:

$ brew reinstall --HEAD -s vim --with-luajit --force

Referências

por 05.08.2018 / 20:49