<div dir="ltr"><div>'make clean' should actually be <i>deleting</i> the "version.xml" file.  Can you do this:</div><div><br></div><div>$ make clean</div><div>$ rm book/version.xml</div><div>$ make version</div><div><br></div><div>And post the resulting content of book/version.xml?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 30, 2016 at 12:28 PM, Chinh Do <span dir="ltr"><<a href="mailto:chinh.d.v@gmail.com" target="_blank">chinh.d.v@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">this file is the result of <b>make clean</b> and I didn't make any change to it. Maybe  this strange thing happens because I'm running the code in macOS (latest macOS 10.12.1)<span class="HOEnZb"><font color="#888888"><div><br></div><div>Chinh</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 1, 2016 at 12:23 AM, C. Michael Pilato <span dir="ltr"><<a href="mailto:cmpilato@red-bean.com" target="_blank">cmpilato@red-bean.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Okay, so clearly the definition of "svn.version" is missing from your version.xml file.  Now, what I can't quite figure out is how you managed to get a definition for "svn.l10n_revision" without "svn.version", too.  Moreover, when I look at <font face="monospace, monospace">^/branches/1.8/vi/Makefile</font>, I can see that it sets:<div><br></div><div>   L10N_REVISION = r</div><div><br></div><div>so your version.xml file <i>should</i> contain:</div><div><br></div><div>  <!ENTITY svn.l10n_revision "r"></div><div><br></div><div>(Notice the value set to "r" instead of the empty string "".)</div><div><br></div><div>Not really sure what's going on here.</div><div><br></div><div>-- Mike<br><div><br></div></div></div><div class="m_918913147276055710HOEnZb"><div class="m_918913147276055710h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 30, 2016 at 11:26 AM, Chinh Do <span dir="ltr"><<a href="mailto:chinh.d.v@gmail.com" target="_blank">chinh.d.v@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">content of the version.xml<div><br><div><div><b><!ENTITY svn.l10n_revision ""></b></div><div><b><!ENTITY svn.date "Wed Nov 30 22:20:34 ICT 2016"></b></div></div><div><br></div></div></div><div class="m_918913147276055710m_-8063273220524510015HOEnZb"><div class="m_918913147276055710m_-8063273220524510015h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 30, 2016 at 11:24 PM, C. Michael Pilato <span dir="ltr"><<a href="mailto:cmpilato@red-bean.com" target="_blank">cmpilato@red-bean.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What is the content of the version.xml file?</div><div class="m_918913147276055710m_-8063273220524510015m_-4063670766925234400HOEnZb"><div class="m_918913147276055710m_-8063273220524510015m_-4063670766925234400h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 30, 2016 at 10:30 AM, Chinh Do <span dir="ltr"><<a href="mailto:chinh.d.v@gmail.com" target="_blank">chinh.d.v@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks!<div><br></div><div>The compilation now go without the error. </div><div><br></div><div>FYI. I still cannot see the version number in the compiled HTML (see attached picture)</div><span class="m_918913147276055710m_-8063273220524510015m_-4063670766925234400m_-7237969713411577143HOEnZb"><font color="#888888"><div><br></div><div>Chinh</div><div><br></div><div><br></div></font></span></div><div class="m_918913147276055710m_-8063273220524510015m_-4063670766925234400m_-7237969713411577143HOEnZb"><div class="m_918913147276055710m_-8063273220524510015m_-4063670766925234400m_-7237969713411577143h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 30, 2016 at 10:17 PM, C. Michael Pilato <span dir="ltr"><<a href="mailto:cmpilato@red-bean.com" target="_blank">cmpilato@red-bean.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The <font face="monospace, monospace">&svn.version;</font> entity (as well as <font face="monospace, monospace">&svn.l10n_revision;</font> and <font face="monospace, monospace">&svn.date;</font>) is defined in a file that the build process creates named "version.xml".  This file is supposed to be created automatically as a dependency of the various main 'make' commands ('make all-html', 'make pdf', etc.), but you can manually trigger the creation of this file using 'make version'.  Now that you've worked out some of the kinks of the build system, you might also consider doing 'make clean' first and then 'make all-html' again to see if things go better this time around.<div><br></div><div>-- Mike</div></div><div class="m_918913147276055710m_-8063273220524510015m_-4063670766925234400m_-7237969713411577143m_3808196470464216994HOEnZb"><div class="m_918913147276055710m_-8063273220524510015m_-4063670766925234400m_-7237969713411577143m_3808196470464216994h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 30, 2016 at 5:04 AM, Chinh Do <span dir="ltr"><<a href="mailto:chinh.d.v@gmail.com" target="_blank">chinh.d.v@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Stefan,<div><br></div><div>Thanks very much!</div><div><br></div><div>I try to install Xcode and I now can compile the book with <b>make all-html</b> command. However, I have "<span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:menlo;font-size:11px">book/book.xml:57: parser error : Entity 'svn.version' not defined</span>" message when I compile. If I remove the "<b>&svn.version;</b>" from the file book.xml then the compile process run well but of course the final HTML is without SVN version information in the sentence "<b>Compiled from ....</b>"</div><div><br></div><div>Could you please also help me on this?</div><div><br></div><div>Thanks,</div><div>Chinh</div>







<div><br></div><div><img src="cid:ii_iw4rhocv0_158b4ada1efa55fc" width="562" height="433"><br>​<br><div><br></div></div></div><div class="m_918913147276055710m_-8063273220524510015m_-4063670766925234400m_-7237969713411577143m_3808196470464216994m_-698373755364002275HOEnZb"><div class="m_918913147276055710m_-8063273220524510015m_-4063670766925234400m_-7237969713411577143m_3808196470464216994m_-698373755364002275h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 30, 2016 at 4:12 PM, Stefan Sperling <span dir="ltr"><<a href="mailto:stsp@stsp.name" target="_blank">stsp@stsp.name</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Wed, Nov 30, 2016 at 10:36:39AM +0700, Chinh Do wrote:<br>
> Hi Mike,<br>
><br>
> As said, I'm not familiar with setting this kind of environment and I have<br>
> just failed in doing so for the third times. Could you please help me?<br>
><br>
> See in the picture below. At the step 2 at mark A when I tried<br>
</span>> "./configure" I had "*No such file or directory*". I looked at the<br>
<span>> directory and I saw that the file is <a href="http://configure.in" rel="noreferrer" target="_blank">configure.in</a> so I typed "./<a href="http://configure.in" rel="noreferrer" target="_blank">configure.in</a>"<br>
</span>> and I had syntax error "*./<a href="http://configure.in" rel="noreferrer" target="_blank">configure.in</a> <<a href="http://configure.in" rel="noreferrer" target="_blank">http://configure.in</a>>: line 1:<br>
> syntax error near unexpected token `libxslt/xslt.c'*<br>
> *./<a href="http://configure.in" rel="noreferrer" target="_blank">configure.in</a> <<a href="http://configure.in" rel="noreferrer" target="_blank">http://configure.in</a>>: line 1: `AC_INIT(libxslt/xslt.c)'*"<br>
<span>><br>
> So, how can I pass this error? If I choose to download pre-build binary<br>
> package, where will I need to put the package into?<br>
><br>
</span>> Thanks!<br>
><br>
> Chinh<br>
<br>
Hi Chinh,<br>
<br>
it looks as if you're using a Mac with OS X?<br>
<br>
It seems libxslt is part of Xcode:<br>
<a href="https://www.apple.com/opensource/" rel="noreferrer" target="_blank">https://www.apple.com/opensour<wbr>ce/</a> (search for libxslt):<br>
libxslt libxslt 1.1.24  Mac OS X, Xcode Tools<br>
Which links to: <a href="https://opensource.apple.com/source/libxslt/" rel="noreferrer" target="_blank">https://opensource.apple.com/s<wbr>ource/libxslt/</a><br>
<br>
Installing Xcode is probably the easiest way to get libxslt on this platform.<br>
<br>
Cheers,<br>
Stefan<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>