[Fontconfig] Fontconfig and Solaris compiling woes

Salman Sheikh Salman.I.Sheikh at nasa.gov
Tue Feb 11 03:41:16 EST 2003


Hello,

I got Xrender compiled for my Sparc Solaris but not without difficulties.  I 
ran xmkmf -a and then make and got a complaint about 
a -t option. So, I edited the makefile and removed any occurence of -mt from 
it. I don't know what this is for.  Then I ran make and everything compiled 
down to Xrender.so.* files.  
I proceeded to the fontconfig directory and ran the configure program and get 
the following error (any ideas why?):

magoo(/folks/salman/fcpackage.2_0/fontconfig)422: 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'


Salman

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




More information about the Fontconfig mailing list