Resolvido o problema:
sudo apt-get install build-essential texinfo libx11-dev libxpm-dev libjpeg-dev libpng-dev libgif-dev libtiff-dev libgtk2.0-dev libncurses-dev
./configure --with-dbus --with-toolkit-scroll-bars --with-xft --with-xpm --with-jpeg --with-tiff --with-gif --with-libotf --with-xim --with-gconf --with-gnutls