Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Problem building MacVim when default perl is 5.14.1
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nikola Knežević  
View profile  
 More options Sep 8 2011, 4:56 pm
From: Nikola Knežević <laladelausa...@gmail.com>
Date: Thu, 8 Sep 2011 22:56:56 +0200
Local: Thurs, Sep 8 2011 4:56 pm
Subject: Problem building MacVim when default perl is 5.14.1

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

  0001-Fix-a-building-problem-with-perl-5.14.1-on-Mac-OS-X.patch
3K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
björn  
View profile  
 More options Sep 12 2011, 1:39 pm
From: björn <bjorn.winck...@gmail.com>
Date: Mon, 12 Sep 2011 19:39:23 +0200
Local: Mon, Sep 12 2011 1:39 pm
Subject: Re: Problem building MacVim when default perl is 5.14.1
2011/9/8 Nikola Knežević:

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

Thanks for the patch.

So, if I build against the default Perl version this patch has no
effect?  If it doesn't have any negative side effects for people
without a custom Perl, then I don't mind merging it.

Björn


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikola Knežević  
View profile  
 More options Sep 20 2011, 9:27 am
From: Nikola Knežević <laladelausa...@gmail.com>
Date: Tue, 20 Sep 2011 15:27:56 +0200
Local: Tues, Sep 20 2011 9:27 am
Subject: Re: Problem building MacVim when default perl is 5.14.1
On 12 Sep  2011, at 19:39 , björn wrote:

> 2011/9/8 Nikola Knežević:

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

> Thanks for the patch.

> So, if I build against the default Perl version this patch has no
> effect?  If it doesn't have any negative side effects for people
> without a custom Perl, then I don't mind merging it.

Sorry, I was away...

Yes, if you build it against the default version of the patch, MacVim should work as it worked so far.

Best,
Nikola


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »