Toss "#include <ft2build.h>" in /src/fcint.h at line 39. It should build fine after that. If it doesn't then you'll need to compile the version that's currently in CVS, which seems to have a problem with autogen.sh. I'm waiting for help on that one myself. ;) -JP On Wed, 18 Feb 2004 15:45:44 +0100, Joerg Weber <joerg@xxxxxxxx> wrote: > Hi folks, > > i', trying to build a whole current Gnome distribution for a Solaris 8 > box. One needed components is fontconfig. > > After a correct build and installation of freetype-2.1.7 there is no > way to build fontconfig (2.2.0 and 2.2.9x) failed at the same point: > > the first problem is: > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/usr/local/include/freetype2 > -I/usr/local/include -O -pedantic -c fc-lang.c > In file included from ../fontconfig/fcfreetype.h:27, > from ../src/fcint.h:39, > from fc-lang.c:25: > /usr/local/include/freetype2/freetype/freetype.h:20:2: #error > "`ft2build.h' hasn't been included yet!" > /usr/local/include/freetype2/freetype/freetype.h:21:2: #error "Please > always use macros to include FreeType header files." > /usr/local/include/freetype2/freetype/freetype.h:22:2: #error "Example:" > /usr/local/include/freetype2/freetype/freetype.h:23:2: #error " > #include <ft2build.h>" > /usr/local/include/freetype2/freetype/freetype.h:24:2: #error " > #include FT_FREETYPE_H" > fc-lang.c: In function `FcConfigHome': > > after fixing this in fontconfig/fcfreetype.h i get: > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/freetype2 > -I/usr/local/include -DFONTCONFIG_PATH=\"/usr/local/etc/fonts\" -I.. > -I../src -O -pedantic -c fcfreetype.c -fPIC -o .libs/fcfreetype.o > fcfreetype.c:60:31: freetype/ftmodule.h: No such file or directory > fcfreetype.c: In function `FcVendorFoundry': > fcfreetype.c:253: warning: pointer targets in passing arg 2 of > `FcVendorMatch' differ in signedness > fcfreetype.c: In function `FcFreeTypeQuery': > fcfreetype.c:333: warning: pointer targets in passing arg 1 of > `FcVendorFoundry' differ in signedness > fcfreetype.c:568: warning: pointer targets in passing arg 1 of > `FcNoticeFoundry' differ in signedness > fcfreetype.c:793: warning: pointer targets in assignment differ in > signedness > > The older releases (fcpackage ...) are impossible to build at Solaris8. > > Can anybody give me a hint? In my mind freetype and fontconfig are > closely > collaborating components...? May be, i have a config mistake only? > > Can anybody give me a hint? > > Many thanks in advance... > -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/