<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Folks,<div class=""><br class=""></div><div class="">One of the errors claims that local_t is undefined. According to a stackflow entry:</div><div class=""><br class=""></div><div class=""><table style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; border-spacing: 0px; border-collapse: collapse; color: rgb(36, 39, 41); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;" class=""><tbody style="margin: 0px; padding: 0px; border: 0px;" class=""><tr style="margin: 0px; padding: 0px; border: 0px;" class=""><td class="answercell" style="margin: 0px; padding: 0px; border: 0px; vertical-align: top;"></td><td class="votecell" style="margin: 0px; padding: 0px 15px 0px 0px; border: 0px; vertical-align: top;"><div class="vote" style="margin: 0px; padding: 0px; border: 0px; text-align: center; min-width: 46px;"><span itemprop="upvoteCount" class=" vote-count-post" style="margin: 8px 0px; padding: 0px; border: 0px; font-size: 20px; display: block; color: rgb(106, 115, 124);"><br class="Apple-interchange-newline">0</span><a class="vote-down-off" title="This answer is not useful" style="margin: 0px auto 10px; padding: 0px; border: 0px; font-size: 1px; color: rgb(0, 119, 204); cursor: pointer; background-image: url(https://cdn.sstatic.net/Sites/stackoverflow/img/sprites.svg?v=8c1c8cba242e), none; overflow: hidden; display: block; text-indent: -9999em; width: 40px; height: 30px; background-position: 0px -220px; background-repeat: no-repeat no-repeat;">down vote</a></div></td><td class="answercell" style="margin: 0px; padding: 0px; border: 0px; vertical-align: top;"><div class="post-text" itemprop="text" style="margin: 0px 0px 5px; padding: 0px; border: 0px; font-size: 15px; width: 660px; word-wrap: break-word; line-height: 1.3;"><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; clear: both;" class="">I had this same problem on Mac OS X. It was caused by both <code style="margin: 0px; padding: 1px 5px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: rgb(239, 240, 241); white-space: pre-wrap;" class=""><xlocale.h></code> and <code style="margin: 0px; padding: 1px 5px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: rgb(239, 240, 241); white-space: pre-wrap;" class=""><X11/Xlocale.h></code> using <code style="margin: 0px; padding: 1px 5px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: rgb(239, 240, 241); white-space: pre-wrap;" class="">_XLOCALE_H_</code> as the include guard. If something included both, only one of them actually got included. To fix the problem, I edited <code style="margin: 0px; padding: 1px 5px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: rgb(239, 240, 241); white-space: pre-wrap;" class="">/usr/include/X11/Xlocale.h</code> and changed the include guard to <code style="margin: 0px; padding: 1px 5px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: rgb(239, 240, 241); white-space: pre-wrap;" class="">_X11_XLOCALE_H_</code>.</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; clear: both;" class="">This problem was <a href="http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=d0cbf388919364fe6b5b9127f36426eb744090a0" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; color: rgb(0, 89, 153); text-decoration: none; cursor: pointer;" class="">fixed upstream</a> but the fix hasn't yet made it down to Mac OS X.</p><div class=""><br class=""></div><div class=""><br class=""></div></div><table class="fw" style="margin: 0px 0px 4px; padding: 0px; border: 0px; font-size: 13px; border-spacing: 0px; border-collapse: collapse; width: 660px;"><tbody style="margin: 0px; padding: 0px; border: 0px;" class=""><tr style="margin: 0px; padding: 0px; border: 0px;" class=""><td class="vt" style="margin: 0px; padding: 0px; border: 0px; vertical-align: top;"></td></tr></tbody></table></td></tr></tbody></table><div class="">This answer is dated April 17, 2011, so "fix hasn't made it down to Mac OS X" isn't all that hopeful.</div></div><div class=""><br class=""></div><div class="">I don't want to modify OS X headers, since ordinary users should be able to compile in a pinch. This may be particularly</div><div class="">important in the future since the MacTeX group will only support the three most recent versions of OS X. </div><div class=""><br class=""></div><div class="">Dick Koch</div></body></html>