How install p5-libapreq2 for perl 5.20?

Daniel J. Luke dluke at geeklair.net
Mon Sep 15 01:27:21 PDT 2014


[replying to DEV with original reporter not CC'd]

On Sep 14, 2014, at 10:19 PM, Ryan Schmidt <ryandesign at macports.org> wrote:
> 
>> 
>> On Sep 14, 2014, at 9:43 AM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>> 
>> Can somebody tell me in simple terms how to go about installing p5.20-libapreq2?
>> 
>> I tried "sudo port install p5.20-libapreq2" but, as I already reported in a ticket, this gives during build the "usual" error:
>> 
>>  info:build Can't locate ModPerl/MM.pm in @INC (you may need to install the ModPerl::MM module)
>> 
>> [Currently I have  p5.18-libapreq2 @2.130.0_3 installed, but also errors (report in a ticket) if I try to upgrade it to latest version.]
>> 
>> When I filed the ticket, it was closed as being a duplicate of #42582: p5-libapreq2: fails to build for any perl version except the default one (Can't locate ModPerl/MM.pm).
>> 
>> Is there some resolution? 
>> 
>> Not being a macports developer or, for that matter, a perl developer -- just somebody who needs to use perl and perl modules within something else (WeBWorK) -- at this point I don't understand what to do.
> 
> We need to change the mod_perl2 port into a p5-mod_perl2 port that has subports for each perl version.
> 
> Until we do, getting ports that use mod_perl2's perl modules (like p5-libapreq2) to work with it is cumbersome.
> 
> The process should be:
> 
> * install perl5 with a variant that corresponds to the perl version you want to use
> * forcibly rebuild mod_perl2 from source (i.e. "sudo port -ns upgrade --force mod_perl2") or if you have not yet installed mod_perl2, install it from source (i.e. "sudo port -s install mod_perl2")
> * install the p5-libapreq2 subport for the perl version you want to use

note that this is /yet another/ unnecessarily complicated situation - which would be cleanly resolved by just having one perl5 port ...

--
Daniel J. Luke                                                                   
+========================================================+                        
| *---------------- dluke at geeklair.net ----------------* |                          
| *-------------- http://www.geeklair.net -------------* |                          
+========================================================+                        
|   Opinions expressed are mine and do not necessarily   |                          
|          reflect the opinions of my employer.          |                          
+========================================================+





More information about the macports-dev mailing list