[kde-solaris] How to get AA fonts on Solaris without native XRender ...

Salman Sheikh kde-solaris@mail.kde.org
Mon Feb 10 17:34:05 2003


I got Xrender compiled.  Did you have any trouble getting the fontconfig 
directory compiled?  Is that what you compiled after Xrender?  Or do you 
compile Xft or Xft1.0 first?  Do I need both of them?

I got errors compiling fontconfig.  Looks like code problems:
 $ make
for d in src fc-cache fc-list fontconfig; do (cd $d && make all); done
make[1]: Entering directory `/folks/salman/fcpackage.2_0/fontconfig/src'
cc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=\"/etc/fonts\" -I.. -I.  
-I/usr/local/include -I/usr/local/include/freetype2  -fPIC -DPIC -c 
fcatomic.c -o fcatomic.o
In file included from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/include/time.h:90,
                 from /usr/include/sys/time.h:410,
                 from /usr/include/sys/select.h:17,
                 from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/include/sys/types.h:278,
                 from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/include/unistd.h:15,
                 from fcint.h:33,
                 from fcatomic.c:46:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:76: parse error before `}'
make[1]: *** [fcatomic.o] Error 1
make[1]: Leaving directory `/folks/salman/fcpackage.2_0/fontconfig/src'
make[1]: Entering directory `/folks/salman/fcpackage.2_0/fontconfig/fc-cache'
cc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=\"/etc/fonts\" -I.. -I.  
-I/usr/local/include -I/usr/local/include/freetype2    -c -o fc-cache.o 
fc-cache.c
In file included from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/include/time.h:90,
                 from /usr/include/sys/time.h:410,
                 from /usr/include/sys/select.h:17,
                 from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/include/sys/types.h:278,
                 from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/include/unistd.h:15,
                 from fc-cache.c:27:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:76: parse error before `}'
make[1]: *** [fc-cache.o] Error 1
make[1]: Leaving directory `/folks/salman/fcpackage.2_0/fontconfig/fc-cache'
make[1]: Entering directory `/folks/salman/fcpackage.2_0/fontconfig/fc-list'
cc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=\"/etc/fonts\" -I.. -I.  
-I/usr/local/include -I/usr/local/include/freetype2    -c -o fc-list.o 
fc-list.c
In file included from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/include/time.h:90,
                 from /usr/include/sys/time.h:410,
                 from /usr/include/sys/select.h:17,
                 from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/include/sys/types.h:278,
                 from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/include/unistd.h:15,
                 from fc-list.c:27:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:76: parse error before `}'
make[1]: *** [fc-list.o] Error 1
make[1]: Leaving directory `/folks/salman/fcpackage.2_0/fontconfig/fc-list'
make[1]: Entering directory 
`/folks/salman/fcpackage.2_0/fontconfig/fontconfig'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/folks/salman/fcpackage.2_0/fontconfig/fontconfig'

I think I need to get on the list for fontconfig.

Salman

*********************
Salman Sheikh
NASA/GSFC
Code 564
Greenbelt, MD 20771
301-286-3763
301-286-0220 (fax)
email : Salman.I.Sheikh@nasa.gov
**************************8