[Fontconfig] Problem compiling for Solaris 8

Roy McMorran mcmorran at mdibl.org
Thu Nov 2 11:02:06 PST 2006

*Keith Packard* keithp at keithp.com 
> On Tue, 2006-09-19 at 15:29 +0300, Peter Gordon wrote:
> >/ And fcaliastail.h contains a lot of #endif lines, but no #ifdefs
> />/ 
> />/ #undef FcBlanksCreate
> />/ extern __typeof (FcBlanksCreate) FcBlanksCreate
> />/ __attribute((alias("IA__FcBlanksCreate"), visibility("default")));
> />/ #endif
> /
> The matching #ifdef statements are supposed to be generated by the
> makealias script with the command: 
> grep -l -w '^'$name "$SRCDIR"/*.c | sed -e 's/^.*\/\([^.]*\)\.c/#ifdef __\1__/' >> $TAIL
> Perhaps this doesn't work on Solaris?

I realize this post is a bit old now, but I had the same problem 
building fontconfig on Solaris (10 in my case) and Keith's hint got me 
headed in the right direction.  Maybe this will help someone...

I built the GNU versions of grep and sed, put them first in my path, 
then re-did the fontconfig configure and make.  This time it built 
fine.  Apparently configure doesn't find (or can't use) use the gsed and 
ggrep that (probably) are installed at /opt/sfw/bin on Solaris.


Roy McMorran
Systems Administrator
MDI Biological Laboratory
mcmorran at mdibl.org

More information about the Fontconfig mailing list