Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-06-25 19:52:13

"John Maddock" <john_at_[hidden]> writes:

>> When trying to run by just typing
>> "./" it gives a "bad interpreter error". When
>> using "sh ./" (like in the boost docs), it
>> returns several "unknown command" errors followed by a
>> syntax error near the first defined function in the
>> script (specifying the toolset like "sh ./
>> gcc" shows the same behaviour).
> You can get that with shell scripts if they have *windows line endings*. If
> you got the source from the windows zip file, then you will almost certainly
> need to strip the \r's from the shell script before it'll be accepted by the
> shell (you can do that with the tr command, but I forget the exact
> invocation).

If that's the case, you're better off downloading the .tgz or getting
it directly from CVS. You never know what other problems lurk after
you fix the windows line endings in that one file.

Dave Abrahams
Boost Consulting

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at