Advertenties

Cross compiling fontconfig with xml2

Trying to compile fontconfig on a suse box i kept getting errors about libxml2 not beeing found. I knew this had something to do with the include path’s but trying to set them manually didn’t work.

This fixed by problem:

[code]export LIBXML2_CFLAGS=$(xml2-config –cflags)
export LIBXML2_LIBS=$(xml2-config –libs)[/code]

Now just run

[code]./configure; make; make install[/code]

You should be set.

Advertenties

Geef een reactie

%d bloggers liken dit: