【问题标题】:autoreconf: 'configure.ac' or 'configure.in' is requiredautoreconf:需要“configure.ac”或“configure.in”
【发布时间】:2018-11-26 14:13:31
【问题描述】:

我按照说明安装了FB Machine Learning tools.

其中一个库安装说明是

cd ~/libraries
git clone https://github.com/facebook/folly.git
cd folly/folly/
autoreconf -ivf
./configure
cp -R ~/libraries/gtest-1.7/* ./test/gtest-1.7/
make
make check
sudo make install
sudo ldconfig # reload the lib paths after freshly installed folly. fbthrift needs it.

我在autoreconf -ivf有问题,错误是

autoreconf: 'configure.ac' or 'configure.in' is required

但是当我安装 autoreconf 时,我拥有的是最新版本。

autoconf is already the newest version (2.69-9).
0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.

可能出了什么问题?

【问题讨论】:

  • 这与 autoreconf 版本无关,而与您需要原始 configure.ac/in 文件之一有关。他们在场吗?
  • @MatthieuBrucher 所以你的意思是文件configure.acconfigure.in 应该在folly/folly 文件夹中。但我在文件夹中找不到这样的文件。

标签: configure autoreconf


【解决方案1】:

folly 不再使用autotols,而是使用CMake(只有CMakeLists.txt 文件,而不是configure.*)。

步骤见这里:https://github.com/facebook/folly#dependencies

【讨论】:

  • 我正在尝试将它安装在 ubuntu 14;04 上 - 这仍然给我错误...如果您更新您的答案并提供更多说明,我将不胜感激 - 谢谢
【解决方案2】:

错误:autoreconf: 'configure.ac' or 'configure.in' is required

只是不要尝试安装。

在大多数情况下,autoreconf -i 命令会有所帮助,但由于包不合适,它对您不起作用:\

在您的情况下,将足以查看从终端安装到您的操作系统的文档。

【讨论】:

    猜你喜欢
    • 2011-04-16
    • 1970-01-01
    • 1970-01-01
    • 2018-05-16
    • 2012-11-13
    • 2019-01-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多