how to compile GnuTLS

Peter Penzov peter.penzov at gmail.com
Thu Mar 1 10:00:37 CET 2012


    configure:8798: checking for libnettle
    configure:8820: gcc -std=gnu99 -o conftest -g -O2   conftest.c
/usr/lib/libnettle.so /usr/lib/libhogweed.so -lgmp >&5
    /usr/bin/ld: cannot find -lgmp
    collect2: ld returned 1 exit status
    configure:8820: $? = 1
    configure: failed program was:
    configure:8830: result: no
    configure:8856: error:
      ***
      *** Libnettle 2.4 was not found.

I install gmp-devel. The problem is fixed.




On Thu, Mar 1, 2012 at 7:42 AM, Shengwei (William) Li <shengwl at uci.edu>wrote:

> Hi Peter,
>
> Same here when I tried to install it on my Mac with Snow Leopard.
>
> Although I have not successfully installed it, this post might be helpful
> for you:
>
> http://stackoverflow.com/questions/7965990/why-cant-nettle-2-4s-configure-find-gmp-5-0-2
>
> Eventually, I installed it on 32-bit Ubuntu in Virtualbox.
>
> Regards,
>
> Shengwei (William) Li
>
> On Feb 29, 2012, at 10:32 AM, Peter Penzov wrote:
>
> I trying to compile GnuTLS. These are the steps:
> I use Centos 6.2 x86_64
>
> I downloaded Nettle 2.4
>
> [root at localhost opt]# wget
> http://www.lysator.liu.se/~nisse/archive/nettle-2.4.tar.gz
> [root at localhost nettle-2.4]# tar zxvf nettle-2.4.tar.gz
> [root at localhost nettle-2.4]# cd nettle-2.4
> [root at 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
>
>
> I run the command make and make install
>
>
> I downloaded the latest GnuTLS
>
>  ./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.
>
> What am I missing?
>
>
> Best wishes
> Peter
> _______________________________________________
> Help-gnutls mailing list
> Help-gnutls at gnu.org
> https://lists.gnu.org/mailman/listinfo/help-gnutls
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20120301/babe59fb/attachment.htm>


More information about the Gnutls-help mailing list