Apache2, mod_perl2, HTML::Mason not finding Apache::Request2-2
i'm trying to setup mason on apache2, mod_perl2 setup. But mason isn't finding Apache::Request and i'm getting errors compiling html::mason and in the httpd.conf file.
[error] Can't load Perl module HTML::Mason::ApacheHandler for server
I successfully set this up on my home machine with mod_perlRC2, i haven't tried that yet but i don't see how that'll make a difference. Is there anything that i must do to tell mason to use apache 2? Because when i type perl Makefile.PL this is what i get.
Checking for Test::More...ok
Checking for Scalar::Util...ok
Checking for Exception::Class...ok
Checking for Params::Validate...ok
Checking for File::Spec...ok
Checking for CGI...ok
Checking for Class::Container...ok
Checking for Cache::Cache...ok
Checking for Apache::Request... not found
*** If you plan to use Mason with mod_perl,
Mason requires version 0.32, or later, of Apache::Request
But i installed libapreq2-2.04-dev and it installed perfectly. Any ideas how i can get this thing going? Thanks in advance.