融合-GLib-GIO-ERROR **:系统上未安装GSettings模式 [英] meld - GLib-GIO-ERROR**: No GSettings schemas are installed on the system
问题描述
经过近40个小时的努力,我终于安装了meld 3.14.2(在Redhat 6.3服务器的NFS共享上),安装了每个依赖关系,最后似乎成功了.但是一个结局错误需要解决:
I have installed meld 3.14.2, at last (on NFS share in Redhat 6.3 server), after nearly 40 hours of efforts , installing each and every dependency and at last seems to be successful. But one finale error needs to be solved:
(meld:20703): GLib-GIO-ERROR **: No GSettings schemas are installed on the system
Trace/breakpoint trap (core dumped)
此处提供了答案: GLib- GIO-ERROR **:系统上未安装GSettings模式
我以前不知道这些术语.因此,请详细说明该怎么做.
I am not aware of these jargons before. So, please explain in detail what to do.
是否需要设置变量$XDG_DATA_DIR
?如果,为什么,价值应该是什么?
Do I need to set the variable $XDG_DATA_DIR
or not? And if, why and what should be the value?
我发现编译的文件已经在MyApp/share/glib-2.0/schemas
中.
And I can find that the compiled file is already located in MyApp/share/glib-2.0/schemas
.
但是,即使已编译的模式已经存在,我也尝试了以下方法:
However, I have also tried the following, even though the compiled schema is already there:
glib-complile-schemas <PATH_TO_SCHEMAS> --targetdir=MyApp/share/glib-2.0/schemas
但是仍然出现错误.我也通过将变量设置为MyApp
和MyApp/share/glib-2.0/schemas
来尝试了该变量.那也行不通.
But still I am getting the error. I have tried the variable too by setting it to MyApp
and MyApp/share/glib-2.0/schemas
. That too doesn't work.
我也尝试过重新安装gsettings-desktop-config.仍然错误.就我而言,它是3.12版本.
I have also tried reinstalling gsettings-desktop-config. Still error. In my case, it's 3.12 version.
那么,这是怎么回事?请解释.我一直不眠. :(
So, what's going on here?? Please explain. I have been sleepless. :(
谢谢!
另外,为了您的信息,我已经用prefix=<base>/meld/deps
在同一安装目录下安装了所有依赖项GTK +,ATK,CAIRO,PANGO等.
And also for your information, I have installed all the dependencies GTK+,ATK,CAIRO,PANGO etc... under the same installation directory with prefix=<base>/meld/deps
.
示例:
-
合并二进制文件的位置如下:
<base>/meld/bin/
cairo二进制文件的安装如下:<base>/meld/deps/bin/
cairo binaries are installed as follows: <base>/meld/deps/bin/
atk二进制文件的安装如下:<base>/meld/deps/bin/
atk binaries are installed as follows: <base>/meld/deps/bin/
类似地,您可以想到其他依赖项
Similarly, you can think of other dependencies
推荐答案
好吧,我不确定为什么要将其安装到其自己的前缀...但是将GSETTINGS_SCHEMA_DIR
设置为架构目录的完整路径应该可以.
Well I am unsure why you are installing it to its own prefix... but just setting GSETTINGS_SCHEMA_DIR
to the full path to the schema dir should work.
这篇关于融合-GLib-GIO-ERROR **:系统上未安装GSettings模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!