LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 11-25-2012, 05:32 AM   #1
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 374

Rep: Reputation: 85
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.
 
Old 11-25-2012, 05:55 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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
 
Old 11-25-2012, 06:08 AM   #3
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 374

Original Poster
Rep: Reputation: 85
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...
 
Old 11-25-2012, 06:49 AM   #4
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 374

Original Poster
Rep: Reputation: 85
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.
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] GTK 3.4.4 compiling error sungchoiok Linux - Software 4 09-01-2012 09:24 PM
Configure error while compiling gtk+ linuxlover.chaitanya Linux - Software 7 05-06-2008 12:42 PM
compiling error with GTK+ dantelives Linux - Software 1 06-21-2005 08:03 PM
compiling gaim/ gtk error (two versions of gtk) webazoid Linux - Software 0 07-06-2004 06:05 PM
help with error compiling gtk+-2.4.0 Metal Martian Linux - Newbie 3 05-11-2004 09:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration