Jeff Berman posted on Wed, 23 Mar 2011 20:22:36 -0700 as excerpted: > ----- Original Message ---- >> From: Jeff Berman <[email protected]> >> To: [email protected] Sent: Wed, March >> 23, 2011 7:57:00 PM Subject: [Pan-users] Is GTK 3 supported? >> >> Hi everyone, I'm in the process up upgrading to pan 0.134 and thought >> I'd take > >> the opportunity to update all my old dependencies. When I got to GTK, >> I downloaded and compiled the most recent version, which was 3.0.5. >> However, >>Pan >> >> is complaining about it during the configure step: >> >> "checking for GTK+ - version >= 2.16.0... no" >> >> Does this mean that GTK+2 is required and that GTK+3 is not >> supported? > > I think I see the problem but I don't know how to fix it. I uninstalled > GTK+2 by using "sudo make uninstall", but it looks like maybe everything > didn't get cleaned up. For example, /usr/local/include/gtk-2.0 still > exists with some empty subfolders. /usr/local/include/gtk-3.0 is fully > populated, but pan seems to be looking in gtk-2.0 for the gtk.h file. > > Does this make sense to anyone, and, further, any ideas on how to fix > it?
Normally, major version number changes indicate API changes, so pan wouldn't be expected to work (yet, it'll probably ultimately be updated to do so) with gtk-3, no. However, gtk2 and gtk3 should be able to be installed together without interfering with each other so apps using both can be built and installed, and run. But I'm not a dev and while I do run an experimental live-git build of pan from khaley's testing branch, I've not updated since just after 0.134, and I don't recall seeing anything about gtk3 updates in commits previous to my last update, so I don't know what pan's current gtk3 porting status might be or when it might be done. However, I'm almost certain you'd need the live git version in any case, since I don't believe 0.134 supported it yet. Perhaps Petr or KHaley will post with more explicit information. Meanwhile, the normal "modern" installation and version detection method uses pkgconfig, with the package config data stored in *.pc files. Here (gentoo/amd64 no-multilib), my installed gtk-2.22.1 package has the following *.pc files (amd64 so it's lib64 not lib, which is what it'd normally be for ia32 and many other archs): /usr/lib64/pkgconfig /usr/lib64/pkgconfig/gail.pc /usr/lib64/pkgconfig/gdk-2.0.pc /usr/lib64/pkgconfig/gdk-x11-2.0.pc /usr/lib64/pkgconfig/gtk+-2.0.pc /usr/lib64/pkgconfig/gtk+-unix-print-2.0.pc /usr/lib64/pkgconfig/gtk+-x11-2.0.pc -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman _______________________________________________ Pan-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/pan-users
