Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Perl on Sierra (Mac OS X 10.12.x): any issues?

by kcott (Archbishop)
on Jan 25, 2017 at 14:08 UTC ( [id://1180296]=perlquestion: print w/replies, xml ) Need Help??

kcott has asked for the wisdom of the Perl Monks concerning the following question:

I'm currently running Mac OS X 10.10.3 (Yosemite). I didn't upgrade to 10.11 (El Capitan). I'm now looking at upgrading to the latest 10.12.3 (Sierra).

Is anyone running Perl on this version? Is there anything I need to be aware of, look out for, and so on? Any gotchas or horror stories?

I've already done some reseach on this.

I'm aware of SIP (introduced in El Capitan); there's a fairly detailed article about it here: http://apple.stackexchange.com/questions/193368/what-is-the-rootless-feature-in-el-capitan-really. I think I can live with this; and, in fact, disable it if I can't.

I searched on PM. Many issues seem to relate to using the system Perl: I use Perlbrew and never touch the system Perl, so I don't think there'll be any problems in that area.

Not exactly Perl-related, but I've also made local copies of all Apache config files; I also have a copy of /etc/hosts (which I've made some changes to at different times).

If anyone has any advice on this, it would be much appreciated.

— Ken

Replies are listed 'Best First'.
Re: Perl on Sierra (Mac OS X 10.12.x): any issues?
by herveus (Prior) on Jan 25, 2017 at 16:03 UTC
    Howdy!

    I have been holding off on Sierra, but I had gone to El Capitan. I didn't run into any issues maintaining my Perl setup (non perlbrew) when I made that jump. I would not expect you to have any particular issues unless you are doing some really OS specific things that might change out from under you (whatever those might be). Or relying on some hypothetical capability that goes away in Sierra.

    yours,
    Michael

      G'day Michael,

      Thanks for the response. It's good to hear that you didn't encounter any problems with El Capitan.

      "... unless you are doing some really OS specific things ..."

      I don't really use the system's supplied applications except where I have to. I use Firefox instead of Safari; VLC instead of iTunes; Foxit instead of Preview; and so on. And, of course, as already stated, perlbrew Perl instead of system Perl.

      "I have been holding off on Sierra, ..."

      Assuming I do upgrade, which seems likely, it will happen in the next day or two. I'll report back with any issues and, if there were any, how I got around them.

      — Ken

Re: Perl on Sierra (Mac OS X 10.12.x): any issues? [Upgrade completed successfully]
by kcott (Archbishop) on Jan 27, 2017 at 02:22 UTC

    Just a quick update. I've completed the upgrade: all went well.

    No problems in the Perl space. I successful ran a few scripts. My GUIs (Tk) worked as expected. As a test for cpan, I installed Acme: all good. No problems with Perlbrew. The OS has its own, two versions of Perl.

    $ /usr/bin/perl -v | head -2 | tail -1 This is perl 5, version 18, subversion 2 (v5.18.2) built for darwin-th +read-multi-2level $ /usr/local/bin/perl -v | head -2 | tail -1 This is perl 5, version 18, subversion 1 (v5.18.1) built for darwin-th +read-multi-2level $ which perl /Users/ken/perl5/perlbrew/perls/perl-5.24.0t/bin/perl $ perl -v | head -2 | tail -1 This is perl 5, version 24, subversion 0 (v5.24.0) built for darwin-th +read-multi-2level $ perlbrew switch perl-5.25.9t $ which perl /Users/ken/perl5/perlbrew/perls/perl-5.25.9t/bin/perl $ perl -v | head -2 | tail -1 This is perl 5, version 25, subversion 9 (v5.25.9) built for darwin-th +read-multi-2level

    Not related to Perl, but just for general information: it's ~5Gb download; the subsequent installation took maybe an hour (I wasn't watching it that closely); all of my standard applications (including Firefox, Thunderbird, VLC, OpenOffice, Foxit) worked as previously (i.e. no reinstallation or reconfiguration required); the overall look-and-feel is virtually identical.

    — Ken

Re: Perl on Sierra (Mac OS X 10.12.x): any issues?
by gnosti (Chaplain) on Jan 27, 2017 at 01:24 UTC
    If perl compiles and passes tests on the target OS, is there any reason to fear that problems exist?

    Or perhaps you are concerned about specific modules in the perl ecosystem? In that case, bug reports or CPAN Testers reports for the distribution in question would seem to be the authoritative source for such information.

Re: Perl on Sierra (Mac OS X 10.12.x): any issues?
by Anonymous Monk on Jan 25, 2017 at 18:24 UTC
    Why are you not running perlbrew?
      Howdy!

      Assuming you're asking me, it's because I've been using Perl from way before there was a perlbrew, and have not made the leap. Heck, I only recently started using cpanm to install modules. In order to make effective use of perlbrew, I need to become more conversant with managing my installed modules in the perlbrew world, and I probably need to do some disk space rearranging given how full my system disk is these days.

      yours,
      Michael
        The reply was to the OP, not you.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1180296]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-19 03:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found