freetype/ fontconfig issues

Riccardo Mottola rmottola at opencsw.org
Fri Apr 21 12:36:53 CEST 2017


Hi,

I am unable to build/rebuild gnustep-back on solaris 9. I think that the 
issue is that fontconfig is somehow detected, but then does not work, 
some headers are missing.
I failed to build an up-to-date package however.
I suppose that I can build the package on my old solaris 8 machine, 
because the fontconfig chec fails, while here it works:

checking for xft... yes
checking XFT_CFLAGS... sh: gnome-config: not found
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fontconfig', required by 'Xft', not found

checking XFT_LIBS... sh: gnome-config: not found
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fontconfig', required by 'Xft', not found

checking for XftDrawStringUtf8 in -lXft... yes
checking for XftPatternGetString in -lXft... no
checking for Xutf8LookupString... no
checking for FcPatternCreate in -lfontconfig... yes
checking fontconfig/fontconfig.h usability... yes
checking fontconfig/fontconfig.h presence... yes
checking for fontconfig/fontconfig.h... yes


note the fontconfig header pass.

The build itself fails with:

  Compiling file XGFont.m ...
In file included from ../../Headers/x11/wraster.h:46:0,
                  from ../../Headers/xlib/XGPrivate.h:34,
                  from XGFont.m:40:
/usr/openwin/include/X11/Xlib.h:32:0: warning: ignoring #pragma ident  
[-Wunknown-pragmas]
In file included from ../../Headers/x11/wraster.h:47:0,
                  from ../../Headers/xlib/XGPrivate.h:34,
                  from XGFont.m:40:
/usr/openwin/include/X11/Xutil.h:56:0: warning: ignoring #pragma ident  
[-Wunknown-pragmas]
In file included from /usr/openwin/include/X11/Xft/Xft.h:35:0,
                  from ../../Headers/xlib/XGGState.h:38,
                  from XGFont.m:41:
/opt/csw/include/ft2build.h:56:38: fatal error: 
freetype/config/ftheader.h: No such file or directory
compilation terminated.
gmake[7]: *** [obj/xlib.obj/XGFont.m.o] Error 1

I searched for ftheader.h and couldn't find it indeed.

The package is configured to disable freetype, but it doesn't help.

Riccardo


More information about the devel mailing list