RE: cannot build on RHEL 6

RAYAPROL Raja <[email protected]> Wed, 5 Sep 2012 21:43:46 +0200
Newsgroups gmane.comp.debugging.insight
Message-ID <514883D0F12DEF4788558064C95ECAA332B29C26EE@BE-EXCHANGE-09.swift.corp>
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

If I run  bash --debugger ./configure, I get

./configure: line 18: syntax error near unexpected token `elif` 
./configure: line 18: `elif test -n "$(BASH_VERSION+set)" && (set -o posix)
>/dev/null`>&1

Regards,

Raja
____________________________________________________________________________
___________________________
-----Original Message-----
From: Keith Seitz [mailto:[email protected]] 
Sent: Wednesday, September 05, 2012 3:26 PM
To: RAYAPROL Raja
Cc: [email protected]
Subject: Re: cannot build on RHEL 6

On 09/05/2012 12:15 PM, RAYAPROL Raja wrote:
> I copied the source directories to a RHEL 6 machine and ran configure. I
got
> a vague error about a bad interpreter.

A build log would be mighty useful:

$ /path/to/src/configure [options] 2>&1 | tee config.out

If you are /not/ using in-tree Tcl, Tk, and Itcl, you need to have 
tcl-devel, tk-devel, itcl-devel, and iwidgets installed.

What is your architecture? 64-bit? If so, you may need additional 
configure patches (which I can forward or work to commit once and for all).

Keith
smime.p7s (application/x-pkcs7-signature, 4.9 KB) - not displayed