[Glade-devel] Building Glade / error-message "attempting to create schema 'org.gtk.Settings.FileChooser' without a path"



On Thu, 2014-04-03 at 10:07 +0200, Roland Koebler wrote:
Hi,

I'm using Debian Wheezy (which includes Glade 3.12.1), and tried to
compile a newer Glade. And since newer Glade-versions require a newer
GTK+-version, I had to compile atk, cairo, fontconfig, gdk-pixbuf, glib,
harfbuzz, pango, pixman, gtk+, and -- finally -- glade.

But, unfortunately, Glade still does not run, but fails with the
error-message:

(lt-glade:23203): GLib-GIO-ERROR **: attempting to create schema 'org.gtk.Settings.FileChooser' without a 
path
Trace/breakpoint trap

Can you tell me how to solve this?


You need to export this variable

export GSETTINGS_SCHEMA_DIR=$PREFIX/share/glib-2.0/schemas/


I am attaching a small script I use to set the environment, just place
it on your prefix and call $ . path/to/env

hope this helps

greets

JP
-------------- next part --------------
PREFIX="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/
export LD_LIBRARY_PATH=$PREFIX/lib/

export GSETTINGS_SCHEMA_DIR=$PREFIX/share/glib-2.0/schemas/
export PATH=$PREFIX/bin:$PATH




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]