On Tue, 13 Sep 2011, mattn wrote:

Hi

it seems can't build with starawberry perl.

strawberry perl don' have ExtUtils/xsubpp

Below is a patch. Please check it.

https://gist.github.com/1215667

diff -r 1d5e7413d728 src/Make_ming.mak
--- a/src/Make_ming.mak Thu Sep 08 23:24:14 2011 +0200
+++ b/src/Make_ming.mak Wed Sep 14 10:47:48 2011 +0900
@@ -110,6 +110,14 @@
 PERLLIBS=$(PERLLIB)/Core
 endif
 
+XSUBPP=$(PERLLIB)/ExtUtils/xsubpp
+XSUBPP_EXISTS=$(shell perl -e "print 1 unless -e '$(XSUBPP)'")
+ifeq "$(XSUBPP_EXISTS)" ""
+XSUBPP=perl $(XSUBPP)
+else
+XSUBPP=xsubpp
+endif
+

Unless I'm missing something, I think this hunk should move up 2 lines so that the XSUBPP definitions are within the almost-out-of-context:

ifdef PERL
...
endif

--
Best,
Ben

--
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

Raspunde prin e-mail lui