我正在尝试编译 pidgin并在运行配置脚本时出现以下错误(见下文)。这是具有 2.6.38-2-686 内核的 Debian 的最新不稳定版本。我不清楚我缺少什么依赖。任何帮助表示赞赏。
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
为了解决这个问题,我做了以下工作:
- 打开 configure.ac 并搜索 GSTINTERFACES/FARSIGHT(来自错误消息)
- 我注意到对 PKG_CHECK_MODULES 的调用,它接受一个参数,该参数对应于/usr/lib/pkgconfig 中的文件名(如果安装了软件包)。对于 gstreamer-interfaces,它是 gstreamer-interfaces-0.10,对于 farsight,它是 farsight2-0.10。
- 我去了http://packages.debian.org并搜索包含以这些文件命名的文件的包。出现了这两个包。
我是一名优秀的程序员,十分优秀!