【问题标题】:gstreamer config errors Ubuntugstreamer 配置错误 Ubuntu
【发布时间】:2018-09-18 08:18:53
【问题描述】:

我正在尝试构建 gstreamer,但在运行 configure 时出现以下错误:

checking for libv4l-plugin.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GST... no
configure: error: Package requirements (gstreamer-video-1.0 >= 1.4 gstreamer-app-1.0
        gstreamer-allocators-1.0) were not met:
Requested 'gstreamer-video-1.0 >= 1.4' but version of GStreamer Video Library is 1.2.4
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GST_CFLAGS
and GST_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

我已经安装了下面的软件包,因为我已经阅读了其他可以解决问题的线程,但问题仍然存在。

*

正在阅读包裹清单...
完成 构建依赖树
读取状态信息...完成 gstreamer1.0-plugins-ugly 已经是最新版本了。
gstreamer1.0-doc 已经是最新版本了。
gstreamer1.0-plugins-base 已经是最新版本了。
gstreamer1.0-plugins-good 已经是最新版本了。
gstreamer1.0-tools 已经是最新版本。 libgstreamer1.0-0 是
已经是最新版本了。 gstreamer1.0-libav 已经是最新的了
版本。 gstreamer1.0-plugins-bad 已经是最新版本。 0
已升级,0 个新安装,0 个要移除,28 个未升级。

  • 我还安装了 gstreamer1.4 并相应地更改了 PKG_CONFIG_PATH 但没有帮助。

    有人遇到过这个问题吗?

谢谢,

米海塔

【问题讨论】:

    标签: ubuntu-14.04 gstreamer


    【解决方案1】:

    您正在尝试安装 libgstreame0.10-devlibgstreamer-plugins-base0.10-dev 库,这就是导致问题的原因。由于您运行的是 Ubuntu,请尝试以下命令来安装 gstreamer:

    apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools
    

    不要使用 GStreamer 0.10 版本,它目前没有被维护。您应该使用 GStreamer 1.0 版本进行开发活动。

    【讨论】:

    • 我已经安装了 1.0 包但是问题没有解决
    • 尝试删除Gstreamer0.10 包并仅安装GStreamer1.0。我看到您用新的错误消息替换了早期的 GStreamer 0.10 安装命令。这可能会给人一种错误答案的印象。
    • 我确实删除了 gstreamer0.10,只让 gstreamer1.0 但问题是一样的。在您发表第一条评论后,我意识到我没有粘贴实际命令(我已经为 1.0 软件包版本运行了该命令)并编辑了第一篇文章。也许这不是我最好的方式。
    猜你喜欢
    • 2012-12-12
    • 1970-01-01
    • 2018-12-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-10-22
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多