LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   glib-2, pango, and gtk+, what is going going on? (https://www.linuxquestions.org/questions/linux-software-2/glib-2-pango-and-gtk-what-is-going-going-on-665723/)

tethysgods 08-27-2008 05:00 AM

glib-2, pango, and gtk+, what is going going on?
 
Well folks, I hoped not to be asking questions here again for some time,
but here I am again.

To start, I am using Mandriva 2007 spring.

I need to install some stuff that wants the latest (or very near latest)
glib-2 and gtk+-2.

If I set my path variables and install all to /usr/local
install glib-2.17.6 and pango-1.21.4

and try to compile gtk+-2.12.11 I get compile errors such as

/usr/local/lib/libpango-1.0.so undefined reference to g_unichar_get_script

and /libs/libgtk-x/ln2.0.so undefined reference to g_dgettext

and so on.

I guess there is a conflict between the old and new glib or something like that, but if I uninstall glib via tha package manager
"configure your computer" it wants to remove loads of other stuff, enough
to make the package manager unusable for instance.

After a re-install, and doing the same install with

configure --prefix=/use

I don't even get that far


It still seems to think it has its old non-cairo-enabled pango
and refuses to configure gtk+ because of it. Removing pango
through the manager causes the same problems. It insists on removing
loads of dependecies.


So I can't see how to get rid of all the old pango and glib-2 stuff without removing dependencies and breaking the system. Using
--prefix=/usr doesn't resolve the conflict. I have seen similar threads
but they don't seem to resolve the situation for me on Mandriva.

tethysgods 08-27-2008 11:25 AM

Typo in above
 
pango-2.20.5 (I had a developmemtal 1, 2.21. but it doesn't compile.

tethysgods 08-27-2008 01:09 PM

Solved! Down to bad eyesight!
 
No it atk I was reading, not gtk.

It was picking up outdated atk libraries. Download and put atk in
/usr/local, take care add lines (and correct one) to PATH and
PKG_CONFIG_PATH and thats it!

Sorry if this troubled anyone, but it took me three days to realise what I had done! Hopefully I can drop in to answer a question or tooo late this week or next week


All times are GMT -5. The time now is 02:18 PM.