17
2
I am trying to build a library, and the README instructions are to call configure.ac, then make.
Unfortunately, I am running into an error:
configure.ac:75 :error: possibly undefined macro: AC_PROG_LIBTOOL
If this token is legitimate please use m4_pattern_allow
Now, I know I have libtool installed (I'm running Scientific Linux 6.2 (un-upgraded), and have used yum --downloadonly to get the rpms of automake, autoconf, libtool, and libtool-devel just in case).
They are installed, and libtool currently lives in /usr/share/libtool. However, autoconf can't seem to find it.
All of the google results were of the 'install libtool' kind, which doesn't help me at all. Any help or guidance would be really appreciated. I'm not sure if the issue is that rpm -i screwed up getting libtool on here, or if i need to link the /usr/share/libtool to somewhere else (so which and everything else can find it).
Great tip, more or less fixed this (suuuper-aggravating, persistent) issue for me on a CentOS 7 cluster. If the project ships with an
autogen.sh
you can also modify theexec autoreconf
line to include-I /usr/share/alocal
along with the other options, which is what I actually did. The actual command invoked to generate theconfigure
script is thenautoreconf -v -f -i -I /usr/share/aclocal
. – TheDudeAbides – 2019-08-13T01:30:51.680