On 2/27/07, Gary Johnson wrote:
On 2007-02-15, Frodak Baksik wrote:> Here are all the changes in a single patch. > I'm also posting this to the cygwin-apps mailing list, so if anyone > over there could try it out would be nice. I just applied this patch to the latest Cygwin vim source package, vim-7.0.122-1, and configured it with ./configure --prefix=/usr/local --without-x --enable-gui=no However, after successfully building a number of .o files, make fails as follows: $ make Starting make in the src directory. If there are problems, cd to the src directory and run make there cd src && make first make[1]: Entering directory `/usr/src/vim-7.0.122-1/src' make[1]: *** No rule to make target `proto/winclip.pro', needed by `objects/winclip.o'. Stop. make[1]: Leaving directory `/usr/src/vim-7.0.122-1/src' make: *** [first] Error 2 I'm sorry I don't have time to look into it further before I leave for the day. I hope it's obvious to someone what I've done wrong. Regards, Gary
The problem appears to be with applying the patch. The file proto/winclip.pro should have been created by the patch command. I've just reinstalled fresh cygwin sources vim-7.0.122-1. Here is the command and output I get when applying the patch. $ pwd /usr/src/vim-7.0.122-1/src $ patch -p0 < /usr/src/vim_cygwin_clip_patch_2007-02-13.diff patching file term.c patching file Make_cyg.mak patching file configure.in Hunk #1 succeeded at 1957 (offset -1 lines). patching file Make_ming.mak patching file proto/winclip.pro patching file proto/os_mswin.pro patching file vim.h Hunk #1 succeeded at 1726 (offset -4 lines). patching file Make_w16.mak patching file Make_bc5.mak patching file feature.h patching file proto.h patching file Makefile patching file config.h.in patching file mbyte.c Hunk #2 succeeded at 3122 (offset -6 lines). Hunk #3 succeeded at 4409 (offset -6 lines). patching file os_unix.c patching file os_mswin.c patching file os_win32.c patching file Make_ivc.mak patching file Make_mvc.mak patching file auto/configure patching file winclip.c patching file globals.h Hunk #1 succeeded at 759 (offset -5 lines). I used the same configuration in your email and didn't have any issues. BTW, This is the configuration I normally use for compiling vim on cygwin. This is based upon the configuration options on the cygwin website and the feature set that vim is normally compiled with. ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/sbin \ --localstatedir=/var \ --datadir=/usr/share \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --with-features=huge \ --without-x --enable-gui=no :-) Frodak
