Building wily with the Xft patch

  • From: Mark Johnathan Greenaway <mark@xxxxxxxxxxxx>
  • To: Wily fans <wilyfans@xxxxxxxxxxxxx>
  • Date: Wed, 30 Jul 2003 16:53:09 +1000


I finally decided to give Wily with the xft patch a try. So I downloaded
the patch and patched the source. But it wouldn't build, so I set the
following environment variables:

export CFLAGS=-I/usr/include/freetype2
export LDFLAGS="`pkg-config --libs freetype2` -lXft"

Then I ran the resulting wily/wily with no args and got a SIGSEGV.
Here's the traceback from gdb:

Program received signal SIGSEGV, Segmentation fault.
0x40082399 in XftGlyphExtents () from /usr/X11R6/lib/
(gdb) bt
#0  0x40082399 in XftGlyphExtents () from /usr/X11R6/lib/
#1  0x400826c1 in XftTextExtents16 () from /usr/X11R6/lib/
#2  0x080620b8 in XFontStructtoSubfont ()
#3  0x0806134e in initfont ()
#4  0x08061208 in xtbinit ()
#5  0x08050a94 in args (argc=1, argv=0xbffff8f4, envp=0xbffff8fc) at
#6  0x08050ece in main (argc=1, argv=0xbffff8f4, envp=0xbffff8fc) at

Could someone help me? Thanks.


Other related posts:

  • » Building wily with the Xft patch