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

Juan Pablo Ugarte <[email protected]> Sun, 04 May 2014 21:46:27 -0300
Newsgroups gmane.comp.gnome.glade.devel
Message-ID <1399250787.5634.2.camel@Xjuan>
--=-Uv2OqjkyDFdt8ySpJ0fC
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit

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

--=-Uv2OqjkyDFdt8ySpJ0fC
Content-Disposition: attachment; filename="env"
Content-Type: text/plain; name="env"; charset="UTF-8"
Content-Transfer-Encoding: 7bit

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

--=-Uv2OqjkyDFdt8ySpJ0fC
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Glade-devel maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/glade-devel

--=-Uv2OqjkyDFdt8ySpJ0fC--