help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to compile GnuTLS


From: Peter Penzov
Subject: Re: how to compile GnuTLS
Date: Thu, 1 Mar 2012 11:00:37 +0200

    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 <address@hidden> 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

address@hidden opt]# wget http://www.lysator.liu.se/~nisse/archive/nettle-2.4.tar.gz
address@hidden nettle-2.4]# tar zxvf nettle-2.4.tar.gz
address@hidden nettle-2.4]# cd nettle-2.4
address@hidden 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
address@hidden
https://lists.gnu.org/mailman/listinfo/help-gnutls



reply via email to

[Prev in Thread] Current Thread [Next in Thread]