in reply to found gd.h header file in /usr/includegd.h
What is the problem here?
The stuff you copy/pasted shows no error messages. This usually means there is no problem. Can't help you without an error message.