checking sys/shm.h presence... yes checking for sys/shm.h... yes checking X11/extensions/XShm.h... yes checking Pango flags... -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wl,--export-dynamic -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 checking for pango_context_new in -lpango-1.0... no configure: error: *** Can't link to Pango. Pango is required to build *** GTK+. For more information see http://www.pango.org !!! ERROR: x11-libs/gtk+-2.0.9 failed. !!! Function econf, Line 277, Exitcode 1 !!! econf failed emerge -s pango gives me: * x11-libs/pango Latest version available: 1.0.5 Latest version installed: 1.0.5 important note, i downgraded from ACCEPT_KEYWORDS="~x86" .. (now this line in make.conf is comented)
*** Bug 12222 has been marked as a duplicate of this bug. ***
You can't downgrade that easily, for now keep using ~gnome (gnome-2.0.3-r1). This is not a bug really, merely an incalculated inconvenience which will shortly marked stable.
Okay, someone said to me that the "pango" problems I was heaving.. with gtk+, gkrellm2, and also mozilla proved to be affected.. crashing constantly.. in mail, web pages..really everywhere.. (did strace mozilla to see where it was crashing.. and it had something to do with some pango libs) the pango problems seemed to be related to the install of xft2 while I was following the "~x86" branch.. I unmerged xft2, remerged pango, and after that gtk+ and gkrellm compiled fine! so.. i'm not really having any more problems with this.. but you might be interested to know that pango and xft might cause problems a litle bit in every gtk app.
if you unmerge xft2 and re-emerged pango-1.0.5 you basicly don't use xft at all anymore. Anyway, we're gonna move on to use xft2, so you better help us help you solve your problems cause you're gonna run into them again. I haven't seen one serious problem with xft2 so far and i doubt yours is if you do it right.
I have the ACCEPT_KEYWORDS = ~x86 line in my /etc/make.conf file and I am seeing the same error: checking Pango flags... -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wl,--export-dynamic -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 checking for pango_context_new in -lpango-1.0... no configure: error: *** Can't link to Pango. Pango is required to build *** GTK+. For more information see http://www.pango.org !!! ERROR: x11-libs/gtk+-2.1.2 failed. !!! Function econf, Line 11, Exitcode 1 !!! econf failed
you have emerged xft-2* -> pango-1.1* -> gtk-2.1* ?
hi, okay.. i wanna fix this the proper way.. cause mozilla without xft really is ugly. i'm now following the "stable" branch, in wich the available versions are: * x11-libs/xft [ Masked ] Latest version available: 2.0.1 Latest version installed: [ Not Installed ] * x11-libs/pango Latest version available: 1.0.5 Latest version installed: 1.0.5 * x11-libs/gtk+-2.0.9 now.. what to you sugest that I do to set this right.. I might be missing something since when I was in "stable" before moving to the "devel(~x86)" branch mozilla wasn't like this.. since what foser said makes sense.. I wanna help you helping me.. to put xft2 + pango working okay here! Miguel.
For gnome it is best to keep using the testing branch atm if you have installed xft/gnome2.1 packs before -> gnome-2.0.3-r1 and it's deps .
I did a gnome instalation using the "~x86" branch.. all fine but: I have a small problem.. some themes look alike, all with window decorations white, black fonts and no "relev
I did a gnome instalation using the "~x86" branch.. all fine but: I have a small problem.. some themes look alike, all with window decorations white, black fonts and no "relevé" (3d feel). What can this be? and.. where should I post the instabily problems with mozilla? they're back.. sometimes it crashes..
First off, sorry for hijacking this bug, I didn't notice the version numbers. Should I open a new one for gtk+-2.1.2 ? > you have emerged xft-2* -> pango-1.1* -> gtk-2.1* ? Yup: root # emerge -p xft pango gtk+ These are the packages that I would merge, in order. Calculating dependencies ...done! [ebuild R ] x11-libs/xft-2.0.1 [ebuild R ] x11-libs/pango-1.1.3 [ebuild U ] x11-libs/gtk+-2.1.2 [2.0.9-r0] Here's emerge info: root # emerge info Portage 2.0.45-r5 (default-1.0, gcc-2.95.3, glibc-2.2.5-r7) ================================================================= System uname: 2.4.20-ac2 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz USE="x86 oss 3dnow apm avi crypt cups encode jpeg kde libg++ mikmod mmx mpeg ncurses pdflib qtmt quicktime spell truetype xml2 xmms xv alsa berkdb bonobo cdr esd gdbm ggi gif gnome gnome-libs gpm gtk gtkhtml guile imlib java libwww motif mozilla mysql nls oggvorbis opengl pam perl png python qt readline sdl slang ssl svga tcltk tcpd tiff X -arts" ARCH="x86" COMPILER="" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe" CXXFLAGS="-march=i686 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j2" JDK_HOME="/opt/blackdown-jdk-1.3.1" JAVA_HOME="/opt/blackdown-jdk-1.3.1" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" I haven't been paying attention to my gnome stuff lately, since I switched over to waimea. Could it be a gnome ebuild upgrade/downgrade that's causing the trouble somehow?
Downgrading from xft-2.0.1 to xft-2.0-r1 solved this problem for me.
carlos : Isn't it just the re-emerge of xft-2 that solves it ? This is important to us, to know about possible problems that 2.0.1 gives and 2.0 doesnt. m3thos : try reemerging your gtk theme engines.
Just remerging xft did not solve my problems. gtk+ would still complain about pango_context_new. Downgrading did get gtk+ to build, along with other gtk-ish things. However, I'm now getting X errors "BadLength (poly request to large or internal Xlib error)" whenever I try to run anything that was linked against the new gtk... freecell for example (more severely, gdm), so I'm not sure I'd still say that downgrading xft actually solved the problem, maybe it just moved it.
additional info: I unmasked xft-2.0.1 and emerged it, and now instead of those "BadLength" errors, I am getting the following (using freecell as an example of a gtk app): freecell: relocation error: /usr/lib/libXft.so.2: undefined symbol: XRenderQuerySubpixelOrder Not sure if that info helps, but there you go. ;)
What xfree are you running ?
I had font problems when I emerged gnome, gtk+, pango and xft from ~x86... basically.. the fonts where HUGE.. in all gtk+ app.. downgrading gtk+ to gtk+-2.0.9, solved this issue and the themes problems issue too.. (the themes were probably compiled against gkt+-2.0.?) but.. mozilla is totally unusable.. crashing a lot, in mails(all it takes is scrool some directory), web pages.. really unstable. gaim still has font's problems.. window menus, my input box, my text..etc.. fonts are HUGE... allthough in chats.. other people's fonts are ok. it also keeps giving me this errors: (gaim:1650): Gtk-WARNING **: Events of type GDK_EXPOSE cannot be synthesized. To get the same effect, call gdk_window_invalidate_rect/region(), followed by gdk_window_process_updates(). (gaim:1650): Gtk-WARNING **: Events of type GDK_EXPOSE cannot be synthesized. To get the same effect, call gdk_window_invalidate_rect/region(), followed by gdk_window_process_updates(). I don't know if I should open new bug reports for gaim and mozilla.. or if this really is related to the "xft-pango-gtk+" thing. But even if it is, is this the proper bug thread to be in, since gtk+ compiles now..? (Should I open a xft-pango-gtk+ related bug report?) thanks for the help anyway.. now I have some "ideas" about there the problem lies.. gtk+ allready compiles.. so.. I'm advancing .eheheh
> What xfree are you running ? 4.2.1-r2
we had another bugreport about fonts being huge : http://bugs.gentoo.org/show_bug.cgi?id=10625 . Is it similar to that ? Mozilla maybe is another issue, but try easing down on optimisations first and use the gtk1 version. I have sometimes crashes on resizing the mail window, but i think that is a mozilla bug. Carlos can you re-emerge xfree . Xrender shouldnt be touched, so im a bit surprised you get problems with that. Maybe good to clean out xfree/xft/gtk/pango first, so you can be sure all is clean.
> Carlos can you re-emerge xfree . Xrender shouldnt be touched, so im a bit > surprised you get problems with that. Maybe good to clean out > xfree/xft/gtk/pango first, so you can be sure all is clean. unmerged xfree, xft, gtk+2.1.2, and pango. On remerge, gtk+2.1.2 fails again with: checking for pango_context_new in -lpango-1.0... no configure: error: *** Can't link to Pango. Pango is required to build *** GTK+. For more information see http://www.pango.org" There must be something else causing the trouble. I also have gtk+1.2.10-r9 on this system.. there doesn't seem to be a newer 1.2 version. Maybe a USE flag problem?
has nothing todo with gtk-1.2, are you sure there are not somehow traces of an old pango left on your system ?
I'm pretty sure. I unmerged it again, rm'd /etc/pango, did a "find / -iname 'pango*'" and saw nothing suspicious, then remerged and tried gtk again. Same error. Could be I don't know what I should be looking for as far as leftover pango stuff goes, though. I do have a fair bit of gnome-ish stuff lying around unused, I could try removing all of that and see, if you think that could be related.
On second thought, give me the breaking config.log of the gtk+ build ( /var/tmp/portage/<app>/work/<app>/config.log or something).
Created attachment 6633 [details] gkt+-2.1.2 config.log As requested, the config.log - thanks a ton for helping!
Well, so far i have only helped you recompiling stuff ;) Ok, we're missing symbols in xft2 . Can you remove xft2 and and remove /usr/lib/libXft* , then re-emerge xft2 and afterwards do the pango/gtk emerge . Test xft-2.0.1 first, if it fails do the same again and try 2.0 (latest revision ofcourse).
No luck. I tried downgrading xft again and gtk+ would build, but I again got the 'BadLength (poly request to large or internal Xlib error)' errors whenever I'd fire up a gtk2 app.
What version of mozilla do you have around ? What is the ouput of 'ldd /usr/lib/mozilla/*so | grep Xft' ? '
mozilla is at 1,2-r0. It's at the end of my 'emerge -up world' list, so I haven't bothered to try to update it yet (to 1.2.1-r3)... maybe I should? There is no output from 'ldd /usr/lib/mozilla/*so | grep Xft' however: # ldd /usr/lib/mozilla/*so.* | grep Xft /usr/lib/mozilla/libXft.so.2: /usr/lib/mozilla/libXft.so.2.0: (libXft.so.2 is a link to libXft.so.2.0 in the directory) I didn't even realize there was xft stuff with mozilla.
Can you try and remove mozilla, see if it works now. I think it's interefering with the system xft2. You can upgrade, newer revisions should fix this.
That solved it! Thanks much for the help!
ok, closing methos : if your problem persists, please open a new bug report on it