That did it, thanks! Just a note that then I had to deactivate p5.24-libapreq2 before going ahead to install p5.26-libapreq2 .
> On 25 Oct2017, at 8:55 PM, Marius Schamschula <[email protected]> wrote: > > Murray, > > 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: > > sudo port install mod_perl2 +perl5_26 > > Once you do this, I think the rest of your install should proceed. > >> On Oct 25, 2017, at 7:41 PM, Murray Eisenberg <[email protected] >> <mailto:[email protected]>> wrote: >> >> I’m trying to upgrade perl-related ports from perl 5.24 to perl 5.26. >> >> When I executed... >> >> sudo port install p5.26-libapreq2 >> >> ...I got message... >> >> The following dependencies will be installed: >> mod_perl2 >> p5.26-extutils-xsbuilder >> >> …and I proceeded. Got messages: >> >> 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 >> port. Unable to activate port mod_perl2. Use 'port -f activate mod_perl2' >> to force the activation. >> >> Proceeded, I tried: >> >> sudo port -f activate mod_perl2 >> >> Got message: >> >> The following versions of mod_perl2 are currently installed: >> 1) mod_perl2 @2.0.10_0+perl5_24 >> 2) mod_perl2 @2.0.10_1+perl5_24 >> >> GotBut I didn’t want the+perl5_24 variant of mod_perl2 now, since the idea >> is to upgrade to perl 5.26. >> So I aborted. >> >> Next, tried... >> >> sudo port uninstall mod_perl2 @2.0.10_0+perl5_24 >> >> …with resulting message steps: >> >> Note: It is not recommended to uninstall/deactivate a port that has >> dependents as it breaks the dependents. >> The following ports will break: p5.24-libapreq2 @2.130.0_5 >> Continue? [y/N]: y >> Warning: Uninstall forced. Proceeding despite dependencies. >> ---> Uninstalling mod_perl2 @2.0.10_0+perl5_24 >> ---> Cleaning mod_perl2 >> >> Now I tried again... >> >> sudo port install p5.26-libapreq2 >> >> … with result: >> >> ---> Computing dependencies for p5.26-libapreq2 >> The following dependencies will be installed: >> mod_perl2 >> p5.26-extutils-xsbuilder >> Continue? [Y/n]: y >> … >> ---> Activating mod_perl2 @2.0.10_1+perl5_24 >> 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 >> port. Unable to activate port mod_perl2. Use 'port -f activate mod_perl2' >> to force the activation. >> … >> Error: Processing of port p5.26-libapreq2 failed >> >> How do I proceed?? >> >> Here’s what the end of the … mod_perl2/main.log : >> >> :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 >> :debug:install Error code: NONE >> :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 >> :debug:install while executing >> :debug:install "create_archive $location $portarchivetype" >> :debug:install (procedure "portinstall::install_main" line 22) >> :debug:install invoked from within >> :debug:install "$procedure $targetname" >> >> --- >> Murray Eisenberg [email protected] >> <mailto:[email protected]> >> 503 King Farm Blvd #101 Home (240)-246-7240 >> Rockville, MD 20850-6667 Mobile (413)-427-5334 >> >> > > > > Marius > -- > Marius Schamschula > > > > --- Murray Eisenberg [email protected] 503 King Farm Blvd #101 Home (240)-246-7240 Rockville, MD 20850-6667 Mobile (413)-427-5334
