Re: Compile problem on OSX PPC after version 1.22.4
- From: Eric Hungerford <finatronics yahoo com>
- To: gtk-i18n-list gnome org
- Subject: Re: Compile problem on OSX PPC after version 1.22.4
- Date: Tue, 06 Dec 2011 01:42:55 -0000
Hello, I ran into the same problem as Ron's post at: http://www.mail-archive.com/gtk-i18n-list gnome org/msg01450.html
There were no solutions on that list, so I thought I'd letcha know what I figured out.
OSX has a fontconfig.h (which does not have FC_WEIGHT_EXTRABLACK declared) in its own include directories:
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/fontconfig/fontconfig.h
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/include/fontconfig/fontconfig.h
I modified the #include in pangofc-fontmap.h to point directly to the new fontconfig.h with: #include "/usr/local/include/fontconfig/fontconfig.h"
------ Original Message --------
Hello, I'm trying to compile pango as a dependency for a project I'm working on
and am having difficulty with the newest versions. I started with 1.24.3 which
is the latest and get errors while compiling. I had already compiled this on
the Intel based OSX box without issue so I went back to some older versions. I
was able to track down the version where the problem started which was in
1.23.0. Versions before this (1.22.4 and earlier) work correctly.
The output of the compile fails with the following output:
pangofc-fontmap.c: In function 'pango_fc_convert_weight_to_fc':
pangofc-fontmap.c:1256: error: 'FC_WEIGHT_EXTRABLACK' undeclared (first use in t
his function)
pangofc-fontmap.c:1256: error: (Each undeclared identifier is reported only once
pangofc-fontmap.c:1256: error: for each function it appears in.)
pangofc-fontmap.c: In function 'pango_fc_convert_weight_to_pango':
pangofc-fontmap.c:1892: error: 'FC_WEIGHT_EXTRABLACK' undeclared (first use in t
his function)
make[4]: *** [pangofc-fontmap.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
-----------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]