xrender.c is does not find fontconfig.h on OS X Tiger

Mike Kronenberg mike.kronenberg at kronenberg.org
Mon Jul 12 16:43:18 CDT 2010


On 05.06.2010, at 01:36, Mike Kronenberg wrote:

> Dear List
> 
> OS X Tiger does has not have fontconfig, so I'm building it in ~/buildwine/usr to keep it out of /usr.
> I include the headers and libs from ~/buildwine/usr with CPPFLAGS and CFLAGS. 
> 
> This worked fine until 1.2-rc1 and 1.2-rc2.
> 
> Compiling xrender.c now exits with an error that FC_WEIGHT_THIN etc is not defined.
> 
> configure leaves me with
> 
> SONAME_LIBFONTCONFIG='libfontconfig.1.dylib'
> FONTCONFIGINCL=''
> 
> in the config.log.
> No luck even if I
> 
> export FONTCONFIGINCL="-I//$HOME/buildwine/usr/include/fontconfig -I//$HOME/buildwine/usr/include'
> 
> which resulted in a correct FONTCONFIGINCL, but the compiling still failed.
> All the other custom compiled deps are working as usual.
> 
> Any hint what I might missing?
> 
> txs
> Mike

For the record.

gcc did not honor -I/ nor FONTCONFIGINCL pointing to fontconfig 2.8.0 and instead used /usr/X11R6/include/fontconfig/fontconfig.h which became outdated with the additions to xrender.c of 1.2-rc1 .

MikeK

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3410 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20100712/b384751f/attachment.bin>


More information about the wine-devel mailing list