LinuxQuestions.org
Review your favorite Linux distribution.
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 08-10-2005, 07:48 AM   #1
gosh
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
atk and glib woes


We are running Redhat 9 still on a machine and are trying to get X working on it.

in our endeavours we have done much compiling of source and stuff and somewhere along the way, things went bad.

ATK seems to have got uninstalled, and I cannot get it to re-install.

apt-get says latest version of atk is installed, but a startx says it is not...

so, trying to rebuild atk, I do a ./configure and I get errors:
Code:
checking for pkg-config... /usr/local/bin/pkg-config
checking for GLIB - version >= 2.5.7...
*** 'pkg-config --modversion glib-2.0' returned 2.6.6, but GLIB (2.2.1)
*** 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
I compiled glib 2.6.6 and all seemed to go well.
I used a plain old
./configure
make
make install

After doing some searching on these boards, I see the same questions being asked of people again and again, so I will try and pre-empt as much as I can... here goes...

Code:
# find / -iname glib-2.0.pc
/home/tmp/glib-2.6.6/glib-2.0.pc
/usr/local/lib/pkgconfig/glib-2.0.pc
/home/tmp is where I did the ./configure, make, make install for glib 2.6.6 so I am not surprised there is a copy there
PKG_CONFIG_PATH and LD_LIBRARY_PATH are unset

Code:
# find / -name pkg-config
/usr/bin/pkg-config
/usr/local/bin/pkg-config
could be a problem ?
a which pkg-config says that the usr/local/bin one is the default one
/usr/bin/pkg-config --modversion glib-2.0 and
/usr/local/bin/pkg-config --modversion glib-2.0
both return with 2.6.6

dunno if it helps but:
Code:
#ll /usr/local/lib
drwxr-xr-x    5 root     root         4096 Mar 10  2004 e100
drwxr-xr-x    5 root     root         4096 Mar 10  2004 e1000
drwxr-xr-x    3 root     root         4096 Aug  9 15:05 glib-2.0
-rwxr-xr-x    1 root     root          813 Aug 10 11:30 libglib-2.0.la
lrwxrwxrwx    1 root     root           22 Aug 10 11:30 libglib-2.0.so -> libglib-2.0.so.0.600.6
lrwxrwxrwx    1 root     root           22 Aug 10 11:30 libglib-2.0.so.0 -> libglib-2.0.so.0.600.6
-rwxr-xr-x    1 root     root      1573199 Aug 10 11:30 libglib-2.0.so.0.600.6
-rwxr-xr-x    1 root     root          866 Aug 10 11:30 libgmodule-2.0.la
lrwxrwxrwx    1 root     root           25 Aug 10 11:30 libgmodule-2.0.so -> libgmodule-2.0.so.0.600.6
lrwxrwxrwx    1 root     root           25 Aug 10 11:30 libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.600.6
-rwxr-xr-x    1 root     root        56686 Aug 10 11:30 libgmodule-2.0.so.0.600.6
-rwxr-xr-x    1 root     root          861 Aug 10 11:30 libgobject-2.0.la
lrwxrwxrwx    1 root     root           25 Aug 10 11:30 libgobject-2.0.so -> libgobject-2.0.so.0.600.6
lrwxrwxrwx    1 root     root           25 Aug 10 11:30 libgobject-2.0.so.0 -> libgobject-2.0.so.0.600.6
-rwxr-xr-x    1 root     root       699082 Aug 10 11:30 libgobject-2.0.so.0.600.6
-rwxr-xr-x    1 root     root          871 Aug 10 11:30 libgthread-2.0.la
lrwxrwxrwx    1 root     root           25 Aug 10 11:30 libgthread-2.0.so -> libgthread-2.0.so.0.600.6
lrwxrwxrwx    1 root     root           25 Aug 10 11:30 libgthread-2.0.so.0 -> libgthread-2.0.so.0.600.6
-rwxr-xr-x    1 root     root        59915 Aug 10 11:30 libgthread-2.0.so.0.600.6
-rwxr-xr-x    1 root     root          939 Aug  9 16:12 libpango-1.0.la
lrwxrwxrwx    1 root     root           23 Aug  9 16:12 libpango-1.0.so -> libpango-1.0.so.0.801.1
lrwxrwxrwx    1 root     root           23 Aug  9 16:12 libpango-1.0.so.0 -> libpango-1.0.so.0.801.1
-rwxr-xr-x    1 root     root      1009567 Aug  9 16:12 libpango-1.0.so.0.801.1
-rw-r--r--    1 root     root          823 Aug  9 16:12 libpangox-1.0.la
lrwxrwxrwx    1 root     root           24 Aug  9 16:12 libpangox-1.0.so -> libpangox-1.0.so.0.801.1
lrwxrwxrwx    1 root     root           24 Aug  9 16:12 libpangox-1.0.so.0 -> libpangox-1.0.so.0.801.1
-rwxr-xr-x    1 root     root       282066 Aug  9 16:12 libpangox-1.0.so.0.801.1
-rwxr-xr-x    1 root     root          813 Aug  9 14:53 librep.la
lrwxrwxrwx    1 root     root           15 Aug  9 14:53 librep.so -> librep.so.9.4.0
lrwxrwxrwx    1 root     root           15 Aug  9 14:53 librep.so.9 -> librep.so.9.4.0
-rwxr-xr-x    1 root     root       946892 Aug  9 14:53 librep.so.9.4.0
drwxr-xr-x    3 root     root         4096 Aug  9 16:12 pango
drwxr-xr-x    2 root     root         4096 Aug 10 11:43 pkgconfig
Any help is much appreciated, thanks in advance !

Last edited by gosh; 08-10-2005 at 07:50 AM.
 
Old 08-10-2005, 09:01 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Re: atk and glib woes

Quote:
Originally posted by gosh
We are running Redhat 9 still on a machine
Why? I mean, I could understand why you might still be using it if it was working fine and was doing what you need then great. But if X isn't working and you're posting such compilcated problems in a forum,,,wouldn't it just be simpler to shoot this old horse and install Fedora Core 4 or something?
 
Old 08-10-2005, 09:31 AM   #3
gosh
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
it is running a (non-medical) system in a hospital
We didn't really want to touch it, but in the end we had to bite the bullet.
There are many reasons we are in the situation we are in, but just suffice to say it would be nice to just get X working on the damned system

Ultimately we plan on moving to RHEL or Fedora but we cannot just scrap and start again just yet, and in the meantime we would like to be able to run some X apps on it.
 
Old 08-10-2005, 11:23 AM   #4
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
The thing is you say that startx complains atk is not installed even though you've installed the latest version. That sounds to me like startx is trying to start Gnome and Gnome is having issues with the version of atk that you've installed. You could set some compiler flags and force pango and the rest to install but I doubt very much that Gnome will work with it. Was it Gnome-2.2 with Red Hat 9? Gnome is up to version 2.10 now. The Gnome stuff on your system will probably want gtk-2.2

This page has some good info on seting things like PKG_CONFIG_PATH and LD_LIBRARY_PATH http://developer.gnome.org/doc/API/2...-building.html
 
  


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 xmms (glib..atk...) nadroj Linux - Newbie 6 04-12-2005 02:41 PM
problem installing GLIB>ATK>Overnet salokas Linux - Software 5 06-16-2004 02:57 AM
atk having problems finding glib plythgam Linux - Software 2 01-24-2004 03:22 PM
ATK for GTK+ installation problems with GLIB Greg21 Linux - Software 5 04-21-2003 07:00 PM
glib and atk chrismiceli Linux - General 2 02-08-2003 01:10 AM

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

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