최근에 vim
다음과 같이 설치했습니다 .
hg clone https://vim.googlecode.com/hg/ vim
cd vim
sudo ./configure --enable-rubyinterp=yes --enable-pythoninterp=yes --enable-gui=gtk2 --prefix=/opt/vim
make
make install
make install clean
그래서 내 VIM의 바이너리는 이제 아래에 /opt/vim/bin
있습니다. ls -la
이 디렉토리 는 다음과 같습니다 .
$ ls -la /opt/vim/bin
total 1500
drwxr-xr-x 2 root root 4096 2011-05-25 12:46 .
drwxr-xr-x 4 root root 4096 2011-05-25 12:46 ..
lrwxrwxrwx 1 root root 3 2011-05-25 12:46 ex -> vim
lrwxrwxrwx 1 root root 3 2011-05-25 12:46 rview -> vim
lrwxrwxrwx 1 root root 3 2011-05-25 12:46 rvim -> vim
lrwxrwxrwx 1 root root 3 2011-05-25 12:46 view -> vim
-rwxr-xr-x 1 root root 1504188 2011-05-25 12:46 vim
lrwxrwxrwx 1 root root 3 2011-05-25 12:46 vimdiff -> vim
-rwxr-xr-x 1 root root 2084 2011-05-25 12:46 vimtutor
-rwxr-xr-x 1 root root 13900 2011-05-25 12:46 xxd
내 어 is 어 vim.gtk
? --enable-gui=gtk2
configure에서 지정 했습니다. 설치 프로그램이 콘솔 응용 프로그램뿐만 아니라 GUI 버전을 원한다고 말해서는 안됩니까?
gtk
버전을 올바르게 지정했습니다 .
$ dpkg -l libgtk[0-9]* | grep ^i
ii libgtk2-perl 1:1.221-4 Perl interface to the 2.x series of the Gimp Toolkit library
ii libgtk2.0-0 2.18.3-1ubuntu2.2 The GTK+ graphical user interface library
ii libgtk2.0-bin 2.18.3-1ubuntu2.2 The programs for the GTK+ graphical user interface library
ii libgtk2.0-common 2.18.3-1ubuntu2.2 Common files for the GTK+ graphical user interface library
업데이트 : src / INSTALL에 작성되었습니다.
88 Unix: COMPILING WITH/WITHOUT GUI
89
90 NOTE: This is incomplete, look in Makefile for more info.
91
92 These configure arguments can be used to select which GUI to use:
93 --enable-gui=gtk or: gtk2, motif, athena or auto
94 --disable-gtk-check
95 --disable-motif-check
96 --disable-athena-check
97
98 --enable-gui defaults to "auto", so it will automatically look for a GUI (in
99 the order of GTK, Motif, then Athena). If one is found, then is uses it and
100 does not proceed to check any of the remaining ones. Otherwise, it moves on
101 to the next one.
그래서 --enable-gui
자체적으로 사용할 GUI 엔진 / 툴킷을 찾을 것으로 기대하면서 지정하지 않았습니다 ... 아직 동일한 결과 :(
업데이트 : 또한 :
/opt/vim/bin$ ./vim -g
E25: GUI cannot be used: Not enabled at compile time
업데이트 :
이 모든 것이 필요합니까?
$ sudo aptitude search gtk | grep dev
p gnunet-gtk-dev - secure, trust-based peer-to-peer framework
v gtkgl-dev -
p gtkparasite - GTK+ debugging and development tool
p libaiksaurusgtk-1.2-dev - graphical interface to the Aiksaurus toolk
v libaiksaurusgtk-dev -
p libcanberra-gtk-dev - a simple abstract interface for playing ev
p libchamplain-gtk-0.4-dev - A Gtk+ widget to display maps (development
p libclutter-gtk-0.10-dev - Open GL based interactive canvas library G
p libdbusmenu-gtk-dev - Menus over DBus shared library for GTK
p libempathy-gtk-dev - High-level library and user-interface for
v libequeue-gtk2-ocaml-dev -
p libexif-gtk-dev - Library providing GTK+ widgets to display/
p libgalago-gtk-dev - libraries and header files for developing
p libgdu-gtk-dev - GTK+ standard dialog library for libgdu -
p libggadget-gtk-1.0-dev - Google Gadgets GTK+ development files
p libggz-gtk-dev - GGZ Gaming Zone: core client embedding lib
p libghc6-gtk-dev - A GUI library for Haskell (Gtk2Hs) -- GTK+
p libghc6-gtkglext-dev - A GUI library for Haskell (Gtk2Hs) -- gtkg
p libghc6-gtksourceview2-dev - A GUI library for Haskell (Gtk2Hs) -- GtkS
p libghc6-soegtk-dev - A GUI library for Haskell (Gtk2Hs) -- soeg
p libglrr-gtk-dev - Development library of Grift (gtk)
p libgpod-nogtk-dev - development files for libgpod (version wit
p libgtk-directfb-2.0-dev - Development files for the GTK+ library - D
p libgtk-vnc-1.0-dev - A VNC viewer widget for GTK+ (development
i libgtk2.0-dev - Development files for the GTK+ library
p libgtkada2-dev - Development files for libgtkada2
p libgtkdatabox-0.9.0-1-dev - A Gtk+ library to display large amounts of
v libgtkdatabox-dev -
p libgtkextra-x11-2.0-dev - A useful set of widgets for GTK+ (developm
p libgtkgl2.0-dev - OpenGL area for GTK (development files)
p libgtkglext1-dev - OpenGL Extension to GTK+ (development file
p libgtkglextmm-x11-1.2-dev - C++ bindings for GtkGLExt (Development fil
p libgtkhex0-dev - GNOME Hex editor for files (development he
p libgtkhtml-editor-dev - HTML rendering/editing library - editor wi
p libgtkhtml2-dev - HTML rendering/editing library - developme
p libgtkhtml3.14-dev - HTML rendering/editing library - developme
p libgtkhtml3.8-dev - HTML rendering/editing library - developme
p libgtkimageview-dev - image viewer widget for GTK+ (development
p libgtkmathview-dev - rendering engine for MathML documents
p libgtkmm-2.4-dev - C++ wrappers for GTK+ 2.4 (development fil
p libgtkmm-utils-dev - utility functions, classes and widgets wri
p libgtksourceview-dev - development files for the GTK+ syntax high
p libgtksourceview2.0-dev - development files for the GTK+ syntax high
p libgtksourceviewmm-1.0-dev - C++ binding of GtkSourceView - development
p libgtksourceviewmm-2.0-dev - C++ binding of GtkSourceView - development
p libgtkspell-dev - Development files for GtkSpell
p libindicate-gtk-dev - GNOME panel indicator applet - shared libr
p libjana-gtk-dev - A set of GTK+ widgets to visualise libjana
p liblablgtk2-gl-ocaml-dev - OCaml bindings to GtkGL
p liblablgtk2-gnome-ocaml-dev - OCaml bindings to GNOME
p liblablgtk2-ocaml-dev - OCaml bindings to Gtk+ version 2
p liblablgtkmathview-ocaml-dev - OCaml bindings for libgtkmathview, a GTK w
p liblablgtksourceview-ocaml-dev - OCaml bindings for libgtksourceview, a sou
v libnotify-dev-gtk2.10 -
p libocamlnet-gtk2-ocaml-dev - OCaml application-level Internet libraries
p libpolkit-gtk-1-dev - PolicyKit GTK+ API - development files
v libsylpheed-claws-gtk2-dev -
p libtinymailui-gtk-dev - Framework for mobile applications with e-m
p libtinymailui-gtkhtml-dev - Framework for mobile applications with e-m
p libtracker-gtk-dev - GTK+ widgets for apps that use tracker - d
v libunicapgtk-dev -
p libunicapgtk2-dev - graphical widgets for unicap - development
p libwxgtk2.6-dev - wxWidgets Cross-platform C++ GUI toolkit (
p libwxgtk2.8-dev - wxWidgets Cross-platform C++ GUI toolkit (
p libzbargtk-dev - scanning and decoding bar codes (GTK+ bind
p python-galago-gtk-dev - Galago presence library (Python interface)
p python-gtk2-dev - GTK+ bindings: devel files
p telepathy-devel-gtk - Telepathy Development packages for GTK
내가 필요로하지 않는 대부분의 패키지처럼 보입니다. 예 : 모바일 앱, ... HTML 렌더러 등을위한 프레임 워크 내가 설치 한 것은 libgtk2.0-dev
... 여전히, 컴파일 할 수 없습니다 gVIM
.... Agrhhhhh
configure
그 자체 인 것 같습니다 . 확인 config.log
하고 --enable-gui
옵션 등을 처리하는 방법을 봅니다 .