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

Hi,

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/libXft.so.2
(gdb) bt
#0  0x40082399 in XftGlyphExtents () from /usr/X11R6/lib/libXft.so.2
#1  0x400826c1 in XftTextExtents16 () from /usr/X11R6/lib/libXft.so.2
#2  0x080620b8 in XFontStructtoSubfont ()
#3  0x0806134e in initfont ()
#4  0x08061208 in xtbinit ()
#5  0x08050a94 in args (argc=1, argv=0xbffff8f4, envp=0xbffff8fc) at
wily.c:83
#6  0x08050ece in main (argc=1, argv=0xbffff8f4, envp=0xbffff8fc) at
wily.c:191

Could someone help me? Thanks.

Mark

Other related posts:

  • » Building wily with the Xft patch