[Fontconfig] fcpackage.2_1/Xft on Solaris 2.6

Stefan Kost fontconfig@fontconfig.org
Fri, 28 Mar 2003 14:54:44 +0100

hi hi,

I am trying to get fcpackage.2_1 to build on solaris in order to get pango of
gnome working.
I can configure and install 'fontconfig', but have problems with 'Xft'.

>./configure --sysconfdir=/etc --prefix=/usr/X11R6
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -I/usr/X11R6/include/ -L/usr/X11R6/lib)
works... yes
checking whether the C compiler (gcc -I/usr/X11R6/include/ -L/usr/X11R6/lib) is
a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /opt/bin/install -c
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include
awk: syntax error near line 1
awk: bailing out near line 1
awk: syntax error near line 1
awk: bailing out near line 1
awk: syntax error near line 1
awk: bailing out near line 1
checking for X11/extensions/Xrender.h... no
checking for freetype-config... freetype-config
checking for freetype/freetype.h... yes
checking for FT_Init_FreeType... yes
checking for fontconfig-config... fontconfig-config
checking for fontconfig/fontconfig.h... yes
checking for FcInit... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating xft.pc
creating xft-config
creating config.h
config.h is unchanged

> make && make install
gcc -I/usr/X11R6/include/ -I. -DHAVE_CONFIG_H -I/usr/local/include
-I/usr/local/include/freetype2 -I/usr/X11R6/include -fPIC -DPIC -c xftcolor.c -o
In file included from xftint.h:39,
                 from xftcolor.c:25:
Xft.h:37: X11/extensions/Xrender.h: No such file or directory
make: *** [xftcolor.o] Error 1

On Solaris there are no X-extensions available. Any ideas?

      \|/            Stefan Kost
     <@ @>           private            business
+-oOO-(_)-OOo------------------------------------------------------ - - -  -   -
|       __  Address  Simildenstr. 5     HTWK Leipzig, Fb IMN, Postfach 300066
|      ///           04277 Leipzig      04277 Leipzig
| __  ///            Germany            Germany
| \\\///    Phone    +49341 2253538     +49341 30766101
|  \__/     EMail    st_kost@gmx.net    kost@imn.htwk-leipzig.de
|           WWW      www.sonicpulse.de  www.imn.htwk-leipzig.de/~kost/about.html
===-=-=--=---=---------------------------------- - - -  -    -