unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Manolis Ragkousis <manolis837@gmail.com>
Cc: Guix-devel@gnu.org
Subject: Re: Guix building fails with undefined referrences
Date: Thu, 22 May 2014 10:23:39 +0200	[thread overview]
Message-ID: <877g5eusqc.fsf@gnu.org> (raw)
In-Reply-To: <CAFtzXzP3cVA+qa5Kgj_i_Zsfw7HLv+YFubA_5dHfppxrWuO9tA@mail.gmail.com> (Manolis Ragkousis's message of "Wed, 21 May 2014 22:30:15 +0000")

[-- Attachment #1: Type: text/plain, Size: 480 bytes --]

Manolis Ragkousis <manolis837@gmail.com> skribis:

> It was created by GNU Guix configure 0.7, which was
> generated by GNU Autoconf 2.69.  Invocation command line was
>
>   $ ./configure 

[...]

> LIBGCRYPT='libgcrypt'
> LIBGCRYPT_CFLAGS='-I/include'
> LIBGCRYPT_LIBDIR=''
> LIBGCRYPT_LIBS='-L -lgcrypt'
> LIBGCRYPT_PREFIX=''

Oops, this is a regression introduced in 14af289.

Can you confirm that the patch below solves the problem?

Thanks!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 679 bytes --]

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'.

  reply	other threads:[~2014-05-22  8:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-21 22:30 Guix building fails with undefined referrences Manolis Ragkousis
2014-05-22  8:23 ` Ludovic Courtès [this message]
2014-05-22  8:31   ` Manolis Ragkousis
2014-05-22  8:46     ` Ludovic Courtès

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=877g5eusqc.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=Guix-devel@gnu.org \
    --cc=manolis837@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).