i have just installed mysql on my linux server with RPMs

i was trying to install module DBD::mysql using cpan

but it is retuning with error 255, can someone guide me?