简体   繁体   English

gstreamer -plugin instalstalation中此错误的含义是什么?

[英]What is the meaning of this error in gstreamer -plugin intstallation?

I have built gstreamer & gst-base plug-in from source but while configuring gst-plugins-good-0.10.30 , I am getting error like this 我已经从源代码构建了gstreamer & gst-base plug-in但是在配置gst-plugins-good-0.10.30时,出现了这样的错误

checking for struct ip_mreqn... yes
checking for GLIB... configure: 
configure: error: This package requires GLib >= 2.20 to compile.

What is the meaning of this error and how can I install gst-plugins-good-0.10.30 ? 该错误的含义是什么,我该如何安装gst-plugins-good-0.10.30

This means you need GLib 2.20 or later, obviously. 显然,这意味着您需要GLib 2.20或更高版本。 On a Linux platform, first check whether a recent enough GLib is available in your package manager and install it if it is; 在Linux平台上,首先检查软件包管理器中是否有足够的最新GLib,然后安装(如果有)。 it's probably called libglib or similar. 它可能称为libglib或类似名称。 Don't forget to also install the -devel (Debian, Ubuntu) or -dev (Red Hat, SuSE, CentOS, Fedora) package that comes with it; 不要忘了也安装它随附的-devel (Debian,Ubuntu)或-dev (Red Hat,SuSE,CentOS,Fedora)软件包。 that package contains stuff you need to compile programs against GLib. 该软件包包含您需要针对GLib编译程序的内容。

If the GLib in your system is too old, consider upgrading your Linux, or install GLib from source. 如果系统中的GLib太旧,请考虑升级Linux,或从源代码安装GLib。

The error can mean one of the following things: 该错误可能意味着以下情况之一:
1. You don't have Glib development package ( -devel ) installed ie header files & pkg-config (.pc) file for Glib . 1.你不必Glib开发包( -devel )安装即头文件和pkg配置(.PC)文件Glib You can check this using dpkg or yum or other commands based on your Linux distro. 您可以使用dpkgyum或其他基于Linux发行版的命令进行检查。 2. You have Glib development package installed but the version is not 2.20 or higher. 2.您已经安装了Glib开发包,但是版本不是2.20或更高版本。 To check the version see the output of pkg-config --modversion glib-2.0 要检查版本,请参阅pkg-config --modversion glib-2.0的输出
3. You have Glib development package installed but the pkg-config is not able to find it. 3.您已经安装了Glib开发包,但是pkg-config无法找到它。 You will have to set PKG_CONFIG_PATH environment variable in this case. 在这种情况下,您将必须设置PKG_CONFIG_PATH环境变量。
For the packages needed in case of gstreamer source, there is a REQUIREMENTS file with the list of required packages. 对于使用gstreamer源的情况所需的软件包,存在一个带有所需软件包列表的REQUIREMENTS文件。 Also, configure will throw missing package which are needed. 另外, configure将抛出缺少的软件包。 You will need to install from source or from the repo configure for your distro. 您将需要从源代码或从您的发行版的repo配置安装。
Hope this helps! 希望这可以帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM