Michael Thank you for your help. I'm back up and running again with Danny's patch. Nancy
-----Original Message----- From: Michael Jennings [mailto:[email protected]] Sent: Monday, October 28, 2013 1:25 PM To: slurm-dev Subject: [slurm-dev] Re: m4_esyscmd_s macro On Monday, 28 October 2013, at 12:32:55 (-0700), Nancy Kritkausky wrote: > I am getting the following error when I run ./autogen.sh > > [sulu] (slurm) master> ./autogen.sh > + rm -fr 'autom4te*.cache' > + aclocal -I auxdir > + libtoolize --automake --copy --force autoheader automake > + --add-missing --copy --force-missing > ++ autoconf --force --warnings=no-obsolete > configure.ac:7: error: possibly undefined macro: m4_esyscmd_s > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > + exit 1 > > Can someone help me with this? I know I have add a similar problem before, > but I can't remember how I fixed it. I think I am just missing a package, > but I don't know which one. This is due to an m4 macro having been added which is not portable to older ("stable" or "legacy" depending on your perspective) versions of the GNU autotools. I've just sent a pull request which fixes this for RHEL5/RHEL6 systems. Here's the diff: diff --git a/configure.ac b/configure.ac index f361813..26cc311 100644 --- a/configure.ac +++ b/configure.ac @@ -4,6 +4,12 @@ dnl Prologue dnl +m4_define([m4_chomp_all], +[m4_format([[%.*s]], m4_bregexp(m4_translit([[$1]], [ /], [/ ]), +[/*$]), [$1])]) + +m4_define([m4_esyscmd_s], [m4_chomp_all(m4_esyscmd([$1]))]) + AC_INIT(slurm, m4_esyscmd_s([perl -ne 'print,exit if s/^\s*VERSION:\s*(\S*).*/\1/i' ./META]), [[email protected]], [], [http://slurm.schedmd.com]) AC_PREREQ(2.59) AC_CONFIG_SRCDIR([configure.ac]) HTH, Michael -- Michael Jennings <[email protected]> Senior HPC Systems Engineer High-Performance Computing Services Lawrence Berkeley National Laboratory Bldg 50B-3209E W: 510-495-2687 MS 050B-3209 F: 510-486-8615
