Cross-Compilation

libtool 已安裝但 buildconf 未找到

  • September 26, 2019

我正在嘗試為 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).

/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

引用自:https://unix.stackexchange.com/questions/543727