LinuxQuestions.org
Visit Jeremy's Blog.
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 05-24-2012, 12:20 PM   #1
chris-barry
LQ Newbie
 
Registered: May 2012
Posts: 3

Rep: Reputation: Disabled
gtk+, pango and cairo dependencies


I am trying to build gtk+ 2.24.10 on Linux. Configure runs successfully, but make fails with an undefined reference to pango_cairo_show_glyph_item, which I believe should be in the pangocairo library

pango 1.30.0 compiles, but without cairo support, apparently because it cannot find the package cairo-quartz-font.

cairo 1.12.2 compiles unless I run configure with --enable-quartz-font, in which case configure fails with the error: Quartz font backend feature could not be enabled. This appears to be because configure cannot find CoreGraphics/CoreGraphics.h, or possibly because it can't find ApplicationServices/ApplicationServices.h.

As far as I have been able to discover, these are components of OSX and do not appear to be present in my Linux system.

So:

1. Is it possible to compile gtk+ without having libpangocairo?

2. Is there an alternative font backend that will allow pango to use cairo?

3. Is there a way to get CoreGraphics or ApplicationServices on Linux?

Thanks in anticipation,
Chris.
 
Old 05-24-2012, 05:21 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,393

Rep: Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607
Welcome to LQ.

Why install gtk-2 ? GTK2 is always installed by default.
May be you are just missing the development files ?
Package name can be : gtk2-devel, libgtk2.0-dev etc.
( Different Linux OS's : Different package names.)

Anyway, the "glib atk pango cairo gtk" versions must fit together.
Example with gtk-2.24.4 :
glib-2.28.6
atk-2.0.0
cairo-1.10.2
pango-1.28.4
... At first sight, your choice of versions seems reasonable,
but then again, I have never seen errors like the above.

Which Linux OS are you using ? ?
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html

.
 
Old 02-08-2013, 06:05 AM   #3
shevegen
Member
 
Registered: May 2004
Distribution: Slackware / GoboLinux / LFS / VoidLinux
Posts: 127

Rep: Reputation: 26
I run into the same problem, with newer pango versions too.

It wants a cairo-quartz-font package.

How do I compile this?

I have cairo installed and working.

Am using Linux.

Is this a mac only thing?
 
Old 02-17-2013, 02:18 PM   #4
chris-barry
LQ Newbie
 
Registered: May 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
http://www.linuxquestions.org/questions/linux-software-2/gtk-pango-and-cairo-dependencies-946657/

I apologise for the long delay in responding.

I tend to regard Linux distributions as a convenient way to get started. Once I have a working system I prefer to build as much as possible from source. When I posted the question I was using a fairly old Vector Linux. After a short period of using Arch I am now back to a recent version of Vector. I have just finished compiling GTK-2.24.13 with its various dependencies (Gimp would not build with the installed version.) without serious difficulties.
 
  


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
[SOLVED] Installing pango with cairo support, so pangocairo is available murtuzanaqvi Linux - Software 10 09-01-2010 11:06 AM
Compiling troubles with pango and cairo? Cotobear Slackware 1 03-19-2008 03:49 AM
font problem after gtk, pango and cairo update Lord_Grave Linux - Software 0 06-03-2007 06:21 AM
Error build pango with cairo support tuanphan Linux - Software 1 02-13-2007 05:54 PM
Text unrecognized after Pango and Cairo updated Peronthious Linux - Software 1 09-09-2006 04:42 AM

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

All times are GMT -5. The time now is 09:08 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