[Catalyst] problems with Authentication::Roles plugin

Joe Landman landman at scalableinformatics.com
Mon Jan 16 16:16:42 CET 2006


Hi Folks:

   I am attempting to use the Authentication::Roles plug in.  I 
installed the tarball in the usual manner, and I can see the module in 
there.

dualcore:/local/build # find /opt/sice | grep -i "Roles.pm"
/opt/sice/2.0/lib/perl5/site_perl/5.8.7/Catalyst/Plugin/Authorization/Roles.pm


My top level module looks like this:

  use Catalyst qw/
		-Debug
		
		Static::Simple
		
		Session
		Session::Store::FastMmap
		Session::State::Cookie
		
		Authentication
                 Authentication::Store::DBIC
                 Authentication::Credential::Password
		Authentication::Roles
	       /;

and I am getting error messages like this when trying it out.

dualcore:/local/build/sice # script/sice_server.pl
Subroutine default redefined at /local/build/sice/script/../lib/sice.pm 
line 92.
Couldn't load plugin "Catalyst::Plugin::Authentication::Roles", "Can't 
locate Catalyst/Plugin/Authentication/Roles.pm in @INC (@INC contains: 
/local/build/sice/script/../lib 
/opt/sice/2.0/lib/perl5/5.8.7/x86_64-linux-thread-multi 
/opt/sice/2.0/lib/perl5/5.8.7 
/opt/sice/2.0/lib/perl5/site_perl/5.8.7/x86_64-linux-thread-multi 
/opt/sice/2.0/lib/perl5/site_perl/5.8.7 
/opt/sice/2.0/lib/perl5/site_perl 
/opt/sice/2.0/vendor/lib/vendor_perl/5.8.5/x86_64-linux-thread-multi 
/opt/sice/2.0/vendor/lib/vendor_perl/5.8.5 .) at 
/opt/sice/2.0/lib/perl5/site_perl/5.8.7/Catalyst.pm line 1715.
" at script/sice_server.pl line 49
Compilation failed in require at script/sice_server.pl line 49.


Any hints?  Does this module work?  Is there some magic to get it to 
work with other modules?

Thanks.

Joe


-- 
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics LLC,
email: landman at scalableinformatics.com
web  : http://www.scalableinformatics.com
phone: +1 734 786 8423
fax  : +1 734 786 8452
cell : +1 734 612 4615




More information about the Catalyst mailing list