Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sven Neumann <s.neumann@raumfeld.com>
To: buildroot@busybox.net
Subject: [Buildroot] GNUTLS
Date: Thu, 24 May 2012 15:54:56 +0200	[thread overview]
Message-ID: <1337867696.2404.2.camel@sven> (raw)
In-Reply-To: <CAG6aBkWMBN9uP-pTWo-MoyH7iUBG0mtNgEXdvKff1tDnVf0+VA@mail.gmail.com>

On Wed, 2012-05-23 at 20:59 -0400, Nigel Sollars wrote:
> Hello,
> 
> I checked out the latest git as of yesterday,  gnutls fails the build
> with
> 
> checking
> for /usr/local/panda-stuff/buildroot-src/git/buildroot-22052012/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc option to accept ISO C99... -std=gnu99
> checking
> for /usr/local/panda-stuff/buildroot-src/git/buildroot-22052012/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
> configure: autobuild project... GnuTLS
> configure: autobuild revision... 2.12.18
> configure: autobuild hostname... slacktab
> configure: autobuild timestamp... 20120524T004953Z
> checking for inline... inline
> checking whether we are using the GNU C++ compiler... yes
> checking
> whether /usr/local/panda-stuff/buildroot-src/git/buildroot-22052012/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-g++ accepts -g... yes
> checking dependency style
> of /usr/local/panda-stuff/buildroot-src/git/buildroot-22052012/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-g++... gcc3
> checking for ld used by
> GCC... /usr/local/panda-stuff/buildroot-src/git/buildroot-22052012/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-ld
> checking if the linker
> (/usr/local/panda-stuff/buildroot-src/git/buildroot-22052012/output/host/usr/--with-libgcrypt-prefix=bin/arm-unknown-linux-uclibcgnueabi-ld) is GNU ld... yes
> checking for shared library run path origin... done
> checking for libgcrypt... no
> configure: error: 
> ***
> *** Libgcrypt v1.4.0 or later was not found. You may want to get it
> from
> *** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
> ***

Try changing the --with-libgcrypt-prefix=<path> option in gnutls.mk into
--without-libgcrypt-prefix:

diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
index ce570d5..5fc69fd 100644
--- a/package/gnutls/gnutls.mk
+++ b/package/gnutls/gnutls.mk
@@ -8,7 +8,7 @@ GNUTLS_VERSION = 2.12.18
 GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.bz2
 GNUTLS_SITE = $(BR2_GNU_MIRROR)/gnutls
 GNUTLS_DEPENDENCIES = host-pkg-config libgcrypt
-GNUTLS_CONF_OPT = --with-libgcrypt --with-libgcrypt-prefix=$(STAGING_DIR)/usr \
+GNUTLS_CONF_OPT = --with-libgcrypt --without-libgcrypt-prefix \
                --without-p11-kit
 GNUTLS_INSTALL_STAGING = YES
 

Regards,
Sven

  parent reply	other threads:[~2012-05-24 13:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-24  0:59 [Buildroot] GNUTLS Nigel Sollars
2012-05-24  9:05 ` Will Newton
2012-05-24  9:28   ` Nigel Sollars
2012-05-24  9:48     ` Will Newton
2012-05-24 13:45       ` Nigel Sollars
2012-05-24 13:54 ` Sven Neumann [this message]
2012-05-25 12:01   ` Nigel Sollars

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1337867696.2404.2.camel@sven \
    --to=s.neumann@raumfeld.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox