Opened 13 years ago

Closed 10 years ago

#28610 closed defect (duplicate)

p5-libapreq2 @2.13 fails to build, can't find ModPerl/MM.pm

Reported by: roberto@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryan@…
Port: p5-libapreq2 mod_perl2

Description

:info:build cd perl; /opt/local/bin/perl  Makefile.PL -apxs /opt/local/apache2/b
in/apxs INSTALLDIRS=vendor
:info:build Can't locate ModPerl/MM.pm in @INC (@INC contains: /opt/local/lib/pe
rl5/site_perl/5.12.3/darwin-multi-2level /opt/local/lib/perl5/site_perl/5.12.3 /
opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level /opt/local/lib/perl5/
vendor_perl/5.12.3 /opt/local/lib/perl5/5.12.3/darwin-multi-2level /opt/local/li
b/perl5/5.12.3 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .
) at Makefile.PL line 2.
:info:build BEGIN failed--compilation aborted at Makefile.PL line 2.
:info:build make[1]: *** [perl/Makefile] Error 2
:info:build make: *** [all-recursive] Error 1
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_mac
ports_sources_rsync.macports.org_release_ports_perl_p5-libapreq2/work/libapreq2-
2.13" && /usr/bin/make -j2 all " returned error 2

Change History (9)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Cc: ryan@… added
Owner: changed from macports-tickets@… to narf_tm@…
Port: mod_perl2 added

Please remember to cc the maintainer.

comment:2 Changed 13 years ago by rchibois@…

Cc: rchibois@… added

Cc Me!

comment:3 Changed 13 years ago by rchibois@…

Cc: rchibois@… removed

Cc Me!

comment:4 Changed 13 years ago by rchibois@…

Hmmmm.. Sorry for my inability to click a button correctly...

After a bit of struggling, all build fines if:

  • Perl (>= 5.10) is built with both threads and shared support, e.g.:

sudo port install perl5.12 +shared +threads

  • A small fix is applied to mod_perl2/Portfile, in the "post-destroot" section, Perl version is hardcoded to "5.8*"

Hope this helps.

comment:5 Changed 13 years ago by roberto@…

This did not seem to do it for me. I still get the Can't locate ModPerl/MM.pm in @INC error.

comment:6 in reply to:  5 Changed 13 years ago by rchibois@…

Replying to roberto@…:

This did not seem to do it for me. I still get the Can't locate ModPerl/MM.pm in @INC error.

Have you tried to:

port clean p5-libapreq2 <-- I needed this port install p5-libapreq2

comment:7 Changed 13 years ago by roberto@…

Yes, I did the clean first, but still received the error.

comment:8 Changed 12 years ago by jmroot (Joshua Root)

Owner: changed from narf_tm@… to macports-tickets@…

-> nomaintainer

comment:9 Changed 10 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.