Ace Frehley <[EMAIL PROTECTED]> writes:

> Hi, I am trying to install the PAN usenet news reader and one of its
> requirements is that I update glib and gtk+ to 1.28.
> 
> First I get glib to install correctly but flail when installing gtk+. 
> 
> When upgrading gtk+ and performing the first step by running the
> ./configure script it'll fail stating that it has found an older
> version of the glib.
> 
> It wants me to correct a path in my LD_LIBRARY_PATH variable and or
> edit my /etc/ld.so.conf to reflect my updated glib...
> 
> Not sure what I should add or subtract to correct this problem...
> and need info to correct this... 

What has happened is that the old glib is still installed in the /usr
hierarchy, while your newly compiled glib resides in /usr/local. /usr is
checked by default on your system, while /usr/local is probably not.

There are many ways to fix this. Since you're probably upgrading from
1.2.x anyway I would suggest installing the new glib/gtk+ over the old
ones (Others will no doubt argue this point ...)

If you want to upgrade your system wide glib and gtk then simply add
"--prefix=/usr" to you "configure" line and re-install, e.g.

$ cd glib-1.2.8
$ ./configure --prefix=/usr
$ make && make install
$ cd ../gtk+-1.2.8
$ ./configure --prefix=/usr
$ make && make install

In the past on single user (Read "desktop") systems I've simply placed
the following in my .bashrc:

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export PATH=/usr/local/bin:$PATH

This has the advantage that only you will see the new installation,
other users will continue to use the old version under /usr

Or alternatively check out helix gnome which will upgrade your packages
for you, and provide you with the latest and greatest of many applications

http://www.helixcode.com

Regards
Lee
-- 
| Lee Willis                      Fixed cost Internet access available @
| Application Developer                              http://www.plus.net
| PlusNet Technologies Ltd
+---------------"PlusNet  - The smarter way to Internet"----------------

Reply via email to