由于没有安装gobject-introspection 1,我无法配置rhythmbox
以前我建议有人如何在这里升级到Rhythmbox到版本2.99.1。 但是由于没有安装gobject-introspection-1.0,它们无法升级。 我无法帮助他们。
现在,有了一台全新的计算机,我遇到了同样的问题。 这是结果ov ./configure
simon@simon-TS44HR:~/Downloads/rhythmbox-2.99.1$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gobject-introspection... configure: error: gobject-introspection-1.0 is not installed
我尝试用以下方法安装gobject-introspection
simon@simon-TS44HR:~/Downloads/rhythmbox-2.99.1$ sudo apt-get -f install gobject-introspection [sudo] password for simon: Reading package lists... Done Building dependency tree Reading state information... Done gobject-introspection is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
所以我试过了:
simon@simon-TS44HR:~/Downloads/rhythmbox-2.99.1$ sudo apt-get -f install gobject-introspection-1.0 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package gobject-introspection-1.0 E: Couldn't find any package by regex 'gobject-introspection-1.0'
我没有真正掌握正确安装软件,任何帮助将不胜感激。
您需要安装gobject-introspection
开发包(库)才能使./configure
(或pkg-config
)看到它。 这个包是libgirepository1.0-dev 。 但是,在我的机器上,在安装此软件包之后,我一直遇到其他缺少的依赖项的错误,以便编译工作。
满足编译Rhythmbox的所有要求的最简单方法是执行命令:
sudo apt-get build-dep rhythmbox
这将安装编译Rhythmbox所需的一堆库和软件包(在此答案时需要大约76 MB)。
一旦完成,再次执行./configure
并且不应该吐出任何错误。 继续使用sudo make
和sudo make install
。
安装后, rhythmbox
可能无法运行,从终端运行它会给你:
rhythmbox: error while loading shared libraries: librhythmbox-core.so.7: cannot open shared object file: No such file or directory
要解决此问题,请执行:
sudo cp /usr/local/lib/librhythmbox-core.so.7 /usr/lib
来源: [Rhythmbox-devel] 2.99.1安装问题 。
我刚刚尝试了所有这些,并且它有效 。