By default the configure script installs the compiled versions in /usr/local . But in order for this version to be found you have to set the PKG_CONFIG_PATH as well: export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig You may also need to define: export LD_LIBRARY_PATH=/usr/local/lib in order for your compiled versions to be picked up. Finally you may have to add the following third variable: export ACLOCAL_FLAGS="-I /usr/local/share/aclocal" though I am not sure this is needed. For glib you don't have a problem since there are no dependencies. But for the subsequent programs you compile your glib isn't found unless you have set the variables above. Hope this helps. Regards, Dov On 6/13/06, Ahmed Farrag <AFARRAG@xxxxxxxxxx> wrote: > > Hi, > > I have RHEL 4 installed on my machine, and I want to update the installed > gtk to version 2.8.1 . However each time I try to start the configure > script, I got a configuration error stating that I have to install glib, > atk, cairo and pango libraries with newer versions than the ones currently > installed (see the attached txt file). I have installed glib2.8, atk1.8, > cairo 1.0.4 and pango 1.9.1 but it seems that the configure script of gtk > can't find them. it finds only the older versions of these libraries. I have > found that the version number of glib, atk, cairo and pango lib is hard > coded in the configure script , and I think this might be the problem. Would > you please advise if there is any workarounds I can make to install gtk. > > > > Thanks in advance > > Best Regards > Ahmed Farrag > Associate Software Engineer > iSeries/Rational NLS Team > Globalization - Cairo Technology Development Center (CTDC) - IBM EGYPT > Branch > Pyramids Heights Office Park, Building C10 > Cairo - Alexandria Desert Road, KM 22. > Giza, Egypt > P.O. Box 166 El-Ahram, Giza ,Egypt > Tel: Direct : (+202) 536 1422 > Ext: 1422 > e-mail: afarrag@xxxxxxxxxx > ------------------------------------------------------------------------------------------------------------------------------------------------------------------ > "Nothing so conclusively proves a man's ability to lead others as what he > does from day to day to lead himself." > > >>Thomas J. Watson > > _______________________________________________ > > gtk-list@xxxxxxxxx > http://mail.gnome.org/mailman/listinfo/gtk-list > > > > _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list