Re: Upgrade Perl to 5.6.1and mod_perl still see 5.6.0

2001-11-27 Thread Brett W. McCoy

On Fri, 23 Nov 2001, Hans Poo wrote:

> I've just installed a redhat 7.2 machine.
>
> I the installed Apache::ASP using CPAN, and ended upgrading to perl 5.6.1.
>
> After restarting httpd. i noticed that mod_perl is still int he old libraries.

Did you rebuild mod_perl?  If not, it's still the 5.6.0 version fo the
interpreter.

-- Brett
  http://www.chapelperilous.net/

Alden's Laws:
(1)  Giving away baby clothes and furniture is the major cause
 of pregnancy.
(2)  Always be backlit.
(3)  Sit down whenever possible.




Re: Upgrade Perl to 5.6.1and mod_perl still see 5.6.0

2001-11-27 Thread Perrin Harkins

> I the installed Apache::ASP using CPAN, and ended upgrading to perl
5.6.1.
>
> After restarting httpd. i noticed that mod_perl is still int he old
libraries.

Recompile mod_perl.
- Perrin




Upgrade Perl to 5.6.1and mod_perl still see 5.6.0

2001-11-27 Thread Hans Poo

I've just installed a redhat 7.2 machine.

I the installed Apache::ASP using CPAN, and ended upgrading to perl 5.6.1.

After restarting httpd. i noticed that mod_perl is still int he old libraries.

The test are:

1.-  @INC seems fine in the system:

# perl -e 'print join "\n", @INC'
/usr/local/lib/perl5/5.6.1/i686-linux
/usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl

2.- But mod_perl is still on the old @INC

# /etc/rc.d/init.d/httpd start
Iniciando httpd: Syntax error on line 1448 of /etc/httpd/conf/httpd.conf:
Can't locate Apache/ASP.pm in @INC (@INC contains: 
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 
/usr/lib/perl5/site_perl . /etc/httpd/ /etc/httpd/lib/perl) at (eval 3) line 
3.
   [FALLĂ“]
#

Hans Poo