meld - GLib-GIO-ERROR**: No GSettings schemas are installed on the system

不羁的心 提交于 2019-12-13 01:13:29

问题


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)

There was answer here: GLib-GIO-ERROR**: No GSettings schemas are installed on the system

I am not aware of these jargons before. So, please explain in detail what to do.

Do I need to set the variable $XDG_DATA_DIR or not? And if, why and what should be the value?

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

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.

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. :(

Thanks you!

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.

Example:

  • meld binaries resides as follows: <base>/meld/bin/

  • cairo binaries are installed as follows: <base>/meld/deps/bin/

  • atk binaries are installed as follows: <base>/meld/deps/bin/

Similarly, you can think of other dependencies


回答1:


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.



来源:https://stackoverflow.com/questions/35784566/meld-glib-gio-error-no-gsettings-schemas-are-installed-on-the-system

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!