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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-26-2008, 08:28 AM
|
#1
|
LQ Newbie
Registered: Nov 2008
Posts: 5
Rep:
|
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 08:47 AM.
|
|
|
12-26-2008, 09:16 AM
|
#2
|
Senior Member
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Rep:
|
Quote:
Originally Posted by zampa
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
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
*** 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/ .
|
|
|
12-26-2008, 10:15 AM
|
#3
|
LQ Newbie
Registered: Nov 2008
Posts: 5
Original Poster
Rep:
|
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.
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 10:16 AM.
|
|
|
12-26-2008, 10:20 AM
|
#4
|
LQ Newbie
Registered: Nov 2008
Posts: 5
Original Poster
Rep:
|
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.
|
|
|
12-27-2008, 04:03 PM
|
#5
|
Member
Registered: Jul 2004
Location: Alton, IL
Distribution: Linux Mint; Slackware; Ubuntu; Slax
Posts: 172
Rep:
|
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 
|
|
|
All times are GMT -5. The time now is 04:21 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|