Chatsiri Ratana
2012-Mar-31 15:54 UTC
[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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120331/c802a8d6/attachment.htm>
David Sastre Medina
2012-Mar-31 21:39 UTC
[libvirt-users] Libvirt source code cannot built with libnettle.
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 230 bytes Desc: Digital signature URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120331/ce92db2c/attachment.sig>
Eric Blake
2012-Mar-31 22:44 UTC
[libvirt-users] Libvirt source code cannot built with libnettle.
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 at redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 620 bytes Desc: OpenPGP digital signature URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120331/905f1b00/attachment.sig>
Apparently Analagous Threads
- [LLVMdev] Compile-rt throw error undeclared identifier 'O_CLOEXEC'
- [LLVMdev] Compile-rt throw error undeclared identifier 'O_CLOEXEC'
- [LLVMdev] LLVM show error preprocessor "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
- [LLVMdev] Compile-rt throw error undeclared identifier 'O_CLOEXEC'
- How to compile gnutls to samba-4.12.3