🔗 bootstrap.sh
bootstrap.sh 脚本运行一系列 autotools 工具来准备 ./configure 和相关的魔术。请参阅 DeveloperResources 以了解此脚本所需的工具。
它并非总能成功。以下是一些错误和解决方案
🔗 常见问题
🔗 可能未定义的宏:AC_LTDL_DLLIB
这有时会发生在基于 Debian 的系统上
问题
configure.in:34 error: possibly undefined macro: AC_LTDL_DLLIB
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
解决方案
- 安装 libltdl3-dev 或 libltdl7-dev
🔗 在 ‘/usr/share/aclocal’ 中找不到 ‘ltdl.m4’
这有时会发生在基于 Debian 的系统上
问题
libtoolize: 'ltdl.m4' not found in '/usr/share/aclocal'
libtoolize failed
Autotool bootstrapping failed. You will need to investigate and correct
before you can develop on this source tree
解决方案
- 安装 libltdl7-dev