c - pidgin 中缺少 gstreamer 和 farsight 依赖项

标签 c linux debian configure pidgin

我正在尝试编译 pidgin并在运行配置脚本时出现以下错误(见下文)。 这是具有 2.6.38-2-686 内核的 D​​ebian 的最新不稳定版本。 我不清楚我缺少什么依赖。 任何帮助表示赞赏。

    checking for GSTREAMER... yes
    checking for gst_registry_fork_set_enabled in -lgstreamer-0.10... yes
    checking for GSTINTERFACES... no
    checking for FARSIGHT... yes
    configure: error: 
    Dependencies for voice/video were not met.
    Install the necessary gstreamer and farsight packages first.
    Or use --disable-vv if you do not need voice/video support.

dpkg --get-selectons

maciej@wladyslawa:~/workbench/pidgin-2.7.11$ dpkg --get-selections  | egrep -i -e gstream -e farsight
gir1.2-gstreamer-0.10               install
gstreamer0.10-alsa              install
gstreamer0.10-buzztard              install
gstreamer0.10-buzztard-doc          install
gstreamer0.10-doc               install
gstreamer0.10-esd               install
gstreamer0.10-ffmpeg                install
gstreamer0.10-ffmpeg-dbg            install
gstreamer0.10-fluendo-mp3           install
gstreamer0.10-gconf             install
gstreamer0.10-gnomevfs              install
gstreamer0.10-gnonlin               install
gstreamer0.10-gnonlin-dbg           install
gstreamer0.10-gnonlin-doc           install
gstreamer0.10-nice              install
gstreamer0.10-packagekit            install
gstreamer0.10-pitfdll               install
gstreamer0.10-plugins-bad           install
gstreamer0.10-plugins-bad-dbg           install
gstreamer0.10-plugins-bad-doc           install
gstreamer0.10-plugins-base          install
gstreamer0.10-plugins-base-apps         install
gstreamer0.10-plugins-base-dbg          install
gstreamer0.10-plugins-base-doc          install
gstreamer0.10-plugins-cutter            install
gstreamer0.10-plugins-good          install
gstreamer0.10-plugins-good-dbg          install
gstreamer0.10-plugins-good-doc          install
gstreamer0.10-plugins-ugly          install
gstreamer0.10-plugins-ugly-dbg          install
gstreamer0.10-plugins-ugly-doc          install
gstreamer0.10-pulseaudio            install
gstreamer0.10-sdl               install
gstreamer0.10-tools             install
gstreamer0.10-x                 install
libgstfarsight0.10-0                install
libgstfarsight0.10-dbg              install
libgstfarsight0.10-dev              install
libgstfarsight0.10-doc              install
libgstreamer-plugins-base0.10-0         install
libgstreamer0.10-0              install
libgstreamer0.10-0-dbg              install
libgstreamer0.10-dev                install
libtelepathy-farsight-dev           install
libtelepathy-farsight0              install
libtelepathy-qt4-farsight0          install

最佳答案

我查看了 pidgin 的 configure.ac 文件,以确切了解它正在寻找什么来确定这些依赖项是否存在。它使用 pkg-config 检查依赖关系,因此很容易确定它正在寻找哪个文件,然后确定哪些包提供了这些文件。您需要安装的软件包(来自 debian unstable)是:

libgstreamer-plugins-base0.10-dev
libgstfarsight0.10-dev

为了解决这个问题,我做了以下工作:

  1. 打开 configure.ac 并搜索 GSTINTERFACES/FARSIGHT(来自错误消息)
  2. 我注意到对 PKG_CHECK_MODULES 的调用,它接受一个参数,该参数对应于/usr/lib/pkgconfig 中的文件名(如果安装了软件包)。对于 gstreamer-interfaces,它是 gstreamer-interfaces-0.10,对于 farsight,它是 farsight2-0.10。
  3. 我去了http://packages.debian.org并搜索包含以这些文件命名的文件的包。出现了这两个包。

关于c - pidgin 中缺少 gstreamer 和 farsight 依赖项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5929589/

相关文章:

c - 这个递归程序有什么问题

linux - 如何更改 Ubuntu 提示符

linux - 指定 Telnet 窗口大小

c - multi-pipe() C 程序中的无限循环

c - 如何通过重定向从文件中读取每一行?

c - 传递结构指针与传递结构

linux - Debian 6 (Squeeze) 上的 Puppet 已过时

linux - Debian Jessie dist 升级失败

linux - 删除安静参数后,Debian Wheezy 不显示启动消息

c - 预期的 ;之前)C 中的标记错误