[Fontconfig] simple question?

Joerg Weber Joerg.Weber at interface-projects.de
Mon Mar 15 02:54:27 EST 2004


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 at 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/bed4a9e9/attachment.pgp


More information about the Fontconfig mailing list