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
>> http://www.boost.org/doc/libs/1_35_0/doc/html/boostbook/getting/started.html
>> it's recommended to execute the script
>> tools/boostbook/setup_boostbook.sh for an automatic installation and
>> configuration of the Boost documentation tools. When I try it I get
>> this:
>>
>> $ ../boost_1_35_0/tools/boostbook/setup_boostbook.sh
>> .../boost_1_35_0/tools/boostbook/setup_boostbook.sh: line 7: $'\r':
>> command not found
>> .../boost_1_35_0/tools/boostbook/setup_boostbook.sh: line 16: $'\r':
>> command not found
>> .../boost_1_35_0/tools/boostbook/setup_boostbook.sh: line 18: $'\r':
>> command not found
>> .../boost_1_35_0/tools/boostbook/setup_boostbook.sh: line 56: syntax
>> error near unexpected token `$'do\r''
>> './boost_1_35_0/tools/boostbook/setup_boostbook.sh: 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
>> http://www.boost.org/doc/libs/1_35_0/doc/html/boostbook/getting/started.html
>> 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