[libvirt-users] Libvirt source code cannot built with libnettle.

Hello All, I try to build dependency library name is gnutls which require by libvirt, but show error us below. $./configure checking 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. I specify macros are LD_LIBRARY_PATH=$LD_LIBRARY_PATH/path_of_nettle_2.4/lib and "PATH:path_of_nettle_2.4/bin/:$PATH" on ~/.bashrc . Why show an errors for requiring libnettle version 2.4? VIM command line for show data in config.log. it's show as below. 739 | #define __EXTENSIONS__ 1 740 | #define _ALL_SOURCE 1 741 | #define _DARWIN_C_SOURCE 1 742 | #define _GNU_SOURCE 1 743 | #define _POSIX_PTHREAD_SEMANTICS 1 744 | #define _TANDEM_SOURCE 1 745 | #define HAVE_FSEEKO 1 746 | #define STDC_HEADERS 1 747 | /* end confdefs.h. */ 748 | #include <nettle/ripemd160.h> 749 | int 750 | main () 751 | { 752 | ripemd160_init (0) 753 | ; 754 | return 0; 755 | } 756 configure:8887: result: no 757 configure:8913: error: 758 *** 759 *** Libnettle 2.4 was not found. Best Regards, Chatsiri Rattana. -- :-------------------------------------------------------- http://about.me/chatsiri.ratana

On Sat, Mar 31, 2012 at 10:54:00PM +0700, Chatsiri Ratana wrote:
Hello All, I try to build dependency library name is gnutls which require by libvirt, but show error us below.
$./configure checking 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.
I specify macros are LD_LIBRARY_PATH=$LD_LIBRARY_PATH/path_of_nettle_2.4/lib and "PATH:path_of_nettle_2.4/bin/:$PATH" on ~/.bashrc . Why show an errors for requiring libnettle version 2.4?
756 configure:8887: result: no 757 configure:8913: error: 758 *** 759 *** Libnettle 2.4 was not found.
Wild guess. Do you have nettle-dev installed? -- Primary key fingerprint: AD8F BDC0 5A2C FD5F A179 60E7 F79B AB04 5299 EC56

On 03/31/2012 09:54 AM, Chatsiri Ratana wrote:
Hello All, I try to build dependency library name is gnutls which require by libvirt, but show error us below.
$./configure checking 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 distro are you trying to build on? If you are new to building things from source, I'd recommend starting from a distro that already has all the dependencies available as part of the distro, rather than starting from scratch. For example, if you use Fedora, then searching for all the BuildRequires in the source rpm will enable you to get all the packages needed to rebuild libvirt. -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (3)
-
Chatsiri Ratana
-
David Sastre Medina
-
Eric Blake