Re: cannot build on RHEL 6

Carl Lowenstein <[email protected]> Wed, 5 Sep 2012 13:18:03 -0700
Newsgroups gmane.comp.debugging.insight
Message-ID <CAOgEH+N4e=KiiQhdOMOX-RGv=dUWSHHexw02oGDzJ83zVERB6w@mail.gmail.com>
On Wed, Sep 5, 2012 at 12:43 PM, RAYAPROL Raja <[email protected]> wrote:
> Keith,
>
> If I go to the source file directory (/tmp/insight-6.8) and issue
> ./configure, all I get is
>
> -bash: ./configure /bin/sh^M: bad interpreter: No such file or directory
>

Your source file (/.configure) must have originated from a
Windows-type system, which uses control-M (^M) as part of the line
terminator.  So when the script is interpreted by bash, it tries to
find a file named "/bin/sh^M" which doesn't exist.

Google search for "bad interpreter" will give you plenty of advice
about how to cure this problem.

    carl
-- 
    carl lowenstein         marine physical lab     u.c. san diego
                                                 [email protected]