我正在尝试构建 Rhythmbox 来修复一个错误,但是遇到了问题。
我使用 after 下载了源代码,然后使用参数sudo apt-get source rhythmbox
运行,以防止编译后的二进制文件弄乱我现有的系统。在运行和之后,成功将二进制文件放置在之后,我尝试运行该程序并获得了如下所示的输出。configure
--prefix=/home/notgary/rhythmbox/build
make
make install
/home/notgary/rhythmbox/build/bin/rhythmbox
我对从源代码构建 Linux 程序的经验很少,因此不知道为什么会发生这种情况。有人知道如何启动并运行 Rhythmbox 的编译二进制文件(或存储库中的任何其他应用程序)吗?
(rhythmbox:27863): GLib-GIO-CRITICAL **: Settings schema 'org.gnome.rhythmbox' is not installed
(rhythmbox:27863): GLib-GIO-CRITICAL **: Settings schema 'org.gnome.rhythmbox.rhythmdb' is not installed
(rhythmbox:27863): GLib-GIO-CRITICAL **: Settings schema 'org.gnome.rhythmbox.podcast' is not installed
(rhythmbox:27863): GLib-GIO-CRITICAL **: g_settings_get_key_info: assertion `settings->priv->schema != NULL' failed
(rhythmbox:27863): GLib-GIO-CRITICAL **: Settings schema 'org.gnome.rhythmbox.player' is not installed
(rhythmbox:27863): GLib-GIO-CRITICAL **: Settings schema 'org.gnome.rhythmbox' is not installed
(rhythmbox:27863): GLib-GIO-CRITICAL **: g_settings_get_key_info: assertion `settings->priv->schema != NULL' failed
(rhythmbox:27863): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed
(rhythmbox:27863): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
(rhythmbox:27863): GLib-CRITICAL **: g_variant_get_boolean: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN)' failed
(rhythmbox:27863): GLib-CRITICAL **: g_variant_unref: assertion `value != NULL' failed
(rhythmbox:27863): GLib-GIO-CRITICAL **: g_settings_get_key_info: assertion `settings->priv->schema != NULL' failed
(rhythmbox:27863): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed
(rhythmbox:27863): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
(rhythmbox:27863): GLib-CRITICAL **: g_variant_get_double: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_DOUBLE)' failed
(rhythmbox:27863): GLib-CRITICAL **: g_variant_unref: assertion `value != NULL' failed
(rhythmbox:27863): GLib-GIO-CRITICAL **: g_settings_get_key_info: assertion `settings->priv->schema != NULL' failed
(rhythmbox:27863): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed
(rhythmbox:27863): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
(rhythmbox:27863): GLib-CRITICAL **: g_variant_get_double: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_DOUBLE)' failed
(rhythmbox:27863): GLib-CRITICAL **: g_variant_unref: assertion `value != NULL' failed
(rhythmbox:27863): GLib-GIO-CRITICAL **: g_settings_get_key_info: assertion `settings->priv->schema != NULL' failed
(rhythmbox:27863): GLib-CRITICAL **: g_variant_get_string: assertion `value != NULL' failed
(rhythmbox:27863): GLib-CRITICAL **: g_variant_unref: assertion `value != NULL' failed
(rhythmbox:27863): Rhythmbox-CRITICAL **: rb_play_order_new: assertion `porder_name != NULL' failed
(rhythmbox:27863): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(rhythmbox:27863): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(rhythmbox:27863): Rhythmbox-CRITICAL **: rb_play_order_playing_source_changed: assertion `RB_IS_PLAY_ORDER (porder)' failed
(rhythmbox:27863): GLib-GIO-CRITICAL **: g_settings_get_key_info: assertion `settings->priv->schema != NULL' failed
(rhythmbox:27863): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed
(rhythmbox:27863): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
(rhythmbox:27863): GLib-CRITICAL **: g_variant_get_boolean: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN)' failed
(rhythmbox:27863): GLib-CRITICAL **: g_variant_unref: assertion `value != NULL' failed
(rhythmbox:27863): GLib-GIO-CRITICAL **: g_settings_get_key_info: assertion `settings->priv->schema != NULL' failed
(rhythmbox:27863): GLib-CRITICAL **: g_variant_get_string: assertion `value != NULL' failed
(rhythmbox:27863): GLib-CRITICAL **: g_variant_unref: assertion `value != NULL' failed
Segmentation fault
答案1
您的错误跟踪输出给出了有关此问题的线索:
GLib-GIO-CRITICAL **: Settings schema 'org.gnome.rhythmbox' is not installed
该应用程序正在寻找不存在的 gconf(dconf?)数据库设置。
您可能需要安装 rhythmbox 的存储库版本,或者可能强制重新安装以确保创建架构值。
IE
sudo apt-get install rhythmbox
或者
sudo apt-get --reinstall install rhythmbox
一旦正确设置了 rhythmbox 及其相关模式 - 任何替代版本也应该能够运行。