IRRToolSet 5.1.2 released , error: possibly undefined macro:

James W. Laferriere babydr at baby-dragons.com
Thu Oct 17 01:59:17 UTC 2019


 	Hello Havard & Nick ,  A short patch to README.md at end .

On Wed, 16 Oct 2019, James W. Laferriere wrote:
> On Wed, 16 Oct 2019, Havard Eidnes wrote:
>>> I'm also seeing this with pkgsrc on NetBSD when trying to update
>>> the package.  This is with autoconf 2.69, which as far as I can
>>> see is the latest version.
>>> 
>>> If I instead of "autoconf -vfi" do "autoconf -v -f -i", I get the
>>> same errors James reported:
>>> 
>>> configure.ac:34: error: possibly undefined macro: AM_INIT_AUTOMAKE
>>>       If this token and others are legitimate, please use 
>>> m4_pattern_allow.
>>>       See the Autoconf documentation.
>>> configure.ac:56: error: possibly undefined macro: AM_PROG_LEX
>>> configure.ac:58: error: possibly undefined macro: AC_PROG_LIBTOOL
>>> *** Error code 1
>>> 
>>> I'm digging further to see what can be done to fix this.
>> 
>> The recipe I found out to be required (after quite a bit of trial
>> and error -- I'm no autoconf expert...):
>> 
>> aclocal
>> autoreconf --install
>> automake --add-missing
>> autoconf -v -i -f
> 	The above recide works for my Slackware based system as well .
> 	Valid runs & compile and usable binaries .
>
>> This is with autoconf 2.69 and automake 1.16.1.
>> 
>> This managed to produce a working seutp and a build which
>> succeeds.
>> 
>> Best regards,
>> 
>> - Håvard
 		Hth ,  JimL


$ diff -u README.md.a README.md.b
--- README.md.a 2019-10-16 17:26:45.578544866 -0800
+++ README.md.b 2019-10-16 17:27:41.177902780 -0800
@@ -39,7 +39,12 @@
  IRRToolSet uses autotools, so installation is as simple as:

  ```sh
-$ autoconf -vfi
+
+$ aclocal
+$ autoreconf --install
+$ automake --add-missing
+$ autoconf -v -i -f
+
  $ ./configure
  $ make
  $ make install


-- 
+---------------------------------------------------------------------+
| James   W.   Laferriere    | System    Techniques | Give me VMS     |
| Network & System Engineer  | 3237     Holden Road |  Give me Linux  |
| jiml at system-techniques.com | Fairbanks, AK. 99709 |   only  on  AXP |
+---------------------------------------------------------------------+


More information about the irrtoolset mailing list