Compilation 编译Fribdi时自动恢复失败

Compilation 编译Fribdi时自动恢复失败,compilation,autoconf,automake,Compilation,Autoconf,Automake,我用来编译的命令是 ./bootstrap 结果是: Usable autoreconf found, running main::scan_file() called too early to check prototype at /usr/local/bin/aclocal line 617. aclocal: couldn't open directory `m4': No such file or directory autoreconf: aclocal failed wi

我用来编译的命令是

./bootstrap
结果是:

Usable autoreconf found, running    
main::scan_file() called too early to check prototype at 
/usr/local/bin/aclocal line 617.
aclocal: couldn't open directory `m4': No such file or directory
autoreconf: aclocal failed with exit status: 1
通过跟踪bootsrap,我发现这些错误是由以下原因引起的:

autoreconf     --force --install
自动恢复版本为:

autoreconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, 
<http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille
autoeconf(GNU Autoconf)2.69
版权所有(C)2012免费软件基金会。
许可证GPLv3+/Autoconf:GNU GPL版本3或更高版本
, 
这是自由软件:您可以自由更改和重新发布它。
在法律允许的范围内,不存在任何担保。
由David J.MacKenzie和Akim Demaille撰写

谁能帮我解决这个问题。

实际错误是由
aclocal
引起的(由
autoreconf
调用)

最新版本的
aclocal
应该能够很好地处理这个问题,因此请检查您的aclocal版本(或者:您是否实际运行了正确的
aclocal
-binary)

或者,您可以简单地在构建目录中创建一个(空)
m4/
目录

可以说,这(确保
m4/
目录的存在)应该由
bootstrap
脚本处理,但是:

  • 已放弃自动工具,转而支持
    介子
    (尽管它仍然支持
    自动工具

  • fribidi
    已经提供了一个非空的
    m4
    目录很久了

  • afaict上一个版本的
    fribidi
    使用了
    autotools
    ,并且缺少
    m4/
    目录,它是
    0.19.7
    (大约于2015-08年发布)


所以:请使用任何库的最新和最好(稳定)版本。如果不能,您应该在问题描述中清楚地说明这一点,并注意您正在尝试编译的版本。

缺少
bootstrap
命令,那么您正在尝试构建哪个版本?此外,失败的是
aclocal
autoreconf
正在调用
aclocal
):那么您的
aclocal
版本是什么?@umläute,您是对的,问题是由aclocal版本引起的,我已经解决了。谢谢