Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-27-2008, 05:00 AM   #1
Registered: May 2004
Posts: 166

Rep: Reputation: 17
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/ undefined reference to g_unichar_get_script

and /libs/libgtk-x/ 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.
Old 08-27-2008, 11:25 AM   #2
Registered: May 2004
Posts: 166

Original Poster
Rep: Reputation: 17
Typo in above

pango-2.20.5 (I had a developmemtal 1, 2.21. but it doesn't compile.
Old 08-27-2008, 01:09 PM   #3
Registered: May 2004
Posts: 166

Original Poster
Rep: Reputation: 17
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading GLib, Pango and GTK Packages PremithiumX Linux - Newbie 4 08-10-2008 11:48 AM
Freerock uninstall stole GTK looking for up-to-date pango, atk, gtk, glib and xft tgz Oholiab Slackware 8 09-18-2005 11:57 AM
updating GLib..or pango...or gtk+ or etc etc nadroj Linux - Software 7 01-16-2005 01:54 AM
Installing gtk,glib, pango af_dave Linux - Software 5 07-28-2004 03:48 AM
Gimp...pango....gtk....glib....uhhhhh....... TheMusicGuy Linux - Software 27 06-23-2004 07:44 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration