我正在尝试为 ARM 交叉编译 Apache httpd。这是我所做的:
$ sudo apt install libtool
$ git clone https://github.com/apache/httpd.git
$ cd httpd
$ svn co http://svn.apache.org/repos/asf/apr/apr/trunk srclib/apr
$ ./buildconf
输出是:
found apr source: srclib/apr
rebuilding srclib/apr/configure
buildconf: checking installation...
buildconf: python version 3.5.6 (ok)
buildconf: autoconf version 2.69 (ok)
buildconf: libtool not found.
You need libtool version 1.4 or newer installed
to build APR from SVN.
./buildconf failed for apr
但libtool
已安装:
$ sudo apt install libtool
Reading package lists... Done
Building dependency tree
Reading state information... Done
libtool is already the newest version (2.4.6-0.1).
答案1
/usr/bin/libtool
由包装提供libtool-bin
→ 文件搜索:https://packages.debian.org/search?suite=default§ion=all&arch=any&searchon=contents&keywords=usr%2Fbin%2Flibtool
包搜索:https://packages.ubuntu.com/search?keywords=libtool-bin&searchon=names
$ sudo apt install libtool-bin