Boost logo

Boost Users :

From: Lothar Werzinger (lothar_at_[hidden])
Date: 2008-04-07 17:49:39


On Monday 07 April 2008, Scott McMurray wrote:
> On Mon, Apr 7, 2008 at 5:33 PM, Germán Diago <germandiago_at_[hidden]> 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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net