This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cannot build on RHEL 6


On Wed, Sep 5, 2012 at 12:43 PM, RAYAPROL Raja <Raja.RAYAPROL@swift.com> 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
                                                 clowenstein@ucsd.edu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]