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@ifbus.de> 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/
Hi, many thanks JP,> 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. ;)this fix works, but the next problem looks like similar to this one: 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'': maybe - there is the same reason ... autogen.sh? -- yours sincerely, Joerg Weber Tel.: +49 (0)351 31809-13 interface projects GmbH Fax.: +49 (0)351 3361187 Tolkewitzer Strasse 49 E-Mail: Joerg.Weber@interface-projects.de D-01277 D R E S D E N WEB: http://www.interface-projects.de/ RIPE: JW14-RIPE -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 185 bytes Desc: not available Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20040218/40e4e852/attachment.pgp
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... -- yours sincerely, Joerg Weber Tel.: +49 (0)351 31809-13 interface projects GmbH Fax.: +49 (0)351 3361187 Tolkewitzer Strasse 49 E-Mail: Joerg.Weber@interface-projects.de D-01277 D R E S D E N WEB: http://www.interface-projects.de/ RIPE: JW14-RIPE -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 185 bytes Desc: not available Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20040218/fefffd6f/attachment.pgp
Hi, many thanks JP,> 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. ;)this fix works, but the next problem looks like similar to this one: 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'': maybe - there is the same reason ... autogen.sh? -- yours sincerely, Joerg Weber Tel.: +49 (0)351 31809-13 interface projects GmbH Fax.: +49 (0)351 3361187 Tolkewitzer Strasse 49 E-Mail: Joerg.Weber@interface-projects.de D-01277 D R E S D E N WEB: http://www.interface-projects.de/ RIPE: JW14-RIPE -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 185 bytes Desc: not available Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20040314/6ae924d5/attachment.pgp