[MacPorts] #42582: Building p5.14-libapreq2 fails (upgrade)
MacPorts
noreply at macports.org
Fri Feb 21 10:19:34 PST 2014
#42582: Building p5.14-libapreq2 fails (upgrade)
-----------------------------------------+--------------------------------
Reporter: st.graef@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: p5.14-libapreq2, mod_perl2 |
-----------------------------------------+--------------------------------
Changes (by ryandesign@…):
* cc: ryan@…, ryandesign@… (added)
* port: p5.14-libapreq2 => p5.14-libapreq2, mod_perl2
Comment:
I also get this build failure; more specifically:
{{{
Can't locate ModPerl/MM.pm in @INC (@INC contains:
/opt/local/lib/perl5/site_perl/5.14.2/darwin-thread-multi-2level
/opt/local/lib/perl5/site_perl/5.14.2
/opt/local/lib/perl5/vendor_perl/5.14.2/darwin-thread-multi-2level
/opt/local/lib/perl5/vendor_perl/5.14.2 /opt/local/lib/perl5/5.14.2
/darwin-thread-multi-2level /opt/local/lib/perl5/5.14.2
/opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at
Makefile.PL line 2.
}}}
Indeed MM.pm is not in those locations; mod_perl2 installed it in the
following location on my system:
{{{
/opt/local/lib/perl5/site_perl/5.12.4/darwin-thread-multi-
2level/ModPerl/MM.pm
}}}
This is because mod_perl2 uses "perl", and my "perl" is from the perl5
port installed with the +perl5_12 variant, because that was the default at
the time.
Ideally, the modules mod_perl2 provides should be split out into separate
module subports for each supported version of perl, so that ports like
p5-libapreq2 can depend on the correct perl version of the module.
--
Ticket URL: <https://trac.macports.org/ticket/42582#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list