
8 Apr
2008
8 Apr
'08
8:15 a.m.
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
Did you install from the .zip file? That has all the files in \r\n Windows format, while the .tar.gz version has all Unix line endings which is what you need. HTH, John.