Texture Mapping

I used to glutSolidSphere to draw a sphere.
How to glue an image on this?Should I supply
texture and geometry coordinates?

try : in your GL init function :

glEnable(GL_TEXTURE_2D);
glEnable(GL_TEXTURE_GEN_S);
glEnable(GL_TEXTURE_GEN_T);
glEnable(GL_TEXTURE_GEN_R);

Thanx…It worked.
The bitmap is repeated.I want only one bitmap to be glued in a sphere.Is there any parameters other than GL_REPEAT and GL_CLAMP
avilable?