[Pkg-fonts-devel] Building fontforge

Ralf Stubner ralf.stubner at web.de
Wed Apr 12 22:14:43 UTC 2006


On Wed, Apr 12, 2006 at 23:13 +0200, Christian Perrier wrote:
> Quoting Ralf Stubner (ralf.stubner at physik.uni-erlangen.de):
> > On Wed, Apr 12, 2006 at 08:28 +0200, Christian Perrier wrote:
> > > gcc -Wall -g -O2 -I/usr/include/freetype2/ -I/usr/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -I/usr/X11R6/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ICONV_H=1 -D_NO_XKB=1 -D_HAS_LONGLONG=1 -DHAVE_LIBINTL_H=1 -DNODYNAMIC=1 -D_STATIC_LIBUNINAMESLIST=1 -DFONTFORGE_CONFIG_DEVICETABLES=1  '-DSHAREDIR="/usr/share/fontforge"' -DLIBDIR='"/usr/lib"' '-DPREFIX="/usr"'   -c -o freetype.o freetype.c
> > > freetype.c:89:32: error: internal/internal.h: Aucun fichier ou répertoire de ce type
> > 
> > What version of freetype do you have installed? I remember vaguely some
> > discussions on fontforge-devel concerning problems to build fontforge
> > with recent (CVS?) versions of freetype.

I have found one of the threads:
http://sourceforge.net/mailarchive/forum.php?thread_id=10156169&forum_id=39346

The error message is the same as yours, and you have freetype 2.2 installed:

> Package: libfreetype6
[...]
> Version: 2.2~rc4-1

You could give the patch posted in the above thread a try:

*** freetype.c~	2006-04-11 16:35:35.000000000 -0700
--- freetype.c	2006-04-11 16:35:35.000000000 -0700
***************
*** 85,91 ****
  #include <ft2build.h>
  #include FT_FREETYPE_H
  #include FT_OUTLINE_H
! #if FREETYPE_MINOR>=2
  # include <internal/internal.h>
  #endif
  #include <unistd.h>
--- 85,91 ----
  #include <ft2build.h>
  #include FT_FREETYPE_H
  #include FT_OUTLINE_H
! #if defined(FREETYPE_HAS_DEBUGGER) && FREETYPE_MINOR>=2
  # include <internal/internal.h>
  #endif
  #include <unistd.h>


Since this patch dates from 2006-04-11, it is not in the most recent
released version (20060408).

cheerio
ralf



More information about the Pkg-fonts-devel mailing list