Ok, I finally made it out. I think this is the case. First I don't
have gtk2-devel installed, then I try to configure the vim 7 source.
Vim tell me that gui is not supported. I installed gtk2-devel. With
the same folder, I try to configure it again. No luck. Until today....
I try new and fresh source, and then configure it again. It recognize
my GTK+. My stupid.

On 9/27/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:


Still not working? Check the configure log to see what went wrong:

make config > config.log 2>&1

In my log, the relevant lines (AFAICT) are the following (I'm omitting other
lines which appear interspersed with them):

checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking if X11 header files can be found... yes
checking --enable-gui argument... yes/auto - automatic GUI support
checking whether or not to look for GTK... yes
checking whether or not to look for GTK+ 2... yes
checking whether or not to look for GNOME... yes
checking whether or not to look for Motif... yes
checking whether or not to look for Athena... yes
checking whether or not to look for neXtaw... yes
checking whether or not to look for Carbon... yes
checking --with-gtk-prefix argument... no
checking --with-gtk-exec-prefix argument... no
checking --disable-gtktest argument... gtk test enabled
checking for gtk-config... /opt/gnome/bin/gtk-config
checking for pkg-config... /usr/bin/pkg-config
checking for GTK - version >= 2.2.0... yes; found version 2.6.4
checking for libgnomeui-2.0... yes


To compile gvim, you need the devel package for X, the devel package for at
least one of the GUI flavours, and configure must be able to find them. If,
for instance, it doesn't find your X11 headers, use

rpm -qa | grep X11

to see if you've got the appropriate package. I _think_ that on my SuSE 9.3 it
is "xorg-x11-devel-6.8.2.30" and "xorg-x11-6.8.2.30". (The above command will
also list a number of packages which have X11 in their names but aren't what
we're looking for.)

Oh, and a silly question: I see you've installed gtk2-devel; but have you
installed the basic (non-devel) gtk2 package too? Vim's GTK+2 GUI needs both.

rpm -qa | grep gtk2

If you haven't, use yast (or yast2) to install it, because that tool checks
for packages dependencies.


Best regards,
Tony.

Reply via email to