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 !