Teruhiro Komaki's Blog (Temporary)

Vimをビルドするときのconfigureのメモ(Debian)

Vimをビルドするときのconfigureのオプションをメモっておく。

詳細は vim-jp の記事を見るのが良いと思います。

https://vim-jp.org/docs/build_linux.html

Debianでsudo aptitude install vim-gnomeでインストールした場合terminal(:ter)が使えない…

ということで、ビルドします。

configure

 1./configure \
 2  --with-features=huge \
 3  --enable-multibyte \
 4  --enable-gui=gnome2 \
 5  --enable-gpm \
 6  --enable-cscope \
 7  --enable-perlinterp \
 8  --enable-pythoninterp \
 9  --enable-python3interp \
10  --enable-rubyinterp \
11  --enable-luainterp \
12  --enable-acl \
13  --enable-fontset \
14  --enable-xim \
15  --enable-terminal \
16  --enable-fail-if-missing \
17  --with-luajit \
18  --with-x \
1make
1sudo make install
1(ins) /var/tmp/build_vim $ which vim
2/usr/local/bin/vim
 1(ins) /var/tmp/build_vim $ vim --version
 2VIM - Vi IMproved 8.1 (2018 May 18, compiled Dec 29 2018 23:18:33)
 3Included patches: 1-657
 4Compiled by teruhiro@debian
 5Huge version without GUI.  Features included (+) or not (-):
 6+acl               +extra_search      +mouse_netterm     +tag_old_static
 7+arabic            +farsi             +mouse_sgr         -tag_any_white
 8+autocmd           +file_in_path      -mouse_sysmouse    -tcl
 9+autochdir         +find_in_path      +mouse_urxvt       +termguicolors
10-autoservername    +float             +mouse_xterm       +terminal
11-balloon_eval      +folding           +multi_byte        +terminfo
12+balloon_eval_term -footer            +multi_lang        +termresponse
13-browse            +fork()            -mzscheme          +textobjects
14++builtin_terms    +gettext           +netbeans_intg     +textprop
15+byte_offset       -hangul_input      +num64             +timers
16+channel           +iconv             +packages          +title
17+cindent           +insert_expand     +path_extra        -toolbar
18+clientserver      +job               +perl              +user_commands
19+clipboard         +jumplist          +persistent_undo   +vartabs
20+cmdline_compl     +keymap            +postscript        +vertsplit
21+cmdline_hist      +lambda            +printer           +virtualedit
22+cmdline_info      +langmap           +profile           +visual
23+comments          +libcall           +python/dyn        +visualextra
24+conceal           +linebreak         +python3/dyn       +viminfo
25+cryptv            +lispindent        +quickfix          +vreplace
26+cscope            +listcmds          +reltime           +wildignore
27+cursorbind        +localmap          +rightleft         +wildmenu
28+cursorshape       +lua               +ruby              +windows
29+dialog_con        +menu              +scrollbind        +writebackup
30+diff              +mksession         +signs             +X11
31+digraphs          +modify_fname      +smartindent       +xfontset
32-dnd               +mouse             +startuptime       -xim
33-ebcdic            -mouseshape        +statusline        +xpm
34+emacs_tags        +mouse_dec         -sun_workshop      +xsmp_interact
35+eval              +mouse_gpm         +syntax            +xterm_clipboard
36+ex_extra          -mouse_jsbterm     +tag_binary        -xterm_save
37   system vimrc file: "$VIM/vimrc"
38     user vimrc file: "$HOME/.vimrc"
39 2nd user vimrc file: "~/.vim/vimrc"
40      user exrc file: "$HOME/.exrc"
41       defaults file: "$VIMRUNTIME/defaults.vim"
42  fall-back for $VIM: "/usr/local/share/vim"
43Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
44Linking: gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E   -L/usr/local/lib -Wl,--as-needed -o vim    -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl    -lacl -lattr -lgpm -ldl  -L/usr/lib/x86_64-linux-gnu -lluajit-5.1 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/x86_64-linux-gnu/perl/5.24/CORE -lperl -ldl -lm -lpthread -lcrypt    -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm

あとがき

誤りがありましたら、指摘していただけると、嬉しいです。

Tags:
comments powered by Disqus