Re: Building Pango on Mac OS X 10.4.8



on 10/24/06 3:01 PM, Behdad Esfahbod at behdad behdad org wrote:

> On Tue, 2006-10-24 at 15:10 -0400, Joe Koski wrote:
>> on 10/24/06 12:11 PM, Behdad Esfahbod at behdad behdad 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.
> 
> Fixed it now.  Remove the libpangoft2 line from cairosimple_LIBADD in
> examples/Makefile.am
> 
Behdad,

Yes, that solves the pango build problem. Thanks. Now if I can just get
focus in the wxt window, I'm done. I'll discuss that first with the gnuplot
folks.

Joe





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