System error

error:  Can't locate object method "copyRotated" via package "GD::Image" at /usr/local/lib/perl5/site_perl/5.8.7/Authen/Captcha.pm line 402.
context: 
... 
398:  # $im->copy($source,($i*($self->width()),0,0,0,$self->width(),$self->height()));
399:  my $half_w = int($w/2);
400:  my $half_h = int($h/2);
401:  my $ang = int(rand 62) - 31;
402:  $im->copyRotated($source,$i*$w+$half_w,$half_h,$half_w,$half_h,$w,$h,$ang);
403:  my $a = int(rand (int($w/14)))+0;
404:  my $b = int(rand (int($h/12)))+0;
405:  my $c = int(rand (int($w/3)))-(int($w/5));
406:  my $d = int(rand (int($h/3)))-(int($h/5));
... 
code stack:  /usr/local/lib/perl5/site_perl/5.8.7/Authen/Captcha.pm:402
/usr/local/lib/perl5/site_perl/5.8.7/Authen/Captcha.pm:504
/var/www/html/template/.mc/captcha:68
/var/www/html/template/dhandler:279
raw error






























Can't locate object method "copyRotated" via package "GD::Image" at /usr/local/lib/perl5/site_perl/5.8.7/Authen/Captcha.pm line 402.


Trace begun at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception('Can\'t locate object method "copyRotated" via package "GD::Image" at /usr/local/lib/perl5/site_perl/5.8.7/Authen/Captcha.pm line 402.^J') called at /usr/local/lib/perl5/site_perl/5.8.7/Authen/Captcha.pm line 402
Authen::Captcha::create_image_file('Authen::Captcha=HASH(0xacefe90)', 'upk7c', '068f832c101a577de10953ecd4989300') called at /usr/local/lib/perl5/site_perl/5.8.7/Authen/Captcha.pm line 504
Authen::Captcha::generate_code('Authen::Captcha=HASH(0xacefe90)', 5) called at /var/www/html/template/.mc/captcha line 68
HTML::Mason::Commands::__ANON__('session', 'Forum::MathTools::Session=HASH(0xa92457c)', 'path', 'kb/accountCreate!default.jspa') called at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa9215b4)', 'session', 'Forum::MathTools::Session=HASH(0xa92457c)', 'path', 'kb/accountCreate!default.jspa') called at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 1069
eval {...} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, 'session', 'Forum::MathTools::Session=HASH(0xa92457c)', 'path', 'kb/accountCreate!default.jspa') called at /var/www/html/template/dhandler line 279
HTML::Mason::Commands::__ANON__ at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa6d7c54)') called at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 1069
eval {...} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 338
eval {...} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 338
eval {...} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xad3d39c)') called at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/ApacheHandler.pm line 134
eval {...} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0xad3d39c)') called at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/ApacheHandler.pm line 827
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0xa00a12c)', 'Apache=SCALAR(0xad74454)') called at (eval 27) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache=SCALAR(0xad74454)') called at /usr/local/httpd/conf/handler.pl line 45
MathForum::Mason::handler('Apache=SCALAR(0xad74454)') called at /dev/null line 0
eval {...} at /dev/null line 0