unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Taylor Venable <taylor@metasyntax.net>
To: "Ludovic Courtès" <ludo@gnu.org>, guile-devel@gnu.org
Subject: Re: GNU Guile 1.9.11 released (beta)
Date: Sat, 12 Jun 2010 17:11:08 -0400	[thread overview]
Message-ID: <AANLkTinu_gUUgk3LQXr4n0IpKcmYIRnjR85OeVvETHH2@mail.gmail.com> (raw)
In-Reply-To: <AANLkTin9Ct60pyggXrPZsNAOcXgdjbOehcs8i7Z27xPl@mail.gmail.com>

On Fri, Jun 11, 2010 at 6:23 PM, Taylor Venable <taylor@metasyntax.net> wrote:
> On Tue, Jun 1, 2010 at 5:57 PM, Ludovic Courtès <ludo@gnu.org> wrote:
>> We are pleased to announce GNU Guile release 1.9.11.  This may be the
>> last pre-release before the 2.0 release.
>
> During the configure process, the script produces errors in the shell:
>
> ./configure: line 20215: test: -lt: unary operator expected
> ./configure: line 20216: test: -eq: unary operator expected
> ./configure: line 20252: test: -lt: unary operator expected
> ./configure: line 20253: test: -eq: unary operator expected
> ./configure: line 20306: test: -lt: unary operator expected
> ./configure: line 20307: test: -eq: unary operator expected
> ./configure: line 20360: test: -lt: unary operator expected
> ./configure: line 20361: test: -eq: unary operator expected
> ./configure: line 20397: test: -lt: unary operator expected
> ./configure: line 20398: test: -eq: unary operator expected
> ./configure: line 20441: test: -lt: unary operator expected
> ./configure: line 20442: test: -eq: unary operator expected
> ./configure: line 20488: test: -lt: unary operator expected
> ./configure: line 20489: test: -eq: unary operator expected

I did a little more research on this today; it happens with the three
most recent versions of libunistring (0.9.2 ; 0.9.2.1 ; 0.9.3), and
the reason it doesn't occur in Guile 1.9.10 is because the configure
script there doesn't use the gnulib libunistring modules (where the
errors appear) to check the installed libunistring version
(specifically, from file m4/libunistring-base.m4[1]).

With some deeper probing (quite ... enlightening ... work - I've never
really examined how configure scripts are written before) I think I've
identified the origin of the problem.  On line 12165, if
HAVE_LIBUNISTRING is yes then the version number is extracted into
major/minor/subminor components.  However, HAVE_LIBUNISTRING isn't set
to yes or no until at the earliest line 15115, and the version itself
isn't extracted from the header file until line 16197 I think, so the
version components are always unset.  The version checking code
assumes that if HAVE_LIBUNISTRING is yes then the version components
have been extracted, but with the ordering in the configure file this
seems impossible: the version components will always be unset and
HAVE_LIBUNISTRING may be either yes or no.  It seems that a fix for
this problem is to move that version extraction code (starting at
12165) down in the file so that it appears after LIBUNISTRING_VERSION
has been set (for example, down near line 16280).  Doing this in the
configure script itself causes success, but I don't really know how
that script is generated, so hopefully this is enough information to
help the developers get the "right" solution.

[1] http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=m4/libunistring-base.m4

Best regards,

-- 
Taylor C. Venable
http://metasyntax.net/



  reply	other threads:[~2010-06-12 21:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-01 21:57 GNU Guile 1.9.11 released (beta) Ludovic Courtès
2010-06-11 22:23 ` Taylor Venable
2010-06-12 21:11   ` Taylor Venable [this message]
     [not found] ` <AANLkTinmydUtHUc3oIWESpWLZh0_EE0kG4lGeK8QRfjY@mail.gmail.com>
2010-06-14  8:10   ` 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://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to=AANLkTinu_gUUgk3LQXr4n0IpKcmYIRnjR85OeVvETHH2@mail.gmail.com \
    --to=taylor@metasyntax.net \
    --cc=guile-devel@gnu.org \
    --cc=ludo@gnu.org \
    /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.
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).