Re: [Boost-docs] Do the Boost documentation tools work on Cygwin?

Subject: Re: [Boost-docs] Do the Boost documentation tools work on Cygwin?
From: John Maddock (john_at_[hidden])
Date: 2008-07-04 16:06:11

Boris wrote:
>> According to
>> it's recommended to execute the script
>> tools/boostbook/ for an automatic installation and
>> configuration of the Boost documentation tools. When I try it I get
>> this:
>> $ ../boost_1_35_0/tools/boostbook/
>> .../boost_1_35_0/tools/boostbook/ line 7: $'\r':
>> command not found
>> .../boost_1_35_0/tools/boostbook/ line 16: $'\r':
>> command not found
>> .../boost_1_35_0/tools/boostbook/ line 18: $'\r':
>> command not found
>> .../boost_1_35_0/tools/boostbook/ line 56: syntax
>> error near unexpected token `$'do\r''
>> './boost_1_35_0/tools/boostbook/ line 56: `for
>> dir in $PATH; do

Looks like you have the Win32 .zip file of Boost with \r\n line endings, and
a Cygwin install that expects only \n line endings.

>> As there is a reference to Windows with Cygwin on
>> I expected the script to work on Cygwin. Can anyone tell me if this
>> Cygwin is supported and the script supposed to work on Cygwin?

If you fix the line endings then yes, probably. But it might be easier to
use the Win32 documentation toolchain.

HTH, John.

This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:40 UTC