Ubuntu编译Protobuf(Base tensorflow-12)报错

时间:2022-06-28 12:58:04

报错1:

dogepool@ubuntu-server:~/dogecoin$ ./autogen.sh
./autogen.sh: 50: ./autogen.sh: autoreconf: not found

参考: https://github.com/dogecoin/dogecoin/issues/529

sudo apt-get install autoconf

报错2:

configure.ac:30: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.ac: :error: possibly undefined macro: AC_PROG_LIBTOOL
If this token is legitimate please use m4_pattern_allow

参考 https://superuser.com/questions/565988/autoconf-libtool-and-an-undefined-ac-prog-libtool

in ubuntu:

sudo apt-get install libtool