delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/15/23:50:56

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A0E37F6.10109@cwilson.fastmail.fm>
Date: Fri, 15 May 2009 23:50:14 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: libtool, how should the version be parsed?
References: <guktnn$qt6$1 AT ger DOT gmane DOT org>
In-Reply-To: <guktnn$qt6$1@ger.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

René Berber wrote:
> Hi,
> 
> I was trying to build some package and it complained that libtool 1.4
> was needed... looking at the version:
> 
> $ libtool --version
> libtool (GNU libtool 1.3081 2009-02-17) 2.2.7a
> 
> Is it 1.3081 or 2.2.7a?

It is 2.2.7a.  You can see that from the announcement here:
http://cygwin.com/ml/cygwin-announce/2009-04/msg00003.html
"[1.7] Updated: {libtool/libltdl7}-2.2.7a-12"
                                   ^^^^^^

Also:

$ cygcheck -cd libtool
Package              Version
libtool              2.2.7a-12

> I see at gnu.org that the latest stable is 2.2.6a, so I suppose the one
> in Cygwin (1.7) is the bleeding edge.  Any trick/idea on how to use it
> with packages that expect something sane as version.

This format
   "libtool (GNU libtool 1.3081 2009-02-17) 2.2.7a"
is the GNU standard, as documented here:
http://www.gnu.org/prep/standards/standards.html#g_t_002d_002dversion

> The first line is meant to be easy for a program to parse; the version
> number proper starts after the last space."

Also

> If the program is a subsidiary part of a larger package, mention the
> package name in parentheses, like this:
>
>      emacsserver (GNU Emacs) 19.30
>
> If the package has a version number which is different from this
> program's version number, you can mention the package version number
> just before the close-parenthesis.

So, if you had build stock libtool-2.2.6(a), and ran --version on it,
you would have seen:

    libtool (GNU libtool 1.nnnn 2008-mm-dd) 2.2.6a

So, next time, kindly refrain from accusing my package of insanity.  But
while we're on the subject...libtool-1.4 dates from 27-Nov-2003, more
than 5.5 years ago...

--
Chuck

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019