LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-31-2009, 04:48 AM   #1
planetplosion
LQ Newbie
 
Registered: Mar 2009
Posts: 9

Rep: Reputation: 0
troubles with GTK (atk install?)


I'm getting this error when I configure gtk:

Package atk was not found in the pkg-config search path.
Perhaps you should add the directory containing `atk.pc'
to the PKG_CONFIG_PATH environment variable
No package 'atk' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

I have the atk source but don't know how to install it. along with pango and cairo as well.

thanks in advance
 
Old 03-31-2009, 06:55 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
Why don't you use your package manager to install GTK+? That will take care of the necessary dependencies for you. If you told us what distro you were using, someone could tell you the exact command to use to install GTK+ using your package manager.
 
Old 03-31-2009, 03:36 PM   #3
planetplosion
LQ Newbie
 
Registered: Mar 2009
Posts: 9

Original Poster
Rep: Reputation: 0
I'm using Ubuntu 8.10.
 
Old 03-31-2009, 06:16 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
If you're using Ubuntu, you're using the GNOME DE. If you're using the GNOME DE, you already have GTK+, and its dependencies, installed. I'm not a *buntu user, but the command would be something along the lines of apt-get install libgtk2.0-0, I think.

Why are you trying to install GTK+ from source? Installing ATK, Pango, and Cairo are straight forward. For ATK
Code:
./configure --prefix=/usr &&
make && su -c 'make install'
For Cairo
Code:
./configure --prefix=/usr &&
make && su -c 'make install'
For Pango
Code:
./configure --prefix=/usr --sysconfdir=/etc &&
make && su -c 'make install'
Then GTK+
Code:
./configure --prefix=/usr --sysconfdir=/etc &&
make && su -c 'make install' && 
su -c 'install -v -m755 -d /usr/share/doc/gtk+-2.16.0/{faq,tutorial}' &&
su -c 'cp -v -R docs/faq/html/* /usr/share/doc/gtk+-2.16.0/faq' &&
su -c 'cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+-2.16.0/tutorial'
 
Old 03-31-2009, 09:37 PM   #5
planetplosion
LQ Newbie
 
Registered: Mar 2009
Posts: 9

Original Poster
Rep: Reputation: 0
That's sort of the problem.. maybe I have the wrong source for atk, but it says the configure file doesn't exist. In the atk source folder it is just a bunch of folders with some additional class.stuff files.. So I didn't see any configure file.
 
Old 03-31-2009, 10:53 PM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
I don't know what version of GTK+ you're trying to build, but here are the URL for the stuff I am using:

http://cairographics.org/releases/cairo-1.8.6.tar.gz
http://ftp.gnome.org/pub/gnome/sourc...1.22.4.tar.bz2
http://ftp.gnome.org/pub/gnome/sourc...1.26.0.tar.bz2
http://ftp.gnome.org/pub/gnome/sourc...2.16.0.tar.bz2

Here are the URL for recommended GTK+ dependencies:

http://www.ijg.org/files/jpegsrc.v6b.tar.gz
http://downloads.sourceforge.net/lib...1.2.35.tar.bz2
http://libtiff.maptools.org/dl/tiff-3.8.2.tar.gz
http://www.ece.uvic.ca/~mdadams/jasp...er-1.900.1.zip

Here is a patch to add animated png (apng) support to libpng (apng is required for Firefox3 in case you plant to use it):

http://svn.cross-lfs.org/svn/repos/p...5-apng-1.patch
 
  


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
glib / gtk / atk / AHH! ryanfx Linux - Newbie 1 10-07-2007 03:51 AM
Freerock uninstall stole GTK looking for up-to-date pango, atk, gtk, glib and xft tgz Oholiab Slackware 8 09-18-2005 12:57 PM
Help!!! How to install GLib, GTK, ATK and Pango, just to get Firefox running. LOL RJARRRPCGP Linux - Newbie 7 11-20-2004 06:42 PM
Gtk+ 2.4.. Atk 1.6 Yatta Linux - Software 2 08-16-2004 10:13 AM
Pb installing glib, atk, pango, gtk giill Linux - Software 8 11-23-2003 02:25 PM


All times are GMT -5. The time now is 08:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration