Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285106 - app-editors/gvim 7.2.238 needs pkgconfig to find gtk+
Summary: app-editors/gvim 7.2.238 needs pkgconfig to find gtk+
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-15 16:22 UTC by Albert W. Hopkins
Modified: 2009-09-25 14:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge--info.txt,3.76 KB, text/plain)
2009-09-15 16:23 UTC, Albert W. Hopkins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2009-09-15 16:22:48 UTC
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
Comment 1 Albert W. Hopkins 2009-09-15 16:23:56 UTC
Created attachment 204218 [details]
emerge --info
Comment 2 Albert W. Hopkins 2009-09-15 23:58:46 UTC
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).


Comment 3 Albert W. Hopkins 2009-09-16 00:00:07 UTC
I should add that

# emerge --oneshot pkgconfig gvim

is a temporary work-around.

Comment 4 Wormo (RETIRED) gentoo-dev 2009-09-18 06:07:49 UTC
It does sound like pkgconfig ought to be a build dependency. Thanks for the report, assigning to maintainers.
Comment 5 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-09-25 14:30:09 UTC
Added DEPEND on dev-util/pkgconfig in app-editors/gvim-7.2.238