"GLib incorrectly installed"?

Stefan Bruda yellowdog-general@lists.terrasoftsolutions.com
Tue Feb 17 07:39:01 2004


At 13:59 -0000 on 2004-2-17 LEONIDAS JEGOROVAS wrote:
 >
 > I am sorry but I didn't understand what you meant by:
 >
 > > It is also possible that glib-config--installed in
 > >this scenario in /usr/local/bin--is not is your path, so check and fix
 > >this.

The configuration script for ATX (or any other program wanting to use
GLib) calls the program glib-config to obtain data about the library.
When installing from sources, this program gets installed into
/usr/local/bin which is usually in the search path but may not be.  Do
an

    echo $PATH

to find out.

Now that I think of it, /usr/local/bin is probably included in the
path already and your problem is likely to be caused by an older
version of GLib being installed in /usr/lib and having thus priority
over your installation.  Uninstalling it may break down your GNOME
(though you may try it if you feel like it, just have the RPMs handy
for a quick recovery), so try to configure your other programs relying
on GLib like this

    ./configure --with-glib-prefix=/usr/local/bin

or is it just 

    ./configure --with-glib-prefix=/usr/local

I am not sure so try them both.  Of course, append to the above
command line all the other configuration options you had before.

Stefan

-- 
If it was so, it might be; and if it were so, it would be; but as
it isn't, it ain't. That's logic.
    --Lewis Carroll, Through the Looking-Glass