What's up, NBR? I haven't been around for a while since college has been busy, but over break I've been messing around with my Mint install some.And this is pretty much a re-post of my question on the GTK forums, but I wanted to see if any NBR friends had ideas.
Ultimately, I'm trying to get Last.fm scrobbling to work with Audacious, so I'm trying to install Audacious 2.4, which needs GTK+ 2.
After installing "the GLib, Pango, GdkPixbuf, ATK and cairo libraries," I finally got it to configure, but when I run 'sudo make', I get this error:
However, here are the applicable sections of the gtkpango.c file located in the source folder (~/Desktop/gtk+-2.22.0/gtk/gtkpango.c), from which I assume it was trying to build library files:
Line 77 (and surrounding):
Line 199 (and surrounding):
So, as far as I can tell, there may be an "implicit declaration of function 'pango_cairo_show_glyph_item'" but I don't know how to fix it, and it sure looks like "PangoRendererClass" DOES have a "member named 'draw_glyph_item'" but again, I don't know how to make it recognize that.
And finally, not only can I not get GTK working, but this same problem is now preventing me from opening terminal shells (I have to drop to the console to do anything, which is annoying). I tried running 'gnome-terminal' in xterm, and got this output error:
Any ideas would be greatly appreciated. I just spent about 8 hours on this ... really bad idea, but I kept thinking the next dependency would be it, and then smooth sailing.![]()
TIA,
-Matthew
-
ALLurGroceries Vegan Vermin Super Moderator
Looks like ur pango lib is trashed. Have you tried rebuilding it?
-
For what it's worth, 'dpkg -p libpango-1.0-0' indicates that I'm using version 1.28.0-ubuntu2, whereas this morning I first tried to install 1.21.5, and when some file within that was giving me fits, switched to 1.21.3, because the changelog indicated the file had been added with 1.21.4 or some such thing.
This is verified by the existence of both of those package files in my Trash. So I don't know if maybe I later upgraded via the repositories and that's how the 1.28.0 thing happened, or if something else is going on.
Now obviously I can't just purge the package and reinstall it (because of the things that depend on it), but should I try upgrading manually to 1.28.3 (the latest)?
Also possibly of interest: dpkg also lists a conflict: pango-libthai.
Thanks so much for reading through that first post. I do appreciate the time and effort. -
ALLurGroceries Vegan Vermin Super Moderator
Usually implicit declarations mean your library is just plain missing. But if you're passing configure it means at least some of it is there...
You can force purge it... dpkg -P --force-depends blah
It might break other stuff, so I'd be super careful with that one.
I'm not sure at all about your libthai conflict.
My main question really tho is, have you tried an earlier version of GTK? I can't build 2.22.0 on Sid, because glib and gtk-pixbuf not being up to speed. I'm not sure which version you'd be able to build from source, or even why you're building GTK from source.
The latest release of Audacious (2.4.0) from their site, as far as I can tell its requirement from autoconf is PC_REQUIRES="gtk+-2.0 >= 2.8.0" -
Thanks again! -
ALLurGroceries Vegan Vermin Super Moderator
Yeah it should help. But why not just install the libgtk2.0-dev package and whatever else? Unless one of the build dependencies throws you into some sort of recursive version conflict, you should install the development packages and then try to build as little as possible by hand. At least that's my lazy take on things. I'd be running Gentoo otherwise...
BTW. Wow, I'm an idiot. It must've been a week since I dist-upgraded because I now have 2.22.0 installed.
Good luck! I'll check back soon. -
Everything seems to be working now.
So here's what I did. I simply manually upgraded to pango-1.28.3, and it fixed my libraries and my terminal problem. So then I was able to install GTK+-2.22.0 like I had been trying to, and subsequently Audacious 2.4.
That was a little tricky, however, since when I tried to 'make install' I was getting an error along the lines of "No rule to make target ../libeggsmclient/libeggsmclient.a which is a necessary dependency."
I saw that it was in the 'audacious' folder, which I figured out was (~/Desktop/audacious-2.4.0/src/audacious) and tracked it down to a few lines in the Makefile:
This was a triumph. Turns out my 8+ hours of working on dependencies and compiling today has taught me something.
But that plus sign did seem rather bizarre. How did it get there, and why wouldn't that cause a problem for everyone? I don't know, but I did download the source file again, and it had the same error in that line.
Now if I could just get the scrobbler plugin to show up... -
Perhaps running a sudo apt-get build-dep on libgtk would have been faster?
-
-
Trouble compiling GTK+ 2.22.0
Discussion in 'Linux Compatibility and Software' started by pixelot, Oct 17, 2010.