パッチ:
% tar -jxvf vim-6.1.tar.bz2
% tar -zxvf vim-6.1-extra.tar.gz
% tar -zxvf vim-6.1-lang.tar.gz
% cd vim61
% zcat ../6.1.*.gz | patch -p0
とか,
% cat ../6.1.* | patch -p0
とかする
% ./configure --enable-multibyte \
--with-features=big \
--disable-gui \
--without-x
% make
checking for dlfcn.h... yes
auto/configure: line 11159: syntax error near unexpected token `newline'
auto/configure: line 11159: ` yes:no'
make[1]: *** [auto/config.mk] Error 2
make[1]: Leaving directory `/usr/src/vim61/src'
make: *** [first] Error 2
とか,エラーが出る場合は,
src/Makefile の 1360行目付近を以下のようにコメントアウトし,
もう一度 make してみる.
autoconf 2.13 だとこの問題は出ないらしい.
autoconf 2.5x だと,問題が出るらしい.
auto/configure: configure.in
# if test ! -f configure.save; then mv configure configure.save; fi
# autoconf
# sed -e 's+\./config.log+auto/config.log+' configure > auto/configure
# chmod 755 auto/configure
# mv -f configure.save configure
# -rm -f auto/config.status auto/config.cache
% make test
# make install