ConohaのVPSにlinuxbrewを入れてbrew install vim --with-lua
しようとしたら下記のエラーが出たので覚え書き。brew install perl
でperlを入れたらインストールできた。
Last 15 lines from /home/admin/.cache/Homebrew/Logs/vim/02.make:
if_perl.c:1945: error: expected expression before ‘)’ token
if_perl.c:1946: error: expected expression before ‘)’ token
if_perl.c:1947: error: expected expression before ‘)’ token
if_perl.c:1948: error: expected expression before ‘)’ token
if_perl.c:1949: error: expected expression before ‘)’ token
if_perl.c:1950: error: expected expression before ‘)’ token
if_perl.c:1951: error: expected expression before ‘)’ token
if_perl.c:1952: error: expected expression before ‘)’ token
if_perl.c:1957: error: ‘XSRETURN_YES’ undeclared (first use in this function)
/home/admin/.linuxbrew/bin/gcc-4.4 -c -I. -Iproto -DHAVE_CONFIG_H -isystem/home/admin/.linuxbrew/include -Os -w -pipe -march=core2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/if_perlsfio.o if_perlsfio.c
/home/admin/.linuxbrew/bin/gcc-4.4 -c -I. -Iproto -DHAVE_CONFIG_H -isystem/home/admin/.linuxbrew/include -Os -w -pipe -march=core2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/home/admin/.linuxbrew/bin/../Cellar/python/2.7.10_2/include/python2.7 -DPYTHON_HOME='"/home/admin/.linuxbrew/bin/../Cellar/python/2.7.10_2"' -pthread -fPIE -o objects/if_python.o if_python.c
make[1]: *** [objects/if_perl.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/tmp/vim20151028-5744-w03436/vim-7.4.891/src'
make: *** [first] Error 2