Boost logo

Boost-Build :

From: John Maddock (john_at_[hidden])
Date: 2005-06-25 10:31:46

> 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

HTH, John.


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