LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-26-2008, 09:28 AM   #1
zampa
LQ Newbie
 
Registered: Nov 2008
Posts: 5

Rep: Reputation: 0
dependency problem installing gtk2


Hi all.
I'm installing GTK+2 from source. (I'm using Slackware 12.1)
First of all i have removed gtk+1 and all it's dependencies
which are atk,pango,cairo,...
Then i installed the latest stable versions of atk,pango,cairo,...
launching ./configure --without-libjasper from where i have estract
GTK i see :

...
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking X11/extensions/XShm.h... yes
checking for Xinerama support on XFree86... yes
checking Pango flags... configure: error:
*** Pango not found. Pango built with Cairo support is required
*** to build GTK+. See http://www.pango.org for Pango information.

It says that it can't find Pango. But i have installed it.
(pls sorry me for my bad english)
Thanks a lot for your precious help.

Last edited by zampa; 12-26-2008 at 09:47 AM.
 
Old 12-26-2008, 10:16 AM   #2
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by zampa View Post
Hi all.
I'm installing GTK+2 from source. (I'm using Slackware 12.1)
First of all i have removed gtk+1 and all it's dependencies
which are atk,pango,cairo,...
gtk1 and gtk2 are different packages. You shouldn't remove gtk 1.

Quote:
Originally Posted by zampa View Post
Then i installed the latest stable versions of atk,pango,cairo,...
Which latest stable? Compiled from source code or the one available on slackware?

Quote:
Originally Posted by zampa View Post
*** Pango not found. Pango built with Cairo support is required
*** to build GTK+. See http://www.pango.org for Pango information.
Check readme for gtk and see which version of pango it needs, make sure you are using right version. Also, as I remember it, gtk requires specific build order: (as I remember it) first compile+install cairo, then pango, then gtk.

Also consider downloading newer gtk packages used in slackware 12.2 - they should work in slackware 12.1, and you won't have to compile them yourself. Packages are available on ftp://ftp.slackware.com/pub/slackwar...2/slackware/l/ .
 
Old 12-26-2008, 11:15 AM   #3
zampa
LQ Newbie
 
Registered: Nov 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Quote:
Originally Posted by zampa View Post
Hi all.
Quote:
I'm installing GTK+2 from source. (I'm using Slackware 12.1)
First of all i have removed gtk+1 and all it's dependencies
which are atk,pango,cairo,...
gtk1 and gtk2 are different packages. You shouldn't remove gtk 1.
Thanks for the clarification !
Quote:
Which latest stable? Compiled from source code or the one available on slackware?
cairo-1.8.6,glib-2.18.3,gnome-common-2.24.0
libtool-2.2.6a,pango-1.22.4,atk-1.24.0. Yes compiled from source.
Quote:
Check readme for gtk and see which version of pango it needs, make sure you are using right version. Also, as I remember it, gtk requires specific build order: (as I remember it) first compile+install cairo, then pango, then gtk.
I have followed the order cairo,pango.
Quote:
Also consider downloading newer gtk packages used in slackware 12.2 - they should work in slackware 12.1, and you won't have to compile them yourself. Packages are available on ftp://ftp.slackware.com/pub/slackwar...2/slackware/l/ .
Well, i don't know if they would work. If while configuring (./configure) it says me that it can't find pango, if i use a non-source package , probably , i will have runtime errors.
(don't know if i'm right ...)

However thanks a lot for the help, i will try to reinstall all from source in correct order , and if it doesnt work i will try too the
slackware way.
Ah, i'll too reinstall gtk 1.
I forgot to tell you guys a thing,i am using checkinstall,
instead of make install. (seeem it works).

Last edited by zampa; 12-26-2008 at 11:16 AM.
 
Old 12-26-2008, 11:20 AM   #4
zampa
LQ Newbie
 
Registered: Nov 2008
Posts: 5

Original Poster
Rep: Reputation: 0
taken from INSTALL of gtk
GTK+ requires the following packages:

- The GLib, Pango, ATK and cairo libraries, available at the same
location as GTK+. GTK+ 2.14.6 requires at least GLib 2.17.6,
Pango 1.20, ATK 1.13.0 and cairo 1.6.0.

- The TIFF, PNG, and JPEG image loading libraries. You most
likely have these installed on your system already. If not
these libraries are available from:

http://www.libtiff.org/
http://www.libpng.org/
http://www.ijg.org/

libtiff must be version 3.6.0 or higher.

I think to have correct versions.
 
Old 12-27-2008, 05:03 PM   #5
geek745
Member
 
Registered: Jul 2004
Location: Alton, IL
Distribution: Linux Mint; Slackware; Ubuntu; Slax
Posts: 172
Blog Entries: 2

Rep: Reputation: 34
might need to update your shared library database: run sudo /sbin/ldconfig to update it; the configure script checks against this listing to verify that the dependencies are present and of current versions; it might not have deleted the old pango entry yet. i just rebuilt my gtk a couple days ago and had the greatest of fun with this dependency hell. if you have a good enough story, there is a wikipedia article called Dependency Hell you might like to see
 
  


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
dependency problem installing superkaramba valemon Linux - Software 1 06-27-2007 08:33 AM
Problem installing atk (glib dependency) grahspin Linux - Software 1 02-03-2006 02:09 AM
Dependency problem installing gnomemeeting: libsoup belga Linux - Software 1 07-28-2004 12:47 PM
Small problem installing GTK2 from source stickfigure Linux - Software 7 11-23-2003 02:28 PM
failed dependency while trying to install gtk2-2.2.2-2.0 kinghari Linux - Newbie 2 10-17-2003 01:46 AM

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

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