Akbar wrote:
smart install gtk2-devel
Loading cache...
Updating cache... ########################################
[100%]
warning: [EMAIL PROTECTED] is already installed
Computing transaction...
Saving cache...
I have two computer. I installed ubuntu 6.06 in other computer that I
have successfully compiling vim7 from source.
I installed suse 10.2 to other computer and get crazy installing vim 7
from source.
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.