[blfs-support] building sawfish-1.9.1

Armin K. krejzi at email.com
Mon Nov 12 11:31:32 PST 2012

On 11/12/2012 08:12 PM, Jim Michmerhuizen wrote:
> ...generated this error:
> ============= begin error listing
> libtool: link: gcc -o sawfish colors.o cursors.o display.o events.o
> fonts.o frames.o flippers.o functions.o images.o keys.o main.o
> multihead.o pixmap-cache.o property-cache.o server.o session.o
> stacking-list.o windows.o -pthread -Wl,--export-dynamic
> /usr/lib/librep.so -lcrypt /usr/lib/libgmp.so -lm
> /usr/lib/libpangoxft-1.0.so /usr/lib/libpangoft2-1.0.so
> /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so
> /usr/lib/libfontconfig.so /usr/lib/libgdk_pixbuf_xlib-2.0.so
> /usr/lib/libgmodule-2.0.so -lrt /usr/lib/libgdk_pixbuf-2.0.so
> /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libX11.so
> /usr/lib/libXrender.so /usr/lib/libICE.so /usr/lib/libSM.so
> /usr/lib/libXtst.so /usr/lib/libXinerama.so /usr/lib/libXrandr.so
> /usr/lib/libXft.so /usr/lib/libXext.so -pthread
> fonts.o: In function `pango_draw_line':
> /xc/sawfish-1.9.1/src/fonts.c:519: undefined reference to `pango_x_render'
> collect2: error: ld returned 1 exit status
> make[1]: *** [sawfish] Error 1
> make[1]: Leaving directory `/xc/sawfish-1.9.1/src'
> make: *** [all] Error 1
> ================ end error listing
> Google found some references for me, but I'm not sure what to do with
> them; the Gnome dev center, at
> http://developer.gnome.org/pango/1.28/pango-X-Fonts-and-Rendering.html
> says the function in question is deprecated.
> Has anybody encountered this problem and solved it?

Interesting. That might be the problem with pango 1.32. Pango 1.32 has 
pangox library removed. There is however pangox compat library, but I 
didn't include it in BLFS since nothing was using it back then.

Try downloading this package:


Build it with ./configure --prefix=/usr --sysconfdir=/etc 
--disable-static && make && make install

Then restart sawfish build process and please report if that worked.

More information about the blfs-support mailing list