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 :
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 :
- Open konsole
- type : aclocal <enter>
- type : autoconf <enter>
- 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.