title: How to compile GnuTLS
body: <p>I'm trying to compile GnuTLS library several times on Centos 6.2 but with no luck. These are the steps:</p>
  
  <p>I downloaded Nettle 2.4</p>
  
  <pre><code>[root@localhost opt]# wget http://www.lysator.liu.se/~nisse/archive/nettle-2.4.tar.gz
  [root@localhost nettle-2.4]# tar zxvf nettle-2.4.tar.gz
  [root@localhost nettle-2.4]# cd nettle-2.4
  [root@localhost nettle-2.4]# ./configure --enable-shared --prefix=/usr
  
  
  
    Version:           nettle 2.4
    Host type:         x86_64-unknown-linux-gnu
    ABI:               64
    Assembly files:    x86_64
    Install prefix:    /usr
    Library directory: ${exec_prefix}/lib64
    Compiler:          gcc
    Shared libraries:  yes
    Public key crypto: no
  </code></pre>
  
  <p>I run the command <code>make</code> and <code>make install</code></p>
  
  <p>I downloaded the latest GnuTLS</p>
  
  <pre><code> ./configure --with-libnettle-prefix=/usr
  
  hecking for shared library run path origin... done
  checking whether to use nettle... yes
  checking for libnettle... no
  configure: error:
    ***
    *** Libnettle 2.4 was not found.
  </code></pre>
  
  <p>What am I missing?</p>
  
  <p>Best wishes </p>