The error message tells you two ways in which to solve your problem.
- Install the
gnutls
development package. You can find it by doing:apt-cache search 'libgnutls.*-dev'
, and then install it withapt-get
. - Link without
gnutls
, a la./config --prefix=/usr/local/emacs --with-gnutls=no