<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">&lt;<a href="mailto:murrayeisenberg@gmail.com" target="_blank">murrayeisenberg@gmail.com</a>&gt;</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&#39;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 &quot;sudo port select perl5 perl5.16&quot; (and same thing with just &quot;perl&quot; instead of &quot;perl5&quot;) but get error &quot;The specified group &#39;perl5&#39; does not exist.&quot;<br></blockquote>
<div><br></div><div>Perl doesn&#39;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>