[slurm-users] autoreconf fails because of undefined macros (creating a new plugin)
Janne Blomqvist
janne.blomqvist at aalto.fi
Fri Jan 10 08:47:34 UTC 2020
On 09/01/2020 18.40, Dean Schulze wrote:
> Following the docs for adding a new plugin, I ran the autoreconf command
> from the top directory. It fails with this error:
>
> $ autoreconf
> configure.ac:240 <http://configure.ac:240>: warning: macro
> 'AM_PATH_GLIB_2_0' not found in library
> configure.ac:246 <http://configure.ac:246>: warning: macro
> 'AM_PATH_GTK_2_0' not found in library
> configure.ac:240 <http://configure.ac:240>: error: possibly undefined
> macro: AM_PATH_GLIB_2_0
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> configure.ac:246 <http://configure.ac:246>: error: possibly undefined
> macro: AM_PATH_GTK_2_0
> autoreconf: /usr/bin/autoconf failed with exit status: 1
>
>
> What do I need to do now?
>
> Thanks.
Hi,
you need the GTK and GLIB development packages installed (which contain
the autoconf macros mentioned in your error message).
--
Janne Blomqvist
More information about the slurm-users
mailing list