See the README file, the JPEG library is optional, but you may as well install it.
In reply to Re: Need Help with Installing GD.pm by marto in thread Need Help with Installing GD.pm by davidj01