<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=WordSection1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Gaetan,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I have tried moving, it is gone, but there is a new one like:<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>configure.ac:39: the top level<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>configure:5033: error: possibly undefined macro: m4_ifval<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>      If this token and others are legitimate, please use
m4_pattern_allow.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>      See the Autoconf documentation.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>configure:5037: error: possibly undefined macro: AC_CHECK_FILE<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>autoreconf: /tool/util/.package/autoconf/2.68/bin/autoconf
failed with exit status: 1<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>build.sh: &quot;autogen.sh&quot; failed on doc/xorg-docs<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>build.sh: error processing module/component: 
&quot;doc/xorg-docs&quot;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Fred<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Gaetan Nadon
[mailto:memsize@videotron.ca] <br>
<b>Sent:</b> </span><span lang=ZH-CN style='font-size:10.0pt;font-family:宋体'>星期五</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>, </span><span
lang=ZH-CN style='font-size:10.0pt;font-family:宋体'>四月</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> 29, 2011 19:54<br>
<b>To:</b> Fred Liu<br>
<b>Cc:</b> X.Org Developers<br>
<b>Subject:</b> Re: `PKG_CHECK_MODULES(X, xproto)'?<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>On Thu, 2011-04-28 at 21:22 -0700, Fred Liu wrote: <o:p></o:p></p>

<pre><o:p>&nbsp;</o:p></pre><pre>Hi,<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>I am following the instruction from &quot;Building all modules with the build scripts&quot; to build X11R76 as following:<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>util/modular/build.sh $PREFIX<o:p></o:p></pre><pre>...<o:p></o:p></pre><pre>...<o:p></o:p></pre><pre>./configure: line 4899: syntax error near unexpected token `X,'<o:p></o:p></pre><pre>./configure: line 4899: `PKG_CHECK_MODULES(X, xproto)'<o:p></o:p></pre><pre>build.sh: &quot;autogen.sh&quot; failed on util/makedepend<o:p></o:p></pre><pre>build.sh: error processing module/component:  &quot;util/makedepend&quot;<o:p></o:p></pre><pre>...<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>Any workaround?<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre>

<p class=MsoNormal style='margin-bottom:12.0pt'>Building makedepend was moved
up as it is needed by &quot;mesa&quot;.<br>
It looks it was moved too early, before &quot;proto&quot;.<br>
In build.sh, can you move building makedepend after &quot;build proto&quot;<br>
and check if it corrects the problem?<br>
This problem will only happen on a very clean system.<o:p></o:p></p>

<pre><o:p>&nbsp;</o:p></pre><pre>if [ X&quot;$MODFILE&quot; = X ]; then<o:p></o:p></pre><pre>&nbsp;&nbsp;&nbsp; # We must install the global macros before anything else<o:p></o:p></pre><pre>&nbsp;&nbsp;&nbsp; build util macros<o:p></o:p></pre><pre>&nbsp;&nbsp;&nbsp; build font util<o:p></o:p></pre><pre>&nbsp;&nbsp;&nbsp; # Required by mesa<o:p></o:p></pre><pre>&nbsp;&nbsp;&nbsp; build util makedepend<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>&nbsp;&nbsp;&nbsp; build_doc<o:p></o:p></pre><pre>&nbsp;&nbsp;&nbsp; build_proto<o:p></o:p></pre><pre>&nbsp;&nbsp;&nbsp; build_lib<o:p></o:p></pre><pre>&nbsp;&nbsp;&nbsp; build_mesa<o:p></o:p></pre>

<p class=MsoNormal><br>
<br>
<br>
<br>
<br>
<o:p></o:p></p>

<pre><o:p>&nbsp;</o:p></pre><pre>Many thanks.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>Fred<o:p></o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre><a
href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a>: X.Org development<o:p></o:p></pre><pre>Archives: <a
href="http://lists.x.org/archives/xorg-devel">http://lists.x.org/archives/xorg-devel</a><o:p></o:p></pre><pre>Info: <a
href="http://lists.x.org/mailman/listinfo/xorg-devel">http://lists.x.org/mailman/listinfo/xorg-devel</a><o:p></o:p></pre></div>

</div>

</body>

</html>