Hi,

I changed the default version of perl on my Snow Leopard to be 5.14.1, using 
perlbrew. Now, when I build MacVim, make dies at:
/usr/local/perlbrew/perls/perl-5.14.1/bin/perl -e 'unless ( $] >= 5.005 ) { for 
(qw(na defgv errgv)) { print "#define PL_$_ $_\n" }}' > auto/if_perl.c
/usr/local/perlbrew/perls/perl-5.14.1/bin/perl 
/usr/local/perlbrew/perls/perl-5.14.1/lib/5.14.1/ExtUtils/xsubpp -prototypes 
-typemap \
            /usr/local/perlbrew/perls/perl-5.14.1/lib/5.14.1/ExtUtils/typemap 
if_perl.xs >> auto/if_perl.c
Undefined subroutine &ExtUtils::ParseXS::errors called at 
/usr/local/perlbrew/perls/perl-5.14.1/lib/5.14.1/ExtUtils/xsubpp line 41.

However, I found that if I call site_lib version of xsubpp, everything is ok. 
site_lib version is at:
/usr/local/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/ExtUtils/xsubpp

This patch solves my problem, and also reverts to using PERLLIB if 
PERLSITELIB/ExtUtils/xsubpp doesn't exist. If you find any value in it, let me 
know.

Cheers,
Nikola

-- 
You received this message from the "vim_mac" 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

Attachment: 0001-Fix-a-building-problem-with-perl-5.14.1-on-Mac-OS-X.patch
Description: Binary data

Reply via email to