You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Chris Majewski <ma...@cs.ubc.ca> on 2003/03/28 20:25:39 UTC

mod_perl.pm and Apache 2

Hi
I'm trying to build RequestTracker (RT), a trouble ticket system which uses
Apache and  mod_perl. Apache's site  recommends Apache 2, so  I've got
that, and I've built mod_perl-1.99  for it. Now here's the problem. RT
requires  a bunch  of perl  modules, among  them  Apache::Cookie. That
module  requires something  called mod_perl.pm.  So I  do  an "install
mod_perl"  on the  MCPAN  command line.  This  asks me  for my  Apache
source. I answer "/usr/opt/src/httpd-2.0.44". Then I get this:

Configure mod_perl with /usr/opt/src/httpd-2.0.44 ? [y] 
************* WARNING *************

  Apache Version 1.3.0 required, aborting...


What now?
chris


Re: mod_perl.pm and Apache 2

Posted by Geoffrey Young <ge...@modperlcookbook.org>.

Chris Majewski wrote:
> OK, I've resolved the mod_perl.pm dependency by reinstalling
> mod_perl-1.99_08 (from src). But now I get this when trying to install
> Apache::Cookie
> 
> Can't locate Apache/MyConfig.pm in @INC (@INC contains: /usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib /usr/perl5/site_perl/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int /usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at Makefile.PL line 54.
> BEGIN failed--compilation aborted at Makefile.PL line 54.

Apache::Cookie has not (yet) been ported over to mod_perl 2.0.

what you want is:
   Apache 1.3.27  (http://www.apache.org/dist/httpd/apache_1.3.27.tar.gz)
   mod_perl 1.27 (http://perl.apache.org/dist/mod_perl-1.27.tar.gz)

good luck.

--Geoff




Re: mod_perl.pm and Apache 2

Posted by Chris Majewski <ma...@cs.ubc.ca>.
OK, I've resolved the mod_perl.pm dependency by reinstalling
mod_perl-1.99_08 (from src). But now I get this when trying to install
Apache::Cookie

Can't locate Apache/MyConfig.pm in @INC (@INC contains: /usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib /usr/perl5/site_perl/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int /usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at Makefile.PL line 54.
BEGIN failed--compilation aborted at Makefile.PL line 54.

When I try to install Apache::MyConfig I get this:

Warning: Cannot install Apache::MyConfig, don't know what it is.
Try the command

    i /Apache::MyConfig/

to find objects with matching identifiers.

-chris

Chris Majewski <ma...@cs.ubc.ca> writes:

> Hi
> I'm trying to build RequestTracker (RT), a trouble ticket system which uses
> Apache and  mod_perl. Apache's site  recommends Apache 2, so  I've got
> that, and I've built mod_perl-1.99  for it. Now here's the problem. RT
> requires  a bunch  of perl  modules, among  them  Apache::Cookie. That
> module  requires something  called mod_perl.pm.  So I  do  an "install
> mod_perl"  on the  MCPAN  command line.  This  asks me  for my  Apache
> source. I answer "/usr/opt/src/httpd-2.0.44". Then I get this:
> 
> Configure mod_perl with /usr/opt/src/httpd-2.0.44 ? [y] 
> ************* WARNING *************
> 
>   Apache Version 1.3.0 required, aborting...
> 
> 
> What now?
> chris