Updating to Perl 5.16.3 didn't update some packages

Ryan Schmidt ryandesign at macports.org
Sun Aug 10 22:45:04 PDT 2014


On Aug 10, 2014, at 4:15 PM, Dave Horsfall wrote:

> MacBook 10.6.8 (soon to grow up and become Mavericks), BSD geek new to the 
> Mac fold.

Welcome! Do consider updating to Mavericks soon, and Yosemite when it comes out, since as time goes on it becomes more and more difficult to install software on older systems.


> I did a port upgrade on my box (after upgrading "port" itself etc), to 
> find that Perl got taken from 5.10.0 to 5.16.3+2p.

The perl default in MacPorts was recently changed from 5.12 to 5.16. We are in the process of updating individual ports to this new standard. Presumably you had previously manually installed perl5.10, and now one of the ports you use has been upgraded to use perl5.16, so that was additionally installed. At present, multiple perl versions can peacefully coexist, so there is no problem with you continuing to use perl5.10 (or 5.20 or any other version we have) while individual ports continue to use whatever version they're programmed to use.


> All well and good, 
> except that a couple of things (at least) didn't come with it.
> 
> So far, it's List::MoreUtils (but List::Util was OK) and Devel::DProf.
> 
> Do I need to kludge something with a symlink, correct my ways, or file a 
> bug report?

The port p5-list-moreutils has subports for each available version of perl:


$ port info p5-list-moreutils
p5-list-moreutils @0.330.0_1 (perl)
Replaced by:          p5.16-list-moreutils
Sub-ports:            p5.8-list-moreutils, p5.10-list-moreutils, p5.12-list-moreutils, p5.14-list-moreutils, p5.16-list-moreutils, p5.18-list-moreutils, p5.20-list-moreutils

Description:          List::MoreUtils provides some trivial but commonly needed functionality on lists which is not going to go into List::Util.
Homepage:             http://search.cpan.org/dist/List-MoreUtils/

Library Dependencies: p5.16-list-moreutils
Platforms:            darwin
License:              Artistic GPL
Maintainers:          nomaintainer at macports.org


Install whichever subport(s) of that port that you want to use. For example if you want to use List::MoreUtils with perl5.16, install p5.16-list-moreutils.


According to https://metacpan.org/pod/Devel::DProf that module is deprecated, and using "port search dprof" I cannot find it available in MacPorts. If you do have it installed, perhaps you did so using the cpan command at some point.




More information about the macports-users mailing list