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


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:keiths@redhat.com] 
Sent: Wednesday, September 05, 2012 3:26 PM
To: RAYAPROL Raja
Cc: insight@sourceware.org
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

Attachment: smime.p7s
Description: S/MIME cryptographic signature


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