On Sat, Oct 8, 2011 at 10:53 AM, Bram Moolenaar <[email protected]> wrote:
> > Gongqian Li wrote: > > > I had tried to compile vim with perl support under windows environment > using > > latest MinGW. I had encountered an error "Make_ming.mak:115: *** > Recursive > > variable `XSUBPP' references itself (eventually). Stop." which prevent > to > > vim to compile with perl. It may be obvious to those familiar with GNU > make, > > but not me. Searching the error message in google allowed me to fix the > > problem and get vim compiled with perl support. Here is my fix for those > > like me without much knowledge with GNU make. > > > > Here someone familiar with the source code merging please help me to > include > > this in the source control. thanks > > > > original code in Make_ming.mak (line 115) > > XSUBPP=perl $(XSUBPP) > > > > need to fix with this > > XSUBPP:=perl $(XSUBPP) > > > > thanks a lot! > > Perhaps it's more straightforward to do: > > XSUBPPTRY=$(PERLLIB)/ExtUtils/xsubpp > XSUBPP_EXISTS=$(shell perl -e "print 1 unless -e '$(XSUBPPTRY)'") > ifeq "$(XSUBPP_EXISTS)" "" > XSUBPP=perl $(XSUBPPTRY) > else > XSUBPP=xsubpp > endif > endif > > Can you verify that works? > > -- > hundred-and-one symptoms of being an internet addict: > 45. You buy a Captain Kirk chair with a built-in keyboard and mouse. > > /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net > \\\ > /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/\\\ > \\\ an exciting new programming language -- http://www.Zimbu.org > /// > \\\ help me help AIDS victims -- http://ICCF-Holland.org > /// > Bram, I tried to compile with changes you made, it did work! thanks -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
