On Thu, 05 Apr 2012 09:24:15 +0100
"Dr.-Ing. Edgar Alwers" <[email protected]> wrote:

> On Wed, 4 Apr 2012 22:25:00 +0100
> Andrew Benton <[email protected]> wrote:
> 
> > Address what? Since the 19th of Feb the Gtk+-3 page has had:
> > NB, you will need to install Gobject Introspection before you install
> > atk-2.4.0, Pango-1.30.0 and gdk-pixbuf-2.26.0.
> > How could it be any clearer?
> 
> It is not mentioned, that atk, pango and gdk-pixbuf have to be compiled also 
> with the directive "--enable-introspection=yes".

That is the default if Gobject-Introspection is installed.

> The pages for these packages do not mention this. The instructions say  
> "Recommended: gobject-introspection-1.32.0 (Required if building GNOME)", but 
> if I got it, introspection seems to be /necessary/ if building gtk+-3 is 
> intended:
> 
> Extract from Grimoire's Bug 26 dated 07/22/2011 ( 
> http://www.sourcemage.org/issues/26 )
> quote
> -------------------------
> When gdk-pixbuf2, pango, or atk is compiled without gobject-introspection one 
> of the following errors is thrown during gtk+3 cast:
> Couldn't find include 'GdkPixbuf-2.0.gir' (search path: ['../gdk', 
> '/opt/kde4/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', 
> '/usr/share/gir-1.0', '/usr/share/gir-1.0'])
> This needs to be solved using appropriate sub depends.
> -------------------------
> unquote
> 
> See above. I went through atk,pango and gdk-pixbuf. As I do not use gnome, I 
> compiled using the instructions of the book. Then I built gtk+-3, with the 
> failure "Couldn't find include 'GdkPixbuf-2.0.gir" and I had to google.
> As I have some experience building BLFS, I would think that the instructions 
> could get some additional explanations. But of course, you are by far more 
> experienced as I do and you may see it better.

If you don't need support for Gobject-Introspection the simple solution
to this error is to configure Gtk+-3 with --disable-introspection. When
we edit the pages of BLFS we don't describe every possible option that
can be passed to configure, we assume that the readers have the
intelligence to run ./.configure --help themselves.

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to