Hello, please, does anyone has experience in porting evince or anything similar of gnome origin? I was able to build it (2 other ports created: itstool and gsettings-desktop-schemas), but when I try to start it, it only says: GLib-GIO-ERROR **: No GSettings schemas are installed on the system Trace/breakpoint trap And when I try: gsettings list-schemas Segmentation fault I am just curious whether anyone can give any clue. Perhaps rebuild glib? Or install another stuff from gnome? Thank you for any kind of hint! JS
Hi Jan, On 11/15/2013 07:51 PM, Jan Šmydke wrote:
[...]
gsettings list-schemas Segmentation fault
It seems that glib has some errors. I tried $ strace gsettings list-schemas and got the segfault. See /usr/local path, maybe a hardcoded value? Anyway it should be investigated in depth to fix the problem. open("/usr/local/share/glib-2.0/schemas/gschemas.compiled", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x8} --- +++ killed by SIGSEGV +++ Segmentation fault Best regards, -- Jose V Beneyto | http://sepen.it.cx/
Jan Šmydke <jan.smydke@jh-inst.cas.cz> wrote:
I am just curious whether anyone can give any clue. Perhaps rebuild glib? Or install another stuff from gnome?
Did you compile schemas after installing gsettings-desktop-schemas? # glib-compile-schemas /usr/share/glib-2.0/schemas/ -- Daniel
To crux@lists.crux.nu <dan@krue.net> wrote:
Jan Šmydke <jan.smydke@jh-inst.cas.cz> wrote:
I am just curious whether anyone can give any clue. Perhaps rebuild glib? Or install another stuff from gnome?
Did you compile schemas after installing gsettings-desktop-schemas?
# glib-compile-schemas /usr/share/glib-2.0/schemas/
Also, gsettings requires a "backing store" or no settings will be saved when the program is closed! I use dconf, which just stores to files -- the simplest and most CRUXish aproach. -- Daniel
Hi, thank you all, it was really sufficient to run 'glib-compile-schemas /usr/share/glib-2.0/schemas/' and the described problem has been solved. I also made use of your dconf port and all seems to work perfect! Jan On Fri, 15 Nov 2013 17:47:54 -0500 Daniel Kruszyna <dan@krue.net> wrote:
To crux@lists.crux.nu <dan@krue.net> wrote:
Jan Šmydke <jan.smydke@jh-inst.cas.cz> wrote:
I am just curious whether anyone can give any clue. Perhaps rebuild glib? Or install another stuff from gnome?
Did you compile schemas after installing gsettings-desktop-schemas?
# glib-compile-schemas /usr/share/glib-2.0/schemas/
Also, gsettings requires a "backing store" or no settings will be saved when the program is closed! I use dconf, which just stores to files -- the simplest and most CRUXish aproach.
-- Daniel
participants (3)
-
Daniel Kruszyna
-
Jan Šmydke
-
Jose V Beneyto