Hi Riccardo, Am 05.02.2016 um 16:31 schrieb Riccardo Mottola <[email protected]>: > 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?
Look here: https://buildfarm.opencsw.org/source/xref/opencsw/csw/mgar/pkg/zenity/trunk/Makefile Try EXTRA_INC += $(includedir)/freetype2 Best regards — Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896
signature.asc
Description: Message signed with OpenPGP using GPGMail
