No subject
Thu Oct 13 11:38:50 EDT 2022
"HTTP::Request, HTTP::Response will by default now use "URI" class, instead
of "URI::URL", when constructing its URI objects. This has a potential for
breaking existing code as URI::URL objects had some extra methods that
external code might depend upon."
DUH! mod_perl is one of them! :-) The fix is easy:
Edit the UserAgent.pm file (on my system it was in
/usr/local/lib/perl5/site_perl/5.6.1/LWP) and find the following text near
the top of the file:
---------------------------------------------------
package LWP::UserAgent;
use strict;
=head1 NAME
---------------------------------------------------
and change it to be:
---------------------------------------------------
package LWP::UserAgent;
use strict;
use URI::URL;
=head1 NAME
---------------------------------------------------
Now, go to your mod_perl install folder and type:
# perl Makefile.PL APACHE_PREFIX=/usr/local/apache
APACHE_SRC=../apache_1.3.22/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
# make
# make test
# make install
As long as you have the Apache source files at the same folder level as the
mod_perl source files, this will compile everything and install Apache (with
mod_perl included) for you!
Thanks,
Rick
More information about the rt-users
mailing list