[Fontconfig] Build failure with MinGW/2.10.92

Akira TAGOH akira at tagoh.org
Mon Jan 21 19:13:42 PST 2013


Thanks for the patch. merged after cleaning up warnings etc.


On Sat, Jan 19, 2013 at 7:32 PM, LRN <lrn1986 at gmail.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sat Jan 12 10:17:11 PST 2013 Akira TAGOH wrote:
> > On Sat, Jan 12, 2013 at 4:18 PM, Josh wrote:
> >
> >> I am no longer able to build fontconfig on MinGW:
> >>
> >> $ make make all-recursive make[1]: Entering directory
> >> `/mingw/src/fontconfig-2.10.**91' Making all in fontconfig
> >> make[2]: Entering directory
> >> `/mingw/src/fontconfig-2.10.**91/fontconfig' make[2]: Nothing to
> >> be done for `all'. make[2]: Leaving directory
> >> `/mingw/src/fontconfig-2.10.**91/fontconfig' Making all in
> >> fc-case make[2]: Entering directory
> >> `/mingw/src/fontconfig-2.10.**91/fc-case' make all-am make[3]:
> >> Entering directory `/mingw/src/fontconfig-2.10.**91/fc-case'
> >> make[3]: Nothing to be done for `all-am'. make[3]: Leaving
> >> directory `/mingw/src/fontconfig-2.10.**91/fc-case' make[2]:
> >> Leaving directory `/mingw/src/fontconfig-2.10.**91/fc-case'
> >> Making all in fc-lang make[2]: Entering directory
> >> `/mingw/src/fontconfig-2.10.**91/fc-lang' make all-am make[3]:
> >> Entering directory `/mingw/src/fontconfig-2.10.**91/fc-lang'
> >> make[3]: Nothing to be done for `all-am'. make[3]: Leaving
> >> directory `/mingw/src/fontconfig-2.10.**91/fc-lang' make[2]:
> >> Leaving directory `/mingw/src/fontconfig-2.10.**91/fc-lang'
> >> Making all in fc-glyphname make[2]: Entering directory
> >> `/mingw/src/fontconfig-2.10.**91/fc-glyphname' make all-am
> >> make[3]: Entering directory
> >> `/mingw/src/fontconfig-2.10.**91/fc-glyphname' make[3]: Nothing
> >> to be done for `all-am'. make[3]: Leaving directory
> >> `/mingw/src/fontconfig-2.10.**91/fc-glyphname' make[2]: Leaving
> >> directory `/mingw/src/fontconfig-2.10.**91/fc-glyphname' Making
> >> all in src make[2]: Entering directory
> >> `/mingw/src/fontconfig-2.10.**91/src' make all-am make[3]:
> >> Entering directory `/mingw/src/fontconfig-2.10.**91/src' CC
> >> fccompat.lo fccompat.c: In function 'FcMakeTempfile':
> >> fccompat.c:103:2: error: #error no secure functions to create a
> >> temporary file make[3]: *** [fccompat.lo] Error 1 make[3]:
> >> Leaving directory `/mingw/src/fontconfig-2.10.**91/src' make[2]:
> >> *** [all] Error 2 make[2]: Leaving directory
> >> `/mingw/src/fontconfig-2.10.**91/src' make[1]: ***
> >> [all-recursive] Error 1 make[1]: Leaving directory
> >> `/mingw/src/fontconfig-2.10.**91' make: *** [all] Error 2
> >>
> >> This is the first time I ever had problems with fontconfig. I
> >> link it with MPlayer, apparently the mingw.org toolchain doesn't
> >> have "_MKTEMP_S" yet it worked fine before without it so why is
> >> _MKTEMP_S required now?
> >>
> >> I can't switch to MinGW-w64 for MPlayer even though it's more
> >> updated and probably has it, I would like to, but I run endlessly
> >> into even more errors with MPlayer on those toolchains..
> >
> > Hmm, yeah, I tested it with MinGW-w64 and works fine. will have a
> > look later, to fix this issue.
> >
> >
> Here's a fix.
>
> Also attached a fix for installation.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQEcBAEBAgAGBQJQ+nYjAAoJEOs4Jb6SI2Cwi7sIALPFoA3XbW3pBE9XarL62zyO
> awxdrHthONBnfY3s+lqslkUFS0LDhT5dEhWvdipoJDZcZCdhQuNJBtAQX3Q2u+rU
> J7Ee80rtSkujCuItaNJtpmbxITwE+CPzhQJaO9Y3ueHB+ZZHlmPBkReZYLpb4wZo
> OKjWJRZqS7V34pgHJYoUwYrzttfkXh3G8tFnceVRTXIGmR/ua/sCJtxa/7DXZlGX
> G+mOPKeKUvK2irFX4wezJYeA4FLhODJRddzXOz/fh+l/zRxKjbEuqsiKaduy4MIy
> gsv8zf8j7ZFy4G5bgvZWsPAeaDxdQqDqKASNoXnrhbQrbnr5IAuqpHX3DZuLWhU=
> =W62v
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Fontconfig mailing list
> Fontconfig at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/fontconfig
>
>


-- 
Akira TAGOH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20130122/caa8b421/attachment-0001.html>


More information about the Fontconfig mailing list