How install p5-libapreq2 for perl 5.20?

Murray Eisenberg murrayeisenberg at gmail.com
Mon Sep 15 17:23:10 PDT 2014


The 3-step process, including forcibly rebuilding mod_per2 from source, allows installing p5.20-libapreq2.

Many thanks for this workaround.


On 14 Sep2014, 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
> 
> 

---
Murray Eisenberg		murrayeisenberg at gmail.com
503 King Farm Blvd #101		Home (240)-246-7240
Rockville, MD 20850-6667	Mobile (413)-427-5334







More information about the macports-users mailing list