编译protobuf时遇到

+ mkdir -p third_party/googletest/m4
+ autoreconf -f -i -Wall,no-obsolete
configure.ac:30: error: possibly undefined macro: AC_PROG_LIBTOOL
      If 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下的问题

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐