in reply to CPAN modules install problem?
Here are the full installation instructions for GD.pm.
And if you tried to install Image::Magick w/o first installing ImageMagick, the same thing applies.