From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Guix building fails with undefined referrences Date: Thu, 22 May 2014 10:23:39 +0200 Message-ID: <877g5eusqc.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnOI0-0004ib-6S for Guix-devel@gnu.org; Thu, 22 May 2014 04:23:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnOHu-0003bd-GH for Guix-devel@gnu.org; Thu, 22 May 2014 04:23:48 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:34483) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnOHu-0003bM-9P for Guix-devel@gnu.org; Thu, 22 May 2014 04:23:42 -0400 In-Reply-To: (Manolis Ragkousis's message of "Wed, 21 May 2014 22:30:15 +0000") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Manolis Ragkousis Cc: Guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Manolis Ragkousis skribis: > It was created by GNU Guix configure 0.7, which was > generated by GNU Autoconf 2.69. Invocation command line was > > $ ./configure=20 [...] > LIBGCRYPT=3D'libgcrypt' > LIBGCRYPT_CFLAGS=3D'-I/include' > LIBGCRYPT_LIBDIR=3D'' > LIBGCRYPT_LIBS=3D'-L -lgcrypt' > LIBGCRYPT_PREFIX=3D'' Oops, this is a regression introduced in 14af289. Can you confirm that the patch below solves the problem? Thanks! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/configure.ac b/configure.ac index 7b2a0e4..d652117 100644 --- a/configure.ac +++ b/configure.ac @@ -124,7 +124,9 @@ AC_ARG_WITH([libgcrypt-prefix], LIBGCRYPT_LIBDIR="$withval/lib" ;; esac], - [LIBGCRYPT="libgcrypt"]) + [LIBGCRYPT="libgcrypt" + LIBGCRYPT_PREFIX="no" + LIBGCRYPT_LIBDIR="no"]) AC_ARG_WITH([libgcrypt-libdir], [AS_HELP_STRING([--with-libgcrypt-libdir=DIR], @@ -141,6 +143,9 @@ AC_ARG_WITH([libgcrypt-libdir], esac], [if test "x$LIBGCRYPT" = x; then LIBGCRYPT="libgcrypt" + fi + if test "x$LIBGCRYPT_LIBDIR" = x; then + LIBGCRYPT_LIBDIR="no" fi]) dnl Library name suitable for `dynamic-link'. --=-=-=--