Re: Can't upgrade from mod_perl 1.29 -> mod_perl 1.99

[prev] [thread] [next] [Date index for 2005/01/24]

From: Ixkorr Oxkarr
Subject: Re: Can't upgrade from mod_perl 1.29 -> mod_perl 1.99
Date: 16:04 on 24 Jan 2005
Randy,

Thanks for your help.

perl -MApache2 -Mmod_perl -e 'print
$mod_perl::VERSION'
still reports mod_perl-1.29, even after I have done a
"make uninstall" in the mod_perl-1.29 source
directory, and I have installed the mod_perl-1.99 RPM.
Is there any way I can force an unload of
mod_perl-1.29?

Thanks,
IO

--- Randy Kobes <randy@xxxxxxxx.xxxxxxxxx.xx> wrote:

> On Sun, 23 Jan 2005, Ixkorr Oxkarr wrote:
> 
> > Hello,
> >
> > I am trying to upgrade from mod_perl 1.29 to
> mod_perl
> > 1.99 on Apache 2.0 (the OS is RHL9).
> >
> > I have installed the mod_perl 1.99 binary RPM, but
> > when I check the version through perl (with the
> > command perl -Mmod_perl -e 'print
> > $mod_perl::VERSION'), I still get 1.29.
> 
> This may depend on the way the rpm was made, but
> it might have happened that mod_perl-2 was installed
> relative to an Apache2/ subdirectory (so as to not
> overwrite existing mod_perl-1 files). Does
>  perl -MApache2 -Mmod_perl -e 'print
> $mod_perl::VERSION'
> report the upgraded mod_perl-2?
> 
> > I tried upgrading via CPAN, I get the error
> "Cannot
> > install mod_perl/1.999.21 on top of
> mod_perl/1.29."
> 
> That means that mod_perl wants to install things
> relative to
> an Apache2/ subdirectory. Try configuring as
>   perl Makefile.PL MP_INST_APACHE2=1 ....
> which will do this for you. See
>
http://perl.apache.org/docs/2.0/user/install/install.html#Installing_mod_perl_from_Source
> for further details.
> 
> > Is there some way I can uninstall mod_perl 1.29 so
> > that I can start using mod_perl 1.99?
> 
> With the installation into the Apache2/
> subdirectory, it's
> possible to have both mod_perl-1 and mod_perl-2
> installs in
> the same perl tree - this may be advantageous if you
> want to
> upgrade while still keeping the mod_perl-1
> installation
> running.
> 
> After installing mod_perl-2, you have to adjust @INC
> to see things under the Apache2/ subdirectory - you
> can
> do this by putting a
>    use Apache2;
> in a startup.pl, or a
>    PerlModule Apache2
> directive in httpd.conf. See
>
http://perl.apache.org/docs/2.0/user/config/config.html#Accessing_the_mod_perl_2_0_Modules
> for further details.
> 
> -- 
> best regards,
> randy kobes
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail

Can't upgrade from mod_perl 1.29 -> mod_perl 1.99
Ixkorr Oxkarr 02:06 on 24 Jan 2005

Re: Can't upgrade from mod_perl 1.29 -> mod_perl 1.99
Ixkorr Oxkarr 16:04 on 24 Jan 2005

Re: Can't upgrade from mod_perl 1.29 -> mod_perl 1.99
INFOQUEST USA INC 17:15 on 24 Jan 2005

Apache Reload -- Subroutine xx redefined
David Romero 20:07 on 24 Jan 2005

Re: Apache Reload -- Subroutine xx redefined
David Romero 23:11 on 26 Jan 2005

Re: Can't upgrade from mod_perl 1.29 -> mod_perl 1.99
INFOQUEST USA INC 22:36 on 24 Jan 2005

Generated at 17:42 on 27 Jan 2005 by mariachi v0.52