I can't seem to get gvim to install with a (gtk) gui. I have: $ equery l gvim vim vim-core|cat app-editors/gvim-7.2.238 app-editors/vim-core-7.2.238 $ equery -C u gvim |cat -acl -aqua +bash-completion -cscope +gnome -gpm +gtk -motif -netbeans -nextaw +nls -perl +python -ruby $ file /usr/bin/vim /usr/bin/vim: symbolic link to `gvim' $ vim --version VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Sep 15 2009 11:58:57) Included patches: 1-238 Modified by Gentoo-7.2.238 Compiled by root@centar Huge version without GUI. Features included (+) or not (-): +arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent +clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments +cryptv -cscope +cursorshape +dialog_con +diff +digraphs -dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path +find_in_path +float +folding -footer +fork() +gettext -hangul_input +iconv +insert_expand +jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap +menu +mksession +modify_fname +mouse -mouseshape +mouse_dec -mouse_gpm -mouse_jsbterm +mouse_netterm -mouse_sysmouse +mouse_xterm +multi_byte +multi_lang -mzscheme -netbeans_intg -osfiletype +path_extra -perl +postscript +printer +profile +python +quickfix +reltime +rightleft -ruby +scrollbind +signs +smartindent -sniff +statusline -sun_workshop +syntax +tag_binary +tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title -toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup +X11 +xfontset -xim +xsmp_interact +xterm_clipboard -xterm_save system vimrc file: "/etc/vim/vimrc" user vimrc file: "$HOME/.vimrc" user exrc file: "$HOME/.exrc" fall-back for $VIM: "/usr/share/vim" Compilation: x86_64-pc-linux-gnu-gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -march=core2 -pipe -D_FORTIFY_SOURCE=1 -I/usr/include/python2.6 -pthread Linking: x86_64-pc-linux-gnu-gcc -Wl,-O1 -L/usr/local/lib -o gvim -lXt -lcurses -L/usr/lib/python2.6/config -lpython2.6 -lutil -lm -Xlinker -export-dynamic $ gvim E25: GUI cannot be used: Not enabled at compile time I glanced at the eclass, but did not see why this was happening. emerge --info to follow
Created attachment 204218 [details] emerge --info
Problem solved, but I'm leaving this open as a bug. I did a keeptmp and looked at the build log and found (from ./configure): checking for gtk-config... no checking for gtk12-config... no checking for pkg-config... no I checked and indeed I didn't have pkgconfig installed. This is because I previously ran "emerge --depclean --with-bdeps n" This unmerged pkgconfig as it's only a build time dependency. However, gvim doesn't seem to be pulling it in as a build time dependency and ./configure is silently ignoring its absence. I think a fix should be that gvim depend on pkgconfig (for gtk/gnome at least).
I should add that # emerge --oneshot pkgconfig gvim is a temporary work-around.
It does sound like pkgconfig ought to be a build dependency. Thanks for the report, assigning to maintainers.
Added DEPEND on dev-util/pkgconfig in app-editors/gvim-7.2.238