Re: Building Pango on Mac OS X 10.4.8



On Tue, 2006-10-24 at 13:05 -0400, Joe Koski wrote:
> Hi,
> 
> As part of an effort to get the wxt (wxWidget) terminal working with
> gnuplot-4.2 on my G5 Mac, I'm attempting to build pango-1.15.0. This is with
> OS X 10.4.8, and Xcode-2.4 developer tools.
> 
> So far, I have built cairo-1.2.4 with the following configure options to
> avoid fontconfig, freetype, etc.
> 
>   ./configure --enable-atsui --enable-quartz --enable-freetype=no
> --enable-xlib=no
> 
> When I try to build pango, the build is still looking for fontconfig.h. Here
> are the make errors for ./configure --with-x=no
> 
> <snip>
> Making all in modules
> Making all in arabic
> if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
> -I../.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_ENGINE -DPANGO_ENABLE_DEBUG
> -I../.. -I../../pango -DG_DISABLE_DEPRECATED -D_REENTRANT
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include       -g -O2
> -Wall -MT arabic-lang.lo -MD -MP -MF ".deps/arabic-lang.Tpo" -c -o
> arabic-lang.lo arabic-lang.c; \
> then mv -f ".deps/arabic-lang.Tpo" ".deps/arabic-lang.Plo"; else rm -f
> ".deps/arabic-lang.Tpo"; exit 1; fi
> mkdir .libs
>  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Pango\"
> -DPANGO_ENABLE_ENGINE -DPANGO_ENABLE_DEBUG -I../.. -I../../pango
> -DG_DISABLE_DEPRECATED -D_REENTRANT -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -g -O2 -Wall -MT arabic-lang.lo -MD -MP
> -MF .deps/arabic-lang.Tpo -c arabic-lang.c  -fno-common -DPIC -o
> .libs/arabic-lang.o
> In file included from ../../pango/pango-ot.h:25,
>                  from arabic-ot.h:28,
>                  from arabic-lang.c:26:
> ../../pango/pangofc-font.h:25:22: error: ft2build.h: No such file or
> directory
> ../../pango/pangofc-font.h:26:10: error: #include expects "FILENAME" or
> <FILENAME>
> ../../pango/pangofc-font.h:27:35: error: fontconfig/fontconfig.h: No such
> file or directory
> In file included from ../../pango/pango-ot.h:25,
>                  from arabic-ot.h:28,
>                  from arabic-lang.c:26:
> ../../pango/pangofc-font.h:147: error: parse error before
> 'pango_fc_font_lock_face'
> ../../pango/pangofc-font.h:147: warning: type defaults to 'int' in
> declaration of 'pango_fc_font_lock_face'
> ../../pango/pangofc-font.h:147: warning: data definition has no type or
> storage class
> In file included from arabic-ot.h:28,
>                  from arabic-lang.c:26:
> ../../pango/pango-ot.h:61: error: parse error before 'face'
> In file included from arabic-lang.c:26:
> arabic-ot.h:69: error: parse error before 'Arabic_Assign_Properties'
> arabic-ot.h:71: warning: type defaults to 'int' in declaration of
> 'Arabic_Assign_Properties'
> arabic-ot.h:71: warning: data definition has no type or storage class
> make[3]: *** [arabic-lang.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> <snip>
> 
> It appears that pango has problems with the Arabic fonts, which I don't
> currently need. What is the workaround or fix? Thanks.

This is a tiny bug in modules/arabic/arabic-lang.c that I've fixed now.
Just remove the 'include "arabic-ot.h"' line.

behdad

> Joe
> 
> 
> _______________________________________________
> gtk-i18n-list mailing list
> gtk-i18n-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
-- 
behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
        -- Dan Bern, "New American Language"




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]