I’m not an expert in the internals of the
configure script, but having a quick look at the reported line 231 in there, I’ve got the feeling this can be explained by a typo in the script itself, and is specific to the use of the
-static build option. That part (the whole block/“paragraph” of code in that bit of
configure) only got introduced relatively recently (https://github.com/MRtrix3/mrtrix3/commit/09363c46c2ca838826959535286f048a2764f59e ; Feb 21), and furthermore only got “released” to most of our users last Friday, when the 3rd release candidate (RC3) became available. So I’m not surprised you’d be the first person running into this.
I think this should resolve your issue: open the “
configure” script/file in your main MRtrix3 folder directly in any simple text editor, go to line 231, which should read:
if noshared: build_options.application ('noshared')
…and change this line to:
if noshared: build_options.append ('noshared')
…and save those changes to the file. Then, simply try running
./configure -static -nogui again.
The use of the
-nogui option (or not using it) is not related to this particular issue, but since you’re installing to a cluster, you probably want to supply that option nonetheless. There’s (probably) no use to having
mrview being build and sitting on your cluster, and it would require a few dependencies related to graphical stuff which probably also don’t make a lot of sense to have installed on a cluster.
@jdtournier, correct me if I’m wrong in any of the above. Also, if correct, then this is a bug we’d need to fix of course.