mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] gnutls: Fix detection of libgcrypt
@ 2012-05-08 17:43 Bernhard Walle
  2012-05-08 18:47 ` Marc Kleine-Budde
  2012-05-08 18:49 ` Marc Kleine-Budde
  0 siblings, 2 replies; 3+ messages in thread
From: Bernhard Walle @ 2012-05-08 17:43 UTC (permalink / raw)
  To: ptxdist

Without the patch the build fails with

configure: error:
***
*** Libgcrypt v1.4.0 or later was not found. You may want to get it from
*** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
***

It tries to link against system libgcrypt which fails because of an
incompatible architecture (x86-64 vs arm). Tested on current Arch Linux.

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
---
 rules/gnutls.make |    1 +
 1 Datei geändert, 1 Zeile hinzugefügt(+)

diff --git a/rules/gnutls.make b/rules/gnutls.make
index 22c2807..6d46013 100644
--- a/rules/gnutls.make
+++ b/rules/gnutls.make
@@ -36,6 +36,7 @@ GNUTLS_CONF_TOOL	:= autoconf
 GNUTLS_CONF_OPT		:= \
 	$(CROSS_AUTOCONF_USR) \
 	--with-libgcrypt \
+	--with-libgcrypt-prefix=$(PTXDIST_SYSROOT_TARGET)/usr \
 	--without-p11-kit \
 	--disable-guile
 
-- 
1.7.10.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] [PATCH] gnutls: Fix detection of libgcrypt
  2012-05-08 17:43 [ptxdist] [PATCH] gnutls: Fix detection of libgcrypt Bernhard Walle
@ 2012-05-08 18:47 ` Marc Kleine-Budde
  2012-05-08 18:49 ` Marc Kleine-Budde
  1 sibling, 0 replies; 3+ messages in thread
From: Marc Kleine-Budde @ 2012-05-08 18:47 UTC (permalink / raw)
  To: ptxdist; +Cc: Bernhard Walle


[-- Attachment #1.1: Type: text/plain, Size: 829 bytes --]

On 05/08/2012 07:43 PM, Bernhard Walle wrote:
> Without the patch the build fails with
> 
> configure: error:
> ***
> *** Libgcrypt v1.4.0 or later was not found. You may want to get it from
> *** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
> ***
> 
> It tries to link against system libgcrypt which fails because of an
> incompatible architecture (x86-64 vs arm). Tested on current Arch Linux.
> 
> Signed-off-by: Bernhard Walle <bernhard@bwalle.de>

this shouldn't hurt.

Can you update to 2.12.19 and see if it still works for you?

Marc
-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] [PATCH] gnutls: Fix detection of libgcrypt
  2012-05-08 17:43 [ptxdist] [PATCH] gnutls: Fix detection of libgcrypt Bernhard Walle
  2012-05-08 18:47 ` Marc Kleine-Budde
@ 2012-05-08 18:49 ` Marc Kleine-Budde
  1 sibling, 0 replies; 3+ messages in thread
From: Marc Kleine-Budde @ 2012-05-08 18:49 UTC (permalink / raw)
  To: ptxdist; +Cc: Bernhard Walle


[-- Attachment #1.1: Type: text/plain, Size: 768 bytes --]

On 05/08/2012 07:43 PM, Bernhard Walle wrote:
> Without the patch the build fails with
> 
> configure: error:
> ***
> *** Libgcrypt v1.4.0 or later was not found. You may want to get it from
> *** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
> ***
> 
> It tries to link against system libgcrypt which fails because of an
> incompatible architecture (x86-64 vs arm). Tested on current Arch Linux.
> 
> Signed-off-by: Bernhard Walle <bernhard@bwalle.de>

Tnx, pushed to master

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-08 18:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-08 17:43 [ptxdist] [PATCH] gnutls: Fix detection of libgcrypt Bernhard Walle
2012-05-08 18:47 ` Marc Kleine-Budde
2012-05-08 18:49 ` Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox