Re: Perl version in 10.8, and 10.9?
Re: Perl version in 10.8, and 10.9?
- Subject: Re: Perl version in 10.8, and 10.9?
- From: Mark Fowler <email@hidden>
- Date: Mon, 30 Jul 2012 19:39:07 -0400
Thanks Juan,
My question was *not* about how to upgrade Perl on OS X, but rather about the possibility of working with Apple to ensure that 10.9 ships with a version of Perl that the community is still supporting.
However, since you brought the subject up, I should warn others I really do not recommend taking the approach you've indicated on installing a new perl. You suggest deleting the vendor perl and installing your own perl over the top of it. That's very likely to break existing things (that may be relying on the version perl that shipped with your system) and also very likely to break if Apple submit a security update which overwrites any of the files that they thing _they_ control on your system.
I instead recommend building something with perlbrew, e.g.:
curl -L http://xrl.us/installperlosx | bash
This will create a Perl in your home directory that will co-exist happily with the vendor Perl.
(see the talk on www.pimpyourmacwithperl.com for more info.)
Mark.
--
Mark Fowler
http://www.twoshortplanks.com/
http://www.pimpyourmacwithperl.com/
On Monday, 30 July 2012 at 19:14, Juan Madrigal wrote:
> This might be relevant (replace version numbers and directories as needed):
>
> sudo rm -R /System/Library/Perl sudo rm -R /Library/Perl rm /usr/bin/cpan* rm /usr/bin/perl* export SDK=/Developer/SDKs/MacOSX10.6.sdk # cd to src cd /usr/local/src/perl-5.10.1 # configure (may need to sudo) ./Configure -Accflags="-nostdinc -B$SDK/usr/include/gcc \ -B$SDK/usr/lib/gcc -isystem$SDK/usr/include \ -F$SDK/System/Library/Frameworks" \ -Aldflags="-Wl,-syslibroot,$SDK" \ -de -Dprefix=/usr -Dusershrplib -Dperladmin=email@hidden (mailto:-Dperladmin=email@hidden) -Dcf_email=email@hidden (mailto:-Dcf_email=email@hidden) #install make make test sudo make install # upgrade cpan sudo cpan upgrade CPAN.pm reload cpan install Module::Build install ExtUtils::MakeMaker install Bundle::CPAN
> Juan
>
>
> On Jul 30, 2012, at 5:17 PM, Mark Fowler wrote:
> > Hello,
> >
> > I just installed 10.8 on my Mac and I note that it's still shipping with no-longer supported versions of Perl (5.10 and 5.12, current latest stable is 5.16.)
> >
> > I wondered if there was any way the Perl community could help get the latest version of Perl in OS X 10.9. I suspect there's very good reasons why Apple didn't upgrade Perl in 10.8, and if nothing else it would be useful for the Perl community to know these reasons to inform decisions regarding its own release schedule.
> >
> > So, is there anyone on this list who either themselves or who knows someone who is involved in the packaging of Perl for OS X? Is there any way that the Perl community could further contribute to this process (either directly, or by making changes to the release timings, etc.)
> >
> > Mark.
> > http://www.pimpyourmacwithperl.com/
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Darwin-dev mailing list (email@hidden (mailto:email@hidden))
> > Help/Unsubscribe/Update your Subscription:
> >
> > This email sent to email@hidden (mailto:email@hidden)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden