Install GD
Tar zxvf gd-2.0.33.tar.gz
CD gd-2.0.33
./Configure-Prefix =/usr/local/Gd-with-JPEG =/usr/local/resize 6-with-PNG-with-zlib-with-FreeType
Make
Make install
Checking for gdimagestring16 in-LGD... no
Checking for gdimagepalettecopy in-LGD... no
Checking for gdimagecreatefrompng in-LGD... no
Checking for gdimagecreatefromgif in-LGD... no
Checking for gdimagegif in-LGD... no
Checking for gdimagewbmp in-LGD... no
Checking for gdimagecreatefromjpeg in-LGD... no
Checking for gdimagecreatefromxpm in-LGD... no
Checking for gdimagecreatefromgd2 in-LGD... no
Checking for gdimagecreatetruecolor in-LGD... no
Checking for gdimagesettile in-LGD... no
Checking for gdimageellipse in-LGD... no
Checking for gdimagesetbrush in-LGD... no
Checking for gdimagestringttf in-LGD... no
Checking for gdimagestringft in-LGD... no
Checking for gdimagestringftex in-LGD... no
Checking for gdimagecolorclosesthwb in-LGD... no
Checking for gdimagecolorresolve in-LGD... no
Checking for gdimagegifctx in-LGD... no
Checking for gdcachecreate in-LGD... no
Checking for gdfontcacheshudown in-LGD... no
Checking for gdfreefontcache in-LGD... no
Checking for gdfontcachemutexsetup in-LGD... no
Checking for gdnewdynamicctxex in-LGD... no
Checking for gdimagecreate in-LGD... no
Configure: Error: Gd build test failed. Please check the config. log for details.