LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-26-2006, 10:40 AM   #1
LeonardTeo
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Rep: Reputation: 0
Question Installing gtk+ 2.10.2 pango problems


Hi all,

I'm trying to install gtk+ 2.10.2 on my Linux box (RedHat Enterprise 4).

As far as I can tell, I've installed all the dependencies required, including Pango and Cairo (installed in the order of Cairo then Pango, everything looks ok there). This is the error I'm getting when I run "./configure --prefix=/usr" :

Code:
checking Pango flags... -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12   -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lfontconfig -lpng12 -lz -lm
configure: error:
*** Can't link to Pango. Pango is required to build
When I run "pkg-config --cflags pango", here's the output:

Code:
[root@server1 gtk+-2.10.2]# pkg-config --cflags pango
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
As far as I'm concerned, Pango is installed. That directory "/usr/include/pango-1.0" does exist.


I managed to get the above to configure (but the "make" fails) by doing the following:
"export PKG_CONFIG_PATH=<my_pango_dir>:$PKG_CONFIG_PATH" (where <my_pango_dir> is the directory where pango lives).
WHen I do this, the ./configure actually works, the build fails. The error message is that it cannot find pango/pango.h.

Any ideas?

Leonard
 
Old 08-26-2006, 10:56 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,871

Rep: Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872
Quote:
where <my_pango_dir> is the directory where pango lives
<my_pango_dir> should be the directory where pango.pc lives. In your case it's /usr/lib/pkgconfig.

Regards
 
Old 08-26-2006, 05:35 PM   #3
LeonardTeo
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bathory
<my_pango_dir> should be the directory where pango.pc lives. In your case it's /usr/lib/pkgconfig.

Regards
Thanks but that's already set correctly. pango.pc lives in /usr/lib/pkgconfig and even when this is explicitly set in export PKG_CONFIG_PATH=/usr/lib/pkgconfig, the ./configure fails with a "Can't link to Pango".

Problem still not solved...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Pango not found while installing gtk+-2.8.7 lj4 Linux - Software 7 06-04-2008 12:39 AM
Problems with Gtk and Pango elvalith Linux - Software 7 08-04-2005 05:12 AM
Installing GFTP...and gtk, atk, pango... hongman Linux - Software 19 02-20-2005 03:02 PM
Installing gtk,glib, pango af_dave Linux - Software 5 07-28-2004 03:48 AM
Gtk+ and Pango problems rundjuling Linux - Software 8 05-17-2004 01:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:53 PM.

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