From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: libgcrypt Date: Wed, 06 Feb 2013 23:41:04 +0100 Message-ID: <87y5f1awvz.fsf@gnu.org> References: <201302062335.21194.andreas@enge.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3Dg0-0004k7-By for bug-guix@gnu.org; Wed, 06 Feb 2013 17:41:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3Dfy-0001q4-OZ for bug-guix@gnu.org; Wed, 06 Feb 2013 17:41:12 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:24662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3Dfy-0001pq-I7 for bug-guix@gnu.org; Wed, 06 Feb 2013 17:41:10 -0500 In-Reply-To: <201302062335.21194.andreas@enge.fr> (Andreas Enge's message of "Wed, 6 Feb 2013 23:35:21 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Andreas Enge Cc: bug-guix@gnu.org Andreas Enge skribis: > checking whether libgcrypt can be dynamically loaded... no > configure: error: GNU libgcrypt does not appear to be usable; see `--with- > libgcrypt-prefix' and `README'. Just pass --with-libgcrypt-prefix=3D$HOME/.guix-profile/lib. The code corresponding to the check above is simple-minded (it=E2=80=99s in m4/guix.m4). All it does is: guile -c "(dynamic-func \"gcry_md_hash_buffer\" (dynamic-link \"$LIBGCRYP= T\"))" and checks its return code. Passing --with-libgcrypt-prefix allows it to work with non-standard prefixes. Perhaps README should be augmented? Ludo=E2=80=99.