freetype header problem / CFLAGS
Riccardo Mottola
rmottola at opencsw.org
Fri Feb 5 16:31:46 CET 2016
Hi,
I am trying to update gnustep-back and extend it to solaris 9 too. I
just installed an updated version of FreeType which matches solaris 10.
pkg config is installed too, same version.
/opt/csw/bin/pkg-config --cflags freetype2
-I/opt/csw/include/freetype2 -I/opt/csw/include
That is "freetype2" is the sound thing.
when I do build, I see this:
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
freetype/config/ftheader.h exists in the freetype2 directory, which is
found by the package configure system!
Does this kind of issue ring a bell?
I thought of adding an extra value to CFLAGS, to force it (and test that
this is the only problem), but how can I do it?
I only do:
CONFIGURE_ARGS = $(DIRPATHS)
so i don't know if there is a way to add -I/opt/csw/include/freetype2
Cleanly. Suggestions?
Riccardo
More information about the maintainers
mailing list