【问题标题】:Gstreamer configure not generating MakefileGstreamer配置不生成Makefile
【发布时间】:2016-11-11 04:03:44
【问题描述】:

我需要从源代码编译 Gstreamer,但 configure 脚本没有生成所需的 Makefile,即使配置步骤中似乎没有错误。我查看了 config.logconfigure 的 stdout 输出(我将其重定向到 config.out 文件),但似乎没有指出配置步骤中的任何错误。配置步骤甚至会在完成时打印 configure: error: no

唯一指向可能错误的是 config.log 文件末尾的 configure: exit 1,但我终生无法想象出了什么事。作为参考,我正在使用 32 位 Ubuntu 14.04 运行 VBox 虚拟机。我还用 config.logconfig.out 链接了两个 pastebin。我已经尝试了多个版本的 gstreamer,但我都遇到了同样的问题。

作为观察,从 Ubuntu 包安装 gstreamer 不是一个选项,因为我需要专门编译包。

config.log:http://pastebin.com/pSiLtyev

config.out:http://pastebin.com/g5jRPtpg

【问题讨论】:

    标签: makefile gstreamer configure


    【解决方案1】:

    来自配置日志:

    configure:21634: checking flex version /usr/bin/flex version 2.5.4 >= 2.5.31
    configure:21651: error: no
    

    所以,您安装的 Flex 版本(即 2.5.4)太旧了(脚本需要 2.5.31 或更高版本)。

    我同意编写此配置脚本的人做得很差,因为它在正常输出中根本没有说明这是问题所在。

    【讨论】:

    • 哦,该死的。我第一次检查这一行时,我以为它说 configure:21634: checks flex version /usr/bin/flex version 2.5.4 >= 2.5.3.1。下一行也让我很困惑,因为似乎没有错误。好的,谢谢你的帮助!
    • 另外,根本没有标准。其他缺少的库会给出不同的错误消息。这确实是一份相当糟糕的工作。
    猜你喜欢
    • 2012-08-18
    • 2012-06-28
    • 1970-01-01
    • 1970-01-01
    • 2011-06-14
    • 2013-07-18
    • 2016-01-27
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多