在执行mpich的./autogen.sh最后报错如下:
Makefile.am:6: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:6: The usual way to define 'LIBTOOL' is to add 'LT_INI
Makefile.am:6: to 'configure.ac' and run 'aclocal' and 'autoconf' a
Makefile.am:6: If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:6: its definition is in aclocal's search path.
处理办法:
将 /usr/share/aclocal 覆盖 /usr/local/share/aclocal
cp -rp /usr/share/aclocal/* /usr/local/share/aclocal/*
相关参考: