List Info

Thread: Building Pango on Mac OS X 10.4.8




Building Pango on Mac OS X 10.4.8
user name
2006-10-24 18:11:40
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-listgnome.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"

_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
Building Pango on Mac OS X 10.4.8
user name
2006-10-24 19:10:04
on 10/24/06 12:11 PM, Behdad Esfahbod at behdadbehdad.org 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>

>> 
>> 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

Behdad,

Thanks, that got me further. Now I'm back to the original
problem that I had
before I upgraded to pango-1.15.0. During "make" I
get the following error.

<snip>

Making all in examples
cp ../modules/pangorc pangorc
make  all-am
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..
-DPANGO_ENABLE_DEBUG
-DG_DISABLE_DEPRECATED -D_REENTRANT
-I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   
-I/usr/local/include/cairo
-I/usr/local/include/libpng12        -g -O2 -Wall -MT
cairosimple.o -MD -MP
-MF ".deps/cairosimple.Tpo" -c -o cairosimple.o
cairosimple.c; 
then mv -f ".deps/cairosimple.Tpo"
".deps/cairosimple.Po"; else rm -f
".deps/cairosimple.Tpo"; exit 1; fi
make[3]: *** No rule to make target
`../pango/libpangoft2-1.0.la', needed by
`cairosimple'.  Stop.
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Anyone got an idea? Thanks.

Joe




_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )