LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Error while compiling GTK+2 (http://www.linuxquestions.org/questions/linux-from-scratch-13/error-while-compiling-gtk-2-a-4175438615/)

Lennie 11-25-2012 05:32 AM

Error while compiling GTK+2
 
I got this error when compiling GTK+-2.24.13:
Code:

Couldn't find include 'Pango-1.0.gir' (search path: ['../gdk', 'gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0'])
make[4]: *** [Gdk-2.0.gir] Error 1
make[4]: Leaving directory `/sources/gtk+-2.24.13/gdk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/sources/gtk+-2.24.13/gdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/sources/gtk+-2.24.13/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/gtk+-2.24.13'
make: *** [all] Error 2

Pango-1.32.2 is installed.
When I installed Pango I got warnings about:
Code:

libtool: relink: warning: `/usr/lib64/libgobject-2.0.la' seems to be moved
libtool: relink: warning: `/usr/lib64/libgmodule-2.0.la' seems to be moved
libtool: relink: warning: `/usr/lib64/libglib-2.0.la' seems to be moved
libtool: relink: warning: `/usr/lib64/libgobject-2.0.la' seems to be moved
libtool: relink: warning: `/usr/lib64/libgmodule-2.0.la' seems to be moved
libtool: relink: warning: `/usr/lib64/libglib-2.0.la' seems to be moved
libtool: relink: warning: `/usr/lib64/libharfbuzz.la' seems to be moved
libtool: relink: warning: `/usr/lib64/libfreetype.la' seems to be moved
libtool: relink: warning: `/usr/lib64/libfontconfig.la' seems to be moved
libtool: relink: warning: `/usr/lib64/libgobject-2.0.la' seems to be moved
libtool: relink: warning: `/usr/lib64/libgmodule-2.0.la' seems to be moved
libtool: relink: warning: `/usr/lib64/libglib-2.0.la' seems to be moved
libtool: install: /usr/bin/install -c .libs/pango-basic-fc.soT /usr/lib/pango/1.8.0/modules/pango-basic-fc.so

But I thought it was because /usr/lib64 is symbolic link to /usr/lib. No other errors.

knudfl 11-25-2012 05:55 AM

Quote:

Couldn't find include 'Pango-1.0.gir' ... ... , '/usr/share/gir-1.0'
Pango-1.32.x is supposed to provide four xml files in /usr/share/
/usr/share/gir-1.0/ Pango-1.0.gir PangoCairo-1.0.gir PangoFT2-1.0.gir PangoXft-1.0.gir

Lennie 11-25-2012 06:08 AM

Some more information. After I finished lfs I have installed everything in the chapter 24. X Window System Environment, including all dependencies. After that I have installed the following packages in this order:
Code:

PCRE-8.31
D-Bus-1.6.8
GLib-2.34.2
desktop-file-utils-0.21
Cairo-1.12.8
ICU-49.1.2
Harfbuzz-0.9.6
Pango-1.32.2
libjpeg-8d
Imlib2-1.4.5
openbox-3.5.0
LibTIFF-4.0.3
Py2cairo-1.10.0
gobject-introspection-1.34.2
PyGObject-2.28.6
ATK-2.6.0
gdk-pixbuf-2.26.5
hicolor-icon-theme-0.12
libusb-1.0.9
Cups-1.6.1
(GTK+-2.24.13 - not yet installed)

Google showed me this, so I think it has something to do with gobject-introspection. I guess the problem might be that I installed Pango before gobject-introspection. I'll reinstall Pango and see if it helps.

I'm a bit confused about in which order to install everything. The chapter in the book is not in dependency-order. So I thought I'll start with Openbox, and after that... I'm planlessly installing what I come to think about at the moment...

Lennie 11-25-2012 06:49 AM

That did the trick, reinstalling Pango after gobject-introspection. It's marked as optional, but I guess that means either install it first, or not at all... (Or maybe the warning was only about missing those features?) Anyway, problem solved.


All times are GMT -5. The time now is 05:35 PM.