Subject: Re: bug#13342: Errors trying to build Guile 2.0.7

From: [email-masked] (Ludovic Courtès)
Date: Thu, 03 Jan 2013 16:22:24 +0100

Hi!

Peter Teeson <[email-masked]> skribis:

> I get the following 2 errors, (A & B below) trying to build Guile.
>
> (A) I solved this one by installing GNU readline-6.2.
> Prior to that it must have used Apple's deadline which didn't have the rl_get_keymap_name
> function.

Yes, that’s because you were using the Readline “compatibility” layer of
libeditline, which is shipped as part of MacOS.

> You might wish to make a test for that function in configure and maybe make GNU readline a required lib?

There are tests checking for GNU Readline.  The problem is that
libeditline attempts to replicate Readline’s API, but not quite, hence
the problem.  That’s why ‘README’ insists on using GNU Readline.

> bad return from expression `(f-sum -1 2000 -30000 40000000000)': expected 39999971999; got 39999972255
> FAIL: test-ffi

This is a known issue when building Guile with LLVM/Clang:

  http://bugs.gnu.org/10015
  http://bugs.gnu.org/10681

It would be great if you could investigate.

Thanks,
Ludo’.