discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xft problem on Solaris (was building back)


From: Andreas Höschler
Subject: Re: Xft problem on Solaris (was building back)
Date: Thu, 25 Aug 2005 14:34:36 +0200

Hi all,

Thanks for the hint, but this did not change a bit:

...
checking for xft... yes
checking XFT_CFLAGS... -I/usr/openwin/include
checking XFT_LIBS... -R/usr/openwin/lib -L/usr/openwin/lib -lXft -lfontconfig
checking for XftDrawStringUtf8 in -lXft... no
...

config always chooses the Solaris version of XFT and then produces the following output during make:

...
/usr/openwin/include/X11/Xft/Xft.h:35:31: warning: freetype/freetype.h: No such file or directory
In file included from ../../Headers/xlib/XGGState.h:36,
                 from XGFont.m:40:
/usr/openwin/include/X11/Xft/Xft.h:52: error: parse error before "_XftFTlibrary" /usr/openwin/include/X11/Xft/Xft.h:52: warning: type defaults to `int' in declaration of `_XftFTlibrary'
...

I have installed freetype-2.1.10.tar.gz from source and freetype was also recognized while configuring and building gd so I gues steh installtion of freetype is ok.

bash-2.05# find /usr -name freetype.h
/usr/share/src/freetype-2.1.10/include/freetype/freetype.h
/usr/sfw/include/freetype2/freetype/freetype.h
/usr/local/include/freetype2/freetype/freetype.h

Any more ideas what I can do to convince back to build on Solaris 9? Thanks a lot!

I have again modified config.make by hand to mak eit use /usr/local instead of /usr/openwin. Now it finds freetype.h, but the other errors remain.

...
make[2]: Entering directory `/usr/share/src/core/back/Source/xlib'
Making all for subproject xlib...
 Compiling file XGFont.m ...
In file included from ../../Headers/xlib/XGGState.h:36,
                 from XGFont.m:40:
/usr/local/include/X11/Xft/Xft.h:62: error: parse error before "_XftFTlibrary"
/usr/local/include/X11/Xft/Xft.h:96: error: parse error before "FT_UInt"
/usr/local/include/X11/Xft/Xft.h:99: error: parse error before '}' token
/usr/local/include/X11/Xft/Xft.h:103: error: parse error before "FT_UInt"
...

The missing types FT_Library, FT_UInt,... are defined in /usr/local/include/freetype2/freetype/fttypes.h. I have no idea where this file is imported. I tried to add

        #include <fttypes.h>

to Xft.h but this did not make a difference. Hints are greatly appreciated. Thanks a lot!

Regards,

  Andreas







reply via email to

[Prev in Thread] Current Thread [Next in Thread]