LinuxQuestions.org
Help answer threads with 0 replies.
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 02-04-2007, 02:13 AM   #1
suicideguy
Member
 
Registered: Nov 2006
Posts: 32

Rep: Reputation: 15
Trouble installing GTK on Kubuntu


I'm running Kubuntu 6.10 and am trying to install Gaim, but to do that I have to have GTK installed. To install GTK, I need to install GLIB, Pango, ATK, and Cairo. Well for some reason ATK keeps saying that GLIB is not up to date, despite me just downloading the latest release from the GTK website.

----------------------------

checking for GLIB - version >= 2.5.7...
*** 'pkg-config --modversion glib-2.0' returned 2.12.9, but GLIB (2.12.4)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLIB 2.5.7 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed
*** but not in the same location as pkg-config add the location of the file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.

---------------------------

There is the error it is giving me when I ./configure for ATK after installing the latest GLIB and it won't create a makefile. I really don't know what to do so I'm stuck for now. Any ideas?
 
Old 02-04-2007, 02:57 AM   #2
AngryLlama
Member
 
Registered: Sep 2004
Location: /dev/urandom
Distribution: Gentoo
Posts: 171

Rep: Reputation: 30
First, make sure your package manager is synchronized to the repository. Second, I would reinstall GLIB.
 
Old 02-04-2007, 12:12 PM   #3
suicideguy
Member
 
Registered: Nov 2006
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by AngryLlama
First, make sure your package manager is synchronized to the repository. Second, I would reinstall GLIB.
I've tried reinstalling GLIB to no avail.

How would I go about synchronising my package manager to the repository?
 
Old 02-04-2007, 12:34 PM   #4
sumguy231
Member
 
Registered: Apr 2004
Location: North America
Distribution: Kubuntu 7.04 - Feisty Fawn
Posts: 296

Rep: Reputation: 30
You're doing it the hard way. Just go to a terminal and type:
Quote:
sudo apt-get update
sudo apt-get install gaim
Gtk will be installed automatically as a dependency of Gaim (along with the other Gnome-related dependencies) and you won't have to compile anything.

This should be fine for you unless you want to install a brand new or SVN release.

Last edited by sumguy231; 02-04-2007 at 12:37 PM.
 
Old 02-04-2007, 01:25 PM   #5
suicideguy
Member
 
Registered: Nov 2006
Posts: 32

Original Poster
Rep: Reputation: 15
I want to install beta6 but the latest I can get from sudo apt-get is beta3.1

And I guess the dependencies must have changed or something because beta3.1 works fine but I can't get beta6 to install.
 
Old 02-04-2007, 02:08 PM   #6
sumguy231
Member
 
Registered: Apr 2004
Location: North America
Distribution: Kubuntu 7.04 - Feisty Fawn
Posts: 296

Rep: Reputation: 30
Oh, sorry. Proceed then. As it says, there's a newer version of Glib available at the Gtk ftp servers, but I can't guarantee that installing it will work or even not break things.
 
Old 02-04-2007, 04:19 PM   #7
suicideguy
Member
 
Registered: Nov 2006
Posts: 32

Original Poster
Rep: Reputation: 15
I've tried installing it a few times with no luck. GTK must hate my computer.
 
Old 02-05-2007, 01:57 PM   #8
suicideguy
Member
 
Registered: Nov 2006
Posts: 32

Original Poster
Rep: Reputation: 15
Does anyone else have any ideas?
 
Old 02-05-2007, 05:28 PM   #9
sumguy231
Member
 
Registered: Apr 2004
Location: North America
Distribution: Kubuntu 7.04 - Feisty Fawn
Posts: 296

Rep: Reputation: 30
There's a beta6 package for Kubuntu edgy somewhere, since the one available in one of my repositories is 1:2.0.0+beta6-0ubuntu4. I don't know which repository, though. Does anyone know how to get that info? (aptitude show doesn't help much.)
 
Old 02-06-2007, 08:16 AM   #10
biniou
Member
 
Registered: Feb 2007
Location: Belgium
Distribution: Ubuntu (7.04), (B)LFS (6.2), ...
Posts: 105

Rep: Reputation: 15
And did you run ldconfig with a ld.so.conf up-to-date (as requested in the error message) just after installing glib ?
 
Old 02-06-2007, 02:37 PM   #11
suicideguy
Member
 
Registered: Nov 2006
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by biniou
And did you run ldconfig with a ld.so.conf up-to-date (as requested in the error message) just after installing glib ?
I don't really know what that means.
 
Old 02-07-2007, 01:51 AM   #12
biniou
Member
 
Registered: Feb 2007
Location: Belgium
Distribution: Ubuntu (7.04), (B)LFS (6.2), ...
Posts: 105

Rep: Reputation: 15
if you installed glib on a standard location (that should be the case if you didn't pass any argument looking like --prefix=/XXX/ anywhere), the path it is installed is in ld.so.conf (a file giving pathes to shared libraries to be used for linking by ld (the linker for gcc).

If you run ldconfig (as root), it refreshes the library cache, so it is sure to use the latest version available of the library

Hope this helps
 
Old 02-07-2007, 08:26 PM   #13
suicideguy
Member
 
Registered: Nov 2006
Posts: 32

Original Poster
Rep: Reputation: 15
I just did 'sudo ldconfig' and nothing happened.
 
Old 02-08-2007, 03:19 AM   #14
biniou
Member
 
Registered: Feb 2007
Location: Belgium
Distribution: Ubuntu (7.04), (B)LFS (6.2), ...
Posts: 105

Rep: Reputation: 15
ldconfig doesn't output anything to the console : it just refreshes the cache ... After the ldconfig, you might want to try running ./configure again and see if that was the problem (and post back here for further advice if it was not the case)
 
Old 02-08-2007, 06:34 PM   #15
suicideguy
Member
 
Registered: Nov 2006
Posts: 32

Original Poster
Rep: Reputation: 15
I'm still getting the same error.
 
  


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
installing GTK, tough fontconfig trouble jagerhans Linux - Software 3 04-06-2006 08:59 AM
Having trouble installing kubuntu on an old Gateway. pxumsgdxpcvjm Linux - Software 2 04-05-2006 08:19 AM
Trouble Installing GTK The Oate Mandriva 22 08-25-2004 08:47 AM
trouble installing GTK themes TrippyChik Linux - Newbie 1 03-30-2004 06:43 PM
Trouble installing BitchX --with-gtk n3tw0rk Linux - Software 2 01-19-2004 05:03 AM


All times are GMT -5. The time now is 11:17 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration