[svnbook] r5242 committed - branches/1.8/vi/book/ch01-fundamental-concepts. xml

Chinh Do chinh.d.v at gmail.com
Wed Nov 30 11:28:31 CST 2016


this file is the result of *make clean* 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)

Chinh

On Thu, Dec 1, 2016 at 12:23 AM, C. Michael Pilato <cmpilato at red-bean.com>
wrote:

> 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 ^/branches/1.8/vi/Makefile, I can see that it
> sets:
>
>    L10N_REVISION = r
>
> so your version.xml file *should* contain:
>
>   <!ENTITY svn.l10n_revision "r">
>
> (Notice the value set to "r" instead of the empty string "".)
>
> Not really sure what's going on here.
>
> -- Mike
>
>
> On Wed, Nov 30, 2016 at 11:26 AM, Chinh Do <chinh.d.v at gmail.com> wrote:
>
>> content of the version.xml
>>
>> *<!ENTITY svn.l10n_revision "">*
>> *<!ENTITY svn.date "Wed Nov 30 22:20:34 ICT 2016">*
>>
>>
>> On Wed, Nov 30, 2016 at 11:24 PM, C. Michael Pilato <
>> cmpilato at red-bean.com> wrote:
>>
>>> What is the content of the version.xml file?
>>>
>>> On Wed, Nov 30, 2016 at 10:30 AM, Chinh Do <chinh.d.v at gmail.com> wrote:
>>>
>>>> Thanks!
>>>>
>>>> The compilation now go without the error.
>>>>
>>>> FYI. I still cannot see the version number in the compiled HTML (see
>>>> attached picture)
>>>>
>>>> Chinh
>>>>
>>>>
>>>>
>>>> On Wed, Nov 30, 2016 at 10:17 PM, C. Michael Pilato <
>>>> cmpilato at red-bean.com> wrote:
>>>>
>>>>> The &svn.version; entity (as well as &svn.l10n_revision; and
>>>>> &svn.date;) 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.
>>>>>
>>>>> -- Mike
>>>>>
>>>>> On Wed, Nov 30, 2016 at 5:04 AM, Chinh Do <chinh.d.v at gmail.com> wrote:
>>>>>
>>>>>> Hi Stefan,
>>>>>>
>>>>>> Thanks very much!
>>>>>>
>>>>>> I try to install Xcode and I now can compile the book with *make
>>>>>> all-html* command. However, I have "book/book.xml:57: parser error :
>>>>>> Entity 'svn.version' not defined" message when I compile. If I
>>>>>> remove the "*&svn.version;*" 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 "*Compiled from ....*"
>>>>>>
>>>>>> Could you please also help me on this?
>>>>>>
>>>>>> Thanks,
>>>>>> Chinh
>>>>>>
>>>>>>
>>>>>>>>>>>>
>>>>>>
>>>>>> On Wed, Nov 30, 2016 at 4:12 PM, Stefan Sperling <stsp at stsp.name>
>>>>>> wrote:
>>>>>>
>>>>>>> On Wed, Nov 30, 2016 at 10:36:39AM +0700, Chinh Do wrote:
>>>>>>> > Hi Mike,
>>>>>>> >
>>>>>>> > As said, I'm not familiar with setting this kind of environment
>>>>>>> and I have
>>>>>>> > just failed in doing so for the third times. Could you please help
>>>>>>> me?
>>>>>>> >
>>>>>>> > See in the picture below. At the step 2 at mark A when I tried
>>>>>>> > "./configure" I had "*No such file or directory*". I looked at the
>>>>>>> > directory and I saw that the file is configure.in so I typed "./
>>>>>>> configure.in"
>>>>>>> > and I had syntax error "*./configure.in <http://configure.in>:
>>>>>>> line 1:
>>>>>>> > syntax error near unexpected token `libxslt/xslt.c'*
>>>>>>> > *./configure.in <http://configure.in>: line 1:
>>>>>>> `AC_INIT(libxslt/xslt.c)'*"
>>>>>>> >
>>>>>>> > So, how can I pass this error? If I choose to download pre-build
>>>>>>> binary
>>>>>>> > package, where will I need to put the package into?
>>>>>>> >
>>>>>>> > Thanks!
>>>>>>> >
>>>>>>> > Chinh
>>>>>>>
>>>>>>> Hi Chinh,
>>>>>>>
>>>>>>> it looks as if you're using a Mac with OS X?
>>>>>>>
>>>>>>> It seems libxslt is part of Xcode:
>>>>>>> https://www.apple.com/opensource/ (search for libxslt):
>>>>>>> libxslt libxslt 1.1.24  Mac OS X, Xcode Tools
>>>>>>> Which links to: https://opensource.apple.com/source/libxslt/
>>>>>>>
>>>>>>> Installing Xcode is probably the easiest way to get libxslt on this
>>>>>>> platform.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Stefan
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.red-bean.com/pipermail/svnbook-dev/attachments/20161201/061d5bea/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svn.version.png
Type: image/png
Size: 263861 bytes
Desc: not available
URL: <http://www.red-bean.com/pipermail/svnbook-dev/attachments/20161201/061d5bea/attachment-0002.png>


More information about the svnbook-dev mailing list