Error "automake failed with exit status: 1" Reported When Compiling Jansi
Symptom
An error is reported when compiling Jansi:
1 2 3 4 | [INFO] /usr/share/automake-1.13/am/ltlibrary.am: warning: 'libjansi.la': linking libtool libraries using a non-POSIX [INFO] /usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' [INFO] Makefile.am:20: while processing Libtool library 'libjansi.la' [INFO] autoreconf: automake failed with exit status: 1 |
Key Process and Cause Analysis
None
Conclusion and Solution
Find the configure.ac file in the library directory. Open the file using a text editor and add AM_PROG_AR to the end of the following information:
1 2 3 4 | AC_PROG_CC AC_PROG_INSTALL AC_PROG_LIBTOOL([disable-static]) AM_PROG_AR |
Parent topic: Rectifying Faults