Joshua H wrote:
1) When I try to call Apache::Request methods (like new() ), I get an
You want Apache2::Request->new()
or better yet
APR::Request::Apache2->new()
See:
http://httpd.apache.org/apreq/docs/libapreq2/group__apreq__xs__apr__request__apache2.html
error to the effect that it can't find Apache2/Request.pm in @INC. And
indeed although it is in the temp directory that I built libapreq2 in,
it didn't get installed into @INC even though there were no errors from
'make' or 'make install' . I can copy it (and the .pm files under APR
as well which also didn't get installed) into @INC directories, but I'm
wondering if this is a symptom of a bigger problem.
They should have been installed.
How about some environment information?
httpd version
mod_perl version
liabpreq version
operating and version system
perl -V
Did you make or gmake ?
If you are using mod_perl older then 2.0.0 upgrade before you do
anything else.
2) My startup.pl file won't load with the line "Use Apache2();" in it,
You'll probably want this in your startup.pl file for libapreq2
use APR::Request ();
use APR::Request::Apache2 ();
use APR::Request::CGI ();
use APR::Request::Cookie ();
use APR::Request::Error ();
use APR::Request::Hook ();
use APR::Request::Param ();
use APR::Request::Parser ();
use Apache2::Upload ();
use Apache2::Request ();
use Apache2::Cookie ();
also with an error that it isn't in @INC. It's actually in @INC, but
under Bundle/. When I include Bundle in @INC, it barfs on a whole bunch
of XS stuff. My startup.pl file is copied here in case I've made other
errors:
Apache2 is obsoleted.
See here:
http://perl.apache.org/docs/2.0/rename.html
LoadModule apreq_module /usr/lib/apache2/mod_apreq2.so
Thats correct.
--
------------------------------------------------------------------------
"Love is not the one you can picture yourself marrying,
but the one you can't picture the rest of your life without."
"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."
Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com