*Keith Packard* keithp at keithp.com
<mailto:fontconfig%40lists.freedesktop.org?Subject=%5BFontconfig%5D%20Problem%20compiling%20for%20Solaris%208&In-Reply-To=1158668948.2677.14.camel%40tigger>
wrote:
On Tue, 2006-09-19 at 15:29 +0300, Peter Gordon wrote:
>/ And fcaliastail.h contains a lot of #endif lines, but no #ifdefs
/>/
/>/ #if HAVE_GNUC_ATTRIBUTE
/>/ #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@xxxxxxxxx
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig