Читать лог и понимать в чем проблема.
checking - проверка на наличие-соответсвие версии --- yes / no понятно?
устанавливаем необходимое и пробуем сконфигурировать снова, без ошибок .
а уж потом собираем (make), и если собралось ставим (make install)
вот кусок твоего лога с конфигурацией. сам разберешься?
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for sdl-config... no
checking for SDL - version >= 1.2.0... no