Error : possibly undefined macro: AM_INIT_AUTOMAKE

I am download a open source code from the internet. This code dont have “configure” file, so we must create “configure” file before try to compile this code. This code have “configure.ac” file. So, we can use “autoconf” command to create “configure” file. When I call “autoconf” command, I get the error message like this :

Error : possibly undefined macro: AM_INIT_AUTOMAKE

We can remove this error message with call “aclocal” command before “autoconf“. So, the steps how to solve Error : possibly undefined macro: AM_INIT_AUTOMAKE is like this :

  1. Open konsole
  2. type : aclocal <enter>
  3. type : autoconf <enter>
  4. We will get “configure file. Build the program with “./configure” command.

This is the steps hot to solve Error : possibly undefined macro: AM_INIT_AUTOMAKE and create “configure” file.

Add a Comment

Your email address will not be published. Required fields are marked *