如何在Ubuntu中解决gstreamer依赖性


26

您能告诉我如何解决这些对ubuntu的依赖吗?

checking for GSTREAMER... configure: error: Package requirements (gstreamer-0.10 >= 0.10
                     gstreamer-app-0.10
                     gstreamer-base-0.10
                     gstreamer-pbutils-0.10
                     gstreamer-plugins-base-0.10 >= 0.10.25
                     gstreamer-video-0.10) were not met:

No package 'gstreamer-app-0.10' found
No package 'gstreamer-pbutils-0.10' found
No package 'gstreamer-plugins-base-0.10' found
No package 'gstreamer-video-0.10' found

我试过了:

$ sudo apt-get install *gstreamer-video*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Regex compilation error - Invalid preceding regular expression
$ sudo apt-get install *gstreamer-app*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Regex compilation error - Invalid preceding regular expression
$ sudo apt-get install *gstreamer-base*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Regex compilation error - Invalid preceding regular expression

Answers:


53
$ apt-get install libgstreamer0.10-dev  libgstreamer-plugins-base0.10-dev

您可以通过gstreamer-app-0.10.pcpackages.ubuntu.com上使用或在中搜索包内容来找到apt-file search,或者通过在其中运行整个配置过程来找到auto-apt run


这为我工作在Ubuntu 13.04
freddyb

这对我来说适用于Ubuntu 12.04
SSumner 2013年

这在Ubuntu 13.10上也对我有用,您的答案应标记为正确的答案。
Voitek Zylinski

这在debian上对我有用!:)
neo1691 2014年

2
这在Ubuntu 14.04上为我工作
tkcsam 2014年

1

尝试

apt-get install libgstreamer*

谢谢 。我试过了 但是还是一样的错误。我已经尝试过'$ sudo apt-get install libgstreamer * -dev',但是它不起作用。

也尝试过此方法,但无法安装或找到decklinksrc
YumYumYum 2011年

0

我试过了'$ apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev'

但现在它说:

Requested 'gstreamer-plugins-base-0.10 >= 0.10.25' but version of GStreamer Base Plugins Libraries is 0.10.18
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GSTREAMER_CFLAGS
and GSTREAMER_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

因此,请在/ home / michael / bin(./configure --prefix- / home / michael / bin)中下载并“进行安装” gstreamer。

而我已经设定

$ echo $PKG_CONFIG_PATH
/home/novarra/bin/lib/pkgconfig
$ echo $GSTREAMER_LIBS
/home/scheung/bin/lib/pkconfig

并重新运行./autogen.sh --enable-debug

我设置为获得相同的“请求的'gstreamer-plugins-base-0.10> = 0.10.25',但GStreamer Base Plugins库的版本为0.10.18'”


迈克尔,您需要将您的帐户与您的用户个人资料相关联(请参见meta.stackexchange.com/questions/18232/…)。那么您将重新获得此问题的所有权。
奎克吉at德
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.