Help needed to install SDL_ttf and others

I send this e-mail in the hope someone may help me with a “tricky” problem I am having when I try to install SDL_image, SDL_mixer and SDL_ttf to be able to install Tux Paint for my kid. Every time I try “make” (after ./configure) I get the message “.libs/ undefined reference to XOpenDisplay” (and other - I believe - X functions, also for libSDL_image and for libSDL_mixer) and appears a message with I have Mandrake 8.0 on my computer and also edited ldconfig to include dirs like /usr/local/lib (and also usr/lib), as suggested in the FAQ document for some problems with the Mandrake Linux.
I am without any direction (as a matter of fact, I am what is called a newbie, with some understanding in C programming, what is helping me a lot !).
Waiting for any direction,
Andr? T.S. Lanzer.
Yahoo! Messenger - Fale com seus amigos online. Instale agora!