Here is what the Command_Line_Lookups tells me:
to use method 'server_root_relative' add:
use Apache::ServerUtil ();
here is what my .pl file looks like before I make any modifications:
:: CODE ::
use Apache2 ();
use ModPerl::Util ();
use Apache::RequestRec ();
use Apache::RequestIO ();
use Apache::RequestUtil ();
use Apache::Server ();
use Apache::ServerUtil ();
use Apache::Connection ();
use Apache::Log ();
use Apache::Const -compile => ':common';
use APR::Const -compile => ':common';
use APR::Table ();
use Apache::compat ();
use ModPerl::Registry ();
use CGI ();
use XML::LibXML();
use XML::LibXSLT();
1;
:: END CODE ::
that is it... still compiles with an error =(
-----Original Message-----
From: Stas Bekman [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 10:10 PM
To: Ryan Farrington
Cc: [EMAIL PROTECTED]
Subject: Re: Mod_Perl 2?
Ryan Farrington wrote:
> Ok here is the error I get when using the all-in-one install for
> mod_perl 2.0
>
>
>
> Can't locate object method "server_root_relative" via package "Apache"
> at e:/Per
>
> l/site/lib/Apache/compat.pm line 69.
>
> Compilation failed in require at startup.pl line 13.
>
> BEGIN failed--compilation aborted at startup.pl line 13.
http://perl.apache.org/docs/2.0/user/porting/compat.html#Code_Porting
http://perl.apache.org/docs/2.0/api/ModPerl/MethodLookup.html#Command_Li
ne_Lookups
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com