GNU bug report logs - #19631
Libtoolize doesn't recognise local installations of m4

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: libtool; Reported by: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4Xix@HIDDEN>; dated Mon, 19 Jan 2015 20:25:02 UTC; Maintainer for libtool is bug-libtool@HIDDEN.

Message received at 19631 <at> debbugs.gnu.org:


Received: (at 19631) by debbugs.gnu.org; 19 Jan 2015 23:24:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 19 18:24:24 2015
Received: from localhost ([127.0.0.1]:49923 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YDLgF-0000hh-NT
	for submit <at> debbugs.gnu.org; Mon, 19 Jan 2015 18:24:24 -0500
Received: from sub3.mail.dreamhost.com ([69.163.253.7]:51789
 helo=homiemail-a75.g.dreamhost.com)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <gary@HIDDEN>) id 1YDLgC-0000hX-T4
 for 19631 <at> debbugs.gnu.org; Mon, 19 Jan 2015 18:24:22 -0500
Received: from homiemail-a75.g.dreamhost.com (localhost [127.0.0.1])
 by homiemail-a75.g.dreamhost.com (Postfix) with ESMTP id 055E65EC079;
 Mon, 19 Jan 2015 15:24:20 -0800 (PST)
Received: from [192.168.1.4] (145.241.125.91.dyn.plus.net [91.125.241.145])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: gary@HIDDEN)
 by homiemail-a75.g.dreamhost.com (Postfix) with ESMTPSA id 623325EC05C;
 Mon, 19 Jan 2015 15:24:19 -0800 (PST)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
Subject: Re: bug#19631: Libtoolize doesn't recognise local installations of m4
From: "Gary V. Vaughan" <gary@HIDDEN>
In-Reply-To: <54BD5DA2.3060800@HIDDEN>
Date: Mon, 19 Jan 2015 23:24:16 +0000
Content-Transfer-Encoding: quoted-printable
Message-Id: <B15F03CB-9B5A-4771-9CEC-B9CB0E08638F@HIDDEN>
References: <54BD5DA2.3060800@HIDDEN>
To: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4Xix@HIDDEN>
X-Mailer: Apple Mail (2.1993)
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 19631
Cc: 19631 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

wontfix
close 19631

> On Jan 19, 2015, at 7:40 PM, Riley Baird =
<BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4Xix@HIDDEN> wrote:
>=20
> Hi,
>=20
> If m4 is installed from source into the default location of
> /usr/local/bin/m4, libtoolise cannot find it when run from autogen.sh.
> This problem can be fixed by the command `export =
M4=3D/usr/local/bin/m4`,
> but automatic recognition of this path would be best. I am running
> OpenBSD 5.6.
>=20
> # ./autogen.sh
> creating libtransmission/version.h
> libtoolize:   error: One of these is required:
> libtoolize:                 gm4 gnum4 m4
> libtoolize:   error: Please install GNU M4, or 'export =
M4=3D/path/to/gnu/m4'.
> autoreconf: libtoolize failed with exit status: 1
>=20
> Yours thankfully,

At least with the recent Libtool 2.4.5 release, if you have =
/usr/local/bin
in your command search PATH when your autogen.sh script runs libtoolize, =
it
will find and use /usr/local/bin/m4 automatically if that m4 is =
suitable.

You can also use variations such as (assuming a bourns-like shell):

  M4=3D/path/to/gnu/m4 ./autogen.sh
  PATH=3D$PATH:/path/to/gnu/m4 ./autogen.sh
  env M4=3D/path/to/gnu/m4 ./autogen.sh

HTH,
--=20
Gary V. Vaughan (gary AT gnu DOT org)=




Information forwarded to bug-libtool@HIDDEN:
bug#19631; Package libtool. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Jan 2015 20:24:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 19 15:24:58 2015
Received: from localhost ([127.0.0.1]:49886 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YDIsb-0004kp-NG
	for submit <at> debbugs.gnu.org; Mon, 19 Jan 2015 15:24:58 -0500
Received: from eggs.gnu.org ([208.118.235.92]:50014)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4Xix@HIDDEN>)
 id 1YDIC2-0003ga-QQ
 for submit <at> debbugs.gnu.org; Mon, 19 Jan 2015 14:40:59 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4Xix@HIDDEN>)
 id 1YDIBw-00014p-R7
 for submit <at> debbugs.gnu.org; Mon, 19 Jan 2015 14:40:53 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:34443)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4Xix@HIDDEN>)
 id 1YDIBw-00014l-Oa
 for submit <at> debbugs.gnu.org; Mon, 19 Jan 2015 14:40:52 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51732)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4Xix@HIDDEN>)
 id 1YDIBw-0000Hh-23
 for bug-libtool@HIDDEN; Mon, 19 Jan 2015 14:40:52 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4Xix@HIDDEN>)
 id 1YDIBq-00013c-Sd
 for bug-libtool@HIDDEN; Mon, 19 Jan 2015 14:40:52 -0500
Received: from sub4.mail.dreamhost.com ([69.163.253.135]:39267
 helo=homiemail-a26.g.dreamhost.com)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4Xix@HIDDEN>)
 id 1YDIBq-0000xR-NE
 for bug-libtool@HIDDEN; Mon, 19 Jan 2015 14:40:46 -0500
Received: from homiemail-a26.g.dreamhost.com (localhost [127.0.0.1])
 by homiemail-a26.g.dreamhost.com (Postfix) with ESMTP id C9DD0B8074
 for <bug-libtool@HIDDEN>; Mon, 19 Jan 2015 11:40:23 -0800 (PST)
Received: from [192.168.1.29] (151.moo0102.moo.iprimus.net.au [210.50.9.151])
 (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 (Authenticated sender: orthogonal@HIDDEN)
 by homiemail-a26.g.dreamhost.com (Postfix) with ESMTPSA id 5DCDDB805B
 for <bug-libtool@HIDDEN>; Mon, 19 Jan 2015 11:40:23 -0800 (PST)
Message-ID: <54BD5DA2.3060800@HIDDEN>
Date: Tue, 20 Jan 2015 06:40:18 +1100
From: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4Xix@HIDDEN>
User-Agent: Mozilla/5.0 (X11; Linux i686;
 rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version: 1.0
To: bug-libtool@HIDDEN
Subject: Libtoolize doesn't recognise local installations of m4
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 19 Jan 2015 15:24:57 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

Hi,

If m4 is installed from source into the default location of
/usr/local/bin/m4, libtoolise cannot find it when run from autogen.sh.
This problem can be fixed by the command `export M4=3D/usr/local/bin/m4`,
but automatic recognition of this path would be best. I am running
OpenBSD 5.6.

# ./autogen.sh
creating libtransmission/version.h
libtoolize:   error: One of these is required:
libtoolize:                 gm4 gnum4 m4
libtoolize:   error: Please install GNU M4, or 'export M4=3D/path/to/gnu/=
m4'.
autoreconf: libtoolize failed with exit status: 1

Yours thankfully,

Riley Baird




Acknowledgement sent to Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4Xix@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-libtool@HIDDEN. Full text available.
Report forwarded to bug-libtool@HIDDEN:
bug#19631; Package libtool. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.