从github上下载的代码,运行autogen.sh的时候,上报错误:

$ ./autogen.sh --prefix=/usr
./autogen.sh: 10: ./autogen.sh: autoreconf: not found

  资料搜索,结果是我的ubuntu系统缺少相应的安装包,解决方式如下:

sudo apt-get install autoconf autogen

  上面问题解决后,接下来上报错误:

configure.ac:163: error: possibly undefined macro: AC_PROG_LIBTOOL

原因也是缺少相应安装包,具体解决思路如下所示:

For centos required to install

yum install libtool

and for ubuntu

apt-get install libtool

 

相关文章:

  • 2022-12-23
  • 2022-01-17
  • 2021-08-14
  • 2017-12-19
  • 2022-12-23
  • 2022-12-23
  • 2021-08-13
  • 2022-12-23
猜你喜欢
  • 2022-01-30
  • 2021-08-31
  • 2021-12-03
  • 2021-04-07
  • 2021-11-19
  • 2022-12-23
相关资源
相似解决方案