<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Mar 30, 2014 at 5:00 PM, Murray Eisenberg <span dir="ltr"><<a href="mailto:murrayeisenberg@gmail.com" target="_blank">murrayeisenberg@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Because p5-libapreq2 won't build with perl5.18 -- see <a href="http://trac.macports.org/ticket/28831" target="_blank">http://trac.macports.org/ticket/28831</a> -- and because perl5.18 is currently my default version of perl5, I need to try again but now with perl5.16. How?<br>
<br>
I tried first "sudo port select perl5 perl5.16" (and same thing with just "perl" instead of "perl5") but get error "The specified group 'perl5' does not exist."<br></blockquote>
<div><br></div><div>Perl doesn't currently use the port select mechanism; there are at the moment too many corner cases to deal with. To select the default perl, you need to change the variant of the perl5 port:</div>
<div><br></div><div> sudo port upgrade --enforce-variants perl5 -perl5_18 +perl5_16</div><div><br></div><div>This should not disrupt ports using a different perl version, since the other versions will still be installed afterward.</div>
<div><br></div></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div></div>