You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jonathan Steffan <jo...@bandwidthmarket.com> on 2005/08/18 21:58:00 UTC
Updating from 5.8.0 to 5.8.7
I did get the script I have been working with to run once... well
twice... then I restarted the httpd server and bam... no go again. It
worked after I ran the following:
perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)'
Still works from the command line and not from Apache::Registry::handler
(mod_perl?)
Issue is still Apache.pm missing. When I 'updatedb' and then 'locate
Apache.pm' I get the following:
/usr/lib/perl5/5.8.0/CGI/Apache.pm
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/DBI/ProfileDumper/Apache.pm
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBI/ProfileDumper/Apache.pm
/root/.cpan/build/CGI.pm-3.11/CGI/Apache.pm
/root/.cpan/build/CGI.pm-3.11/blib/lib/CGI/Apache.pm
/root/.cpan/build/mod_perl-1.29/lib/Bundle/Apache.pm
/root/.cpan/build/mod_perl-1.29/Apache/Apache.pm
/root/.cpan/build/mod_perl-1.29/blib/lib/Bundle/Apache.pm
/root/.cpan/build/mod_perl-1.29/blib/lib/Apache.pm
/root/.cpan/Bundle/Apache.pm
Is there any way to update my perl 5.8.0 to 5.8.7 using CPAN or other
automated processes? While running the auto-update using CPAN, it
complained that I should just update to 5.8.7... for many of the updates
I was doing already were included in that release. Thanks in advance. I
apologize I am using this list to speak my mind. My brain goes numb
after searching the web and lists for so long.
-Jon
Re: Updating from 5.8.0 to 5.8.7
Posted by Tom Schindl <to...@gmx.at>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> Issue is still Apache.pm missing. When I 'updatedb' and then 'locate
> Apache.pm' I get the following:
>
> /usr/lib/perl5/5.8.0/CGI/Apache.pm
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/DBI/ProfileDumper/Apache.pm
>
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBI/ProfileDumper/Apache.pm
>
> /root/.cpan/build/CGI.pm-3.11/CGI/Apache.pm
> /root/.cpan/build/CGI.pm-3.11/blib/lib/CGI/Apache.pm
> /root/.cpan/build/mod_perl-1.29/lib/Bundle/Apache.pm
> /root/.cpan/build/mod_perl-1.29/Apache/Apache.pm
> /root/.cpan/build/mod_perl-1.29/blib/lib/Bundle/Apache.pm
> /root/.cpan/build/mod_perl-1.29/blib/lib/Apache.pm
> /root/.cpan/Bundle/Apache.pm
>
There's no mod-perl 1.x found on your system => no Apache.pm.
> Is there any way to update my perl 5.8.0 to 5.8.7 using CPAN or other
> automated processes? While running the auto-update using CPAN, it
> complained that I should just update to 5.8.7... for many of the updates
> I was doing already were included in that release. Thanks in advance. I
> apologize I am using this list to speak my mind. My brain goes numb
> after searching the web and lists for so long.
>
No, not as fas as I known. You've got 2 possibilities:
- - find a newer rpm, deb, ... package for your distro
- - compile/install perl your self which is pretty straight forward
If you've done that you should decide which way you want to go:
a) Apache 1 => mod_perl-1.x (not recommended)
b) Apache 2 => mod_perl-2.0.1 (recommended)
When using mod-perl-2.0.1 you have to upgrade your CGI.pm which comes
bundled with perl to the latest and greatest available from CPAN else it
won't work.
> -Jon
>
>
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org
iD8DBQFDBXD5kVPeOFLgZFIRApBeAJ4sR61y9fKpTTtz5wOsBMWF1cnWzQCeIKHj
wNEIUzROo82rxEyS93HMlBI=
=1CvZ
-----END PGP SIGNATURE-----