%general-entities; ]> Vim-&vim-version; Vim temporary system Installation of VIM The configure script has a single hard coded test that cannot be bypassed with a cache entry. Disable this test with the following command: sed -i "/using uint32_t/s/as_fn_error/#&/" src/auto/configure The configure script is full of logic that aborts at the first sign of cross compiling. Work around this by setting the cached values of several tests with the following command: cat > src/auto/config.cache << "EOF" vim_cv_getcwd_broken=no vim_cv_memmove_handles_overlap=yes vim_cv_stat_ignores_slash=no vim_cv_terminfo=yes vim_cv_tgent=zero vim_cv_toupper_broken=no vim_cv_tty_group=world ac_cv_sizeof_int=4 ac_cv_sizeof_long=4 ac_cv_sizeof_time_t=4 ac_cv_sizeof_off_t=4 EOF Change the default location of the vimrc configuration file to /tools/etc: echo '#define SYS_VIMRC_FILE "/tools/etc/vimrc"' >> src/feature.h ./configure \ --build=${CLFS_HOST} --host=${CLFS_TARGET} \ --prefix=/tools --enable-multibyte --enable-gui=no \ --disable-gtktest --disable-xim --with-features=normal \ --disable-gpm --without-x --disable-netbeans \ --with-tlib=ncurses ln -sv vim /tools/bin/vi Create a temporary vimrc to make it function more the way you may expect it to. This is explained more in the final system: cat > /tools/etc/vimrc << "EOF" " Begin /etc/vimrc set nocompatible set backspace=2 set ruler syntax on " End /etc/vimrc EOF <para>Details on this package are located in <xref linkend="contents-vim" role="."/></para> </sect2> </sect1>