debian系统上,手动编译tmux的时候,执行./autogen.sh出现如下报错:

$ ./autogen.sh 
configure.ac:91: error: possibly undefined macro: AC_SEARCH_LIBS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
autoreconf failed

执行如下命令:

$ sudo apt-get install pkg-config

重新执行./autogen.sh,成功~~

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-19
  • 2022-12-23
  • 2021-08-05
猜你喜欢
  • 2022-02-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-23
  • 2022-12-23
  • 2021-11-30
相关资源
相似解决方案