From 895c77c7705f172e8a132baa27daa0bae4ae830f Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 16 Jul 2013 08:57:15 +0200 Subject: Clarify problems with gobject introspection --- docs/manual.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/manual.md b/docs/manual.md index b709f63..0282652 100644 --- a/docs/manual.md +++ b/docs/manual.md @@ -99,6 +99,12 @@ The former tells CMake to install into `/usr` instead of `/usr/local` and the latter that 64 should be appended to any library paths. This is necessary on Linux distributions that expect 64-bit libraries in `/usr[/local]/lib64`. +It is also highly recommended to set the the install prefix to `/usr` when +using the language bindings because GObject introspection will only look for +type libraries in `/usr/lib/girepository-1.0`. If you want to install in another +directory, you can also set the `GI_TYPELIB_PATH` environment variable to the +path were the `Ufo-x.y.typelib` is located. + #### Building this manual -- cgit v1.2.3