I am trying to compile Vim on Cygwin, for Ruby and Python scripting support.
vim.exe –which is the terminal vim- compiles and runs fine, but gvim.exe does not. The problem is in the GTK+ 2 libraries, but I have them installed –from setup.exe of cygwin. I tried with higher and lower versions of GTK also.
Here is the relevant part from configure script. Any ideas are welcomed…
checking --enable-gui argument... GTK+ 2.x GUI support
checking --disable-gtktest argument... gtk test enabled
checking for GTK - version >= 2.2.0... no
checking X11/SM/SMlib.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking X11/Sunkeysym.h usability... yes
checking X11/Sunkeysym.h presence... yes
checking for X11/Sunkeysym.h... yes
checking for XIMText in X11/Xlib.h... yes
no GUI selected; xim has been disabled
Install all the -devel packages required, including
Install
gcc4cygwin package (solveslibffiproblem)Run
./configure --prefix=/usr --enable-multibyte --enable-pythoninterp --enable-gui=gtk2 --enable-rubyinterp --disable-gtktestgtktest has problems on cygwin, I didn’t dig for the reasons
make && make install