[Fontconfig] Re: (2.2.0) compiling issues (on solaris)

Steve Bankowitz Steven.Bankowitz at Sun.COM
Fri Aug 29 12:19:43 PDT 2003


Okay,

I found the solution:  Since I have both freetype and freetype2
installed on my machine, it picked up the old freetype include file.

I ended up modifing the `./fontconfig/fcfreetype.h' file.

From:

  #include <freetype/freetype.h>

To:

  #include <freetype2/freetype/freetype.h>

-Steve

* Steve Bankowitz <Steven.Bankowitz at Sun.COM> [2003-08-28 15:53:00]:
> Hi,
> 
> I'm trying to compile fontconfig-2.2.0 (I also tried fontconfig-2.2.1
> and fontconfig-2.2.90) on my Solaris 9 machine with the latest Forte
> compiler.
> 
>   % cc -V
>   cc: Sun C 5.5 2003/03/12
> 
> I'm using the following configure options:
> 
>   ./configure --prefix=/usr/apps  --with-expat --with-confdir=/usr/apps/etc/fonts --disable-docs
> 
> And I get the following error (using GNU's make):
> 
> Making all in fc-lang
> make[2]: Entering directory `/usr/apps/src/fontconfig-2.2.0/fc-lang'
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/usr/apps/include -I/usr/apps/include/freetype2  -I/usr/apps/include  -fast -xprefetch -xipo -xtarget=ultra -c fc-lang.c
> "../fontconfig/fcfreetype.h", line 30: warning: old-style declaration or incorrect type for: FT_UInt
> "../fontconfig/fcfreetype.h", line 30: syntax error before or at: FcFreeTypeCharIndex
> "../fontconfig/fcfreetype.h", line 30: syntax error before or at: face
> "../fontconfig/fcfreetype.h", line 30: warning: undefined or missing type for: face
> "../fontconfig/fcfreetype.h", line 30: warning: undefined or missing type for: FcChar32
> "../fontconfig/fcfreetype.h", line 30: warning: old-style declaration or incorrect type for: FcFreeTypeCharIndex
> "../fontconfig/fcfreetype.h", line 33: syntax error before or at: face
> "../fontconfig/fcfreetype.h", line 33: warning: undefined or missing type for: face
> "../fontconfig/fcfreetype.h", line 33: warning: undefined or missing type for: FcBlanks
> "../fontconfig/fcfreetype.h", line 33: warning: undefined or missing type for: int
> "../fontconfig/fcfreetype.h", line 36: syntax error before or at: face
> "../fontconfig/fcfreetype.h", line 36: warning: undefined or missing type for: face
> "../fontconfig/fcfreetype.h", line 36: warning: undefined or missing type for: FcBlanks
> "../fontconfig/fcfreetype.h", line 39: syntax error before or at: FT_Face
> "../fontconfig/fcfreetype.h", line 39: warning: undefined or missing type for: FT_Face
> "../fontconfig/fcfreetype.h", line 42: warning: no explicit type given
> "../fontconfig/fcfreetype.h", line 42: syntax error before or at: f
> "../fontconfig/fcfreetype.h", line 42: warning: undefined or missing type for: f
> "../src/fcint.h", line 497: syntax error before or at: encoding
> "../src/fcint.h", line 497: warning: undefined or missing type for: encoding
> "fc-lang.c", line 53: warning: return value type mismatch
> cc: acomp failed for fc-lang.c
> make[2]: *** [fc-lang.o] Error 2
> make[2]: Leaving directory `/usr/apps/src/fontconfig-2.2.0/fc-lang'
> 
> (I had no problems compiling and installing xft-2.1.2, xrender-0.8.3, and render-0.8)
> 
> -Steve



More information about the Fontconfig mailing list