On Mon, 2007-01-15 at 00:51 -0800, Tracy12 wrote:
> I found out that the reason for failure is the following line
> 
> use Apache2::compat;

You didn't tell us what the error message is when you have that line in.
Regardless, you shouldn't use Apache2::compat for new development.  It's
meant for porting old code.

> but when I remove this entry the make test gives no errors but functionality
> fails and in the log it says that
>  Can't locate object method "user" via package "Apache2::Connection" at
> /usr/lib/perl5/site_perl/5.8.8/AuthCAS.pm line 512.\n
> 
> which is basically   $r->connection->user($user);
> line in the source.

You should be using $r->user($user) there.

- Perrin

Reply via email to