Prev Up (Under construction)

fontconfig

Font configuration and customization library

Compilation (V2.11.1)

Requires freetype and either expat or libxml2.
Example:
   make distclean
         # AIX 6.1/7.1, C 9.0/12.1
   configure --prefix=/tmp/fontconfig-2.11.1 FREETYPE_CFLAGS=-I/bio/local/../61/include/freetype2 FREETYPE_LIBS="-L/bio/local../61/lib -lfreetype" CC=cc CFLAGS="-O2" CPPFLAGS="-D_LARGE_FILES -D_THREAD_SAFE" --with-expat=/bio/local/../61/expat-2.1.0 --disable-libxml2 --enable-static --disable-shared
   make 
   make install
The FREETYPE_* variables allow to bypass the pkg-config crap.
FREETYPE_INCLUDE should point to a parent directory containing the freetype subdirectory.

Compilation (V2.8)

Requires freetype (located via pkg-config) and either expat or libxml2.
   make distclean
         # example for HP-UX 10.20, native cc:
   configure --prefix=/tmp/fontconfig-2.8.0 CC=cc CFLAGS="-O -Ae -D_REENTRANT -D_FILE_OFFSET_BITS=64 +z" --with-expat=/nfs/local/1020/expat-2.0.1 --disable-libxml2 --enable-static --disable-shared
         # AIX 6.1/7.1, C 9.0/12.1
   configure --prefix=/tmp/fontconfig-2.8.0  CC=cc CFLAGS="-O2" CPPFLAGS="-D_LARGE_FILES -D_THREAD_SAFE" --with-expat=/nfs/local/71/expat-2.1.0    --disable-libxml2 --enable-static --disable-shared
   make 
   make install

AIX 7.1

The build procedure works best with gmake.
Otherwise at least in fc-glyphname/Makefile, fc-arch/Makefile, fc-lang/Makefile, fc-case/Makefile, modify
    $(AM_V_GEN) $(RM) $(TARG)
   # to            
   -$(AM_V_GEN) $(RM) $(TARG)

HP-UX 10.20

src/fcint.h has an illegal structure member:
  FcExpr end[0];
fc-lang/fc-lang.c has an illegal extra const:
   const Entry const *as = a, *bs = b;

Installation and configuration


Last updated: Mon Mar 24 16:53:50 CET 2014 , M.Kraemer

Impressum Data privacy protection