RE: cannot build on RHEL 6

RAYAPROL Raja <[email protected]> Wed, 5 Sep 2012 22:22:11 +0200
Newsgroups gmane.comp.debugging.insight
Message-ID <514883D0F12DEF4788558064C95ECAA332B29C26F5@BE-EXCHANGE-09.swift.corp>
I read the same comment when I googled my error, but I downloaded the
insight distribution from http://sources.redhat.com/insight/downloads.php
and unzipped it.

Regards,

Raja
____________________________________________________________________________
_____

-----Original Message-----
From: Carl Lowenstein [mailto:[email protected]] 
Sent: Wednesday, September 05, 2012 4:18 PM
To: RAYAPROL Raja
Cc: Keith Seitz; [email protected]
Subject: Re: cannot build on RHEL 6

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]
smime.p7s (application/x-pkcs7-signature, 4.9 KB) - not displayed