<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Murray,<div class=""><br class=""></div><div class="">mod_perl2 defaults to building with perl 5.24, as this currently the default branch. You have to explicitly build with perl 5.26 by specifying the variant:</div><div class=""><br class=""></div><div class="">sudo port install mod_perl2 +perl5_26</div><div class=""><br class=""></div><div class="">Once you do this, I think the rest of your install should proceed.</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 25, 2017, at 7:41 PM, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I’m trying to upgrade perl-related ports from perl 5.24 to perl 5.26.  <div class=""><br class=""></div><div class="">When I executed...</div><div class=""><br class=""></div><div class="">    <span style="font-family: Menlo; font-size: 12px; background-color: rgb(255, 255, 255);" class="">sudo port install p5.26-libapreq2</span></div><div class=""><font face="Menlo" class=""><span style="font-size: 12px; background-color: rgb(255, 255, 255);" class=""><br class=""></span></font></div><div class="">...I got message...</div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class="">   </span><span style="font-family: Menlo; font-size: 12px; background-color: rgb(255, 255, 255);" class="">The following dependencies will be installed:</span><span style="font-family: Menlo; font-size: 12px; background-color: rgb(255, 255, 255);" class=""> </span><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  mod_perl2</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  p5.26-extutils-xsbuilder</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">…and I proceeded. Got messages:</span></div><div style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><br class=""></span></div><div style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">    </span><span style="font-family: Menlo; font-size: 12px;" class="">Error: Failed to activate mod_perl2: Image error: /opt/local/lib/apache2/modules/mod_perl.so already exists and does not belong to a registered   </span></div><div style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Menlo; font-size: 12px;" class="">  port.</span><span style="font-family: Menlo; font-size: 12px;" class="">  </span><span style="font-family: Menlo; font-size: 12px;" class="">Unable to activate port mod_perl2. Use 'port -f activate mod_perl2' to force the activation.</span></div><div style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Menlo; font-size: 12px;" class=""><br class=""></span></div><div style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);" class="">Proceeded, I tried:</div><div style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);" class="">   <span style="font-family: Menlo; font-size: 12px;" class="">sudo port -f activate mod_perl2</span></div><div style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Menlo; font-size: 12px;" class=""><br class=""></span></div><div style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);" class="">Got message:</div><div style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);" class="">    <span style="font-family: Menlo; font-size: 12px;" class="">The following versions of mod_perl2 are currently installed:</span></div><div style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);" class="">  <span style="font-family: Menlo; font-size: 12px;" class="">   </span><span style="font-family: Menlo; font-size: 12px;" class="">1) mod_perl2 @2.0.10_0+perl5_24</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    2) mod_perl2 @2.0.10_1+perl5_24</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">GotBut I didn’t want the+perl5_24 variant of mod_perl2 now, since the idea is to upgrade to perl 5.26.</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">So I aborted.</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Next, tried...</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">   </span>sudo port uninstall mod_perl2 @2.0.10_0+perl5_24</div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""> …with resulting message steps:</div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class="">    Note: It is not recommended to uninstall/deactivate a port that has dependents as it breaks the dependents.</div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    The following ports will break: p5.24-libapreq2 @2.130.0_5</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    Continue? [y/N]: y</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    Warning: Uninstall forced.  Proceeding despite dependencies.</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    --->  Uninstalling mod_perl2 @2.0.10_0+perl5_24</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    --->  Cleaning mod_perl2</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Now I tried again...</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">   </span><span style="font-family: Menlo; font-size: 12px; background-color: rgb(255, 255, 255);" class="">sudo port install p5.26-libapreq2</span></div><div class=""><span style="font-family: Menlo; font-size: 12px; background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class="">… with result:</div><div class=""><br class=""></div><div class="">    <span style="font-family: Menlo; font-size: 12px; background-color: rgb(255, 255, 255);" class="">---></span><span style="font-family: Menlo; font-size: 12px; background-color: rgb(255, 255, 255);" class="">  </span><span style="font-family: Menlo; font-size: 12px; background-color: rgb(255, 255, 255);" class="">Computing dependencies for p5.26-libapreq2</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  The following dependencies will be installed: </span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  mod_perl2</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  p5.26-extutils-xsbuilder</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  Continue? [Y/n]: y</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">   …</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">   </span><span style="font-family: Menlo; font-size: 12px; background-color: rgb(255, 255, 255);" class="">---></span><span style="font-family: Menlo; font-size: 12px; background-color: rgb(255, 255, 255);" class="">  </span><span style="font-family: Menlo; font-size: 12px; background-color: rgb(255, 255, 255);" class="">Activating mod_perl2 @2.0.10_1+perl5_24</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  Error: Failed to activate mod_perl2: Image error: /opt/local/lib/apache2/modules/mod_perl.so already exists and does not belong to a registered   </span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  port.  Unable to activate port mod_perl2. Use 'port -f activate mod_perl2' to force the activation.</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  …</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  </span>Error: Processing of port p5.26-libapreq2 failed</div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Helvetica; font-size: 14px;" class="">How do I proceed??</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Helvetica; font-size: 14px;" class=""><br class=""></span></div><div style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);" class="">Here’s what the end of the … <span style="font-family: Menlo; font-size: 12px;" class="">mod_perl2/main.log :</span></div><div style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Menlo; font-size: 12px;" class=""><br class=""></span></div><div style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);" class=""><div style="margin: 0px; line-height: normal;" class=""><font face="Menlo" class=""><span style="font-size: 12px;" class="">:error:install Failed to install mod_perl2: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_perl2/mod_perl2/work/destroot</span></font></div><div style="margin: 0px; line-height: normal;" class=""><font face="Menlo" class=""><span style="font-size: 12px;" class="">:debug:install Error code: NONE</span></font></div><div style="margin: 0px; line-height: normal;" class=""><font face="Menlo" class=""><span style="font-size: 12px;" class="">:debug:install Backtrace: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_perl2/mod_perl2/work/destroot</span></font></div><div style="margin: 0px; line-height: normal;" class=""><font face="Menlo" class=""><span style="font-size: 12px;" class="">:debug:install     while executing</span></font></div><div style="margin: 0px; line-height: normal;" class=""><font face="Menlo" class=""><span style="font-size: 12px;" class="">:debug:install "create_archive $location $portarchivetype"</span></font></div><div style="margin: 0px; line-height: normal;" class=""><font face="Menlo" class=""><span style="font-size: 12px;" class="">:debug:install     (procedure "portinstall::install_main" line 22)</span></font></div><div style="margin: 0px; line-height: normal;" class=""><font face="Menlo" class=""><span style="font-size: 12px;" class="">:debug:install     invoked from within</span></font></div><div style="margin: 0px; line-height: normal;" class=""><font face="Menlo" class=""><span style="font-size: 12px;" class="">:debug:install "$procedure $targetname"</span></font></div><div style="font-family: Menlo; font-size: 12px;" class=""><br class=""></div></div><div class="">
---<br class="">Murray Eisenberg<span class="Apple-tab-span" style="white-space: pre;">                       </span><a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a><br class="">503 King Farm Blvd #101<span class="Apple-tab-span" style="white-space: pre;">     </span>Home (240)-246-7240<br class="">Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space: pre;">  </span>Mobile (413)-427-5334<br class=""><br class="">

</div>

<br class=""></div></div></div></blockquote></div><br class=""></div><br class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Marius</div><div class="">--</div><div class="">Marius Schamschula</div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">

</div>
<br class=""></body></html>