I am trying to install CInt. When running ./configure
, I get the following error:
./configure: 23: ./configure: Syntax error: "(" unexpected
Here is the relevant section of configure
:
# configure settings to build CINT
ARCHS=(linux linuxicc macgcc djgpp cygwin mingw mwerks hpux aix msvc7 msvc8 solaris solarisgcc)
What is wrong with the above syntax?
Best Answer
There is nothing wrong with that syntax if the shell supports arrays. Most likely the script starts with
#!/bin/sh
and wrongly uses specific shell features such as bash. If the shebang is#!/bin/sh
, change it to#!/bin/bash
and report the problem to theCINT
developers.