in reply to Help installing GD

First step when you have a problem installing modules is to check the documentation.

To quote:

Obtaining the C-language version of gd libgd, the C-language version of gd, can be obtained at URL http://www.boutell.com/gd/. Directions for installing and using it can be found at that site. Please do not contact me for help with libgd.