您能告诉我如何解决 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
答案1
$ apt-get 安装libgstreamer0.10-dev libgstreamer-插件-base0.10-dev
gstreamer-app-0.10.pc
您可以通过在包装内容中搜索找到packages.ubuntu.com或者使用apt-file search
,或者在 内运行整个配置过程auto-apt run
。
答案2
尝试
apt-get install libgstreamer*
答案3
我已经尝试过'$ 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) 中下载并“make install”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 Libraries 版本是 0.10.18”
答案4
libgstreamer0.10-dev
在 Ubuntu 18/19 中似乎不起作用,但我尝试了 1.0 版本,如下所示:
sudo apt install -y libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
以防有人需要知道