编译protobuf时遇到
+ mkdir -p third_party/googletest/m4
+ autoreconf -f -i -Wall,no-obsolete
configure.ac:30: error: possibly undefined macro: AC_PROG_LIBTOOLIf this token and others are legitimate, please use m4_pattern_allow.See the Autoconf documentation.
autoreconf: /home/fanyu.meng/product/autoconf/bin/autoconf failed with exit status: 1
在网上找了一番
都是
sudo apt install libtool
可是我的libtool是正常的
还是翻墙好,找到了答案
export ACLOCAL_PATH=$HOME/install/libtool/share/aclocal:$ACLOCAL_PATH
目测是因为不在root下的问题