
On Monday 07 April 2008, Scott McMurray wrote:
On Mon, Apr 7, 2008 at 5:33 PM, Germán Diago
wrote: Hello. I tried to configure boost in order to be able to install it. But the configure archive seems to be broken.
bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory
The output shows a ^M symbol after /bin/sh. It seems to be an encoding problem. So I tried to delete that line and invoke the script with the shell explicitly:
/bin/bash ./configure --prefix=/usr
But I get this error: : command not found: : command not found: : : command not found2: : command not found7:
'/configure: line 29: syntax error near unexpected token `do '/configure: line 29: `do
Any solution, please? Thanks in advance.
- make sure you download the tar file and not the zip file - change the first line of the script from #!/bin/sh to #!/bin/bash see if that helps. Lothar