Wow, you’re really not having much luck with this… You get full marks for tenacity though!
So the good news is that whatever was failing before seems to be working fine now. This last issue is different again from the previous ones: it looks like ./configure
falls over trying to clean up after itself…
Looking more closely at the log though, I think the issue occurs earlier, probably due to the output of pkg-config
- I’ve certainly had issues with it on MacOSX in the past, whereby it would produce its output using a wide-character encoding. This is really difficult to detect, and I’ve no idea why it happens on some systems and not others. My best guess is it’ll depend on your system’s character encoding, and/or your filesystem’s character encoding…
So, two things to try. I’d really like you to at least try the first one, since if that works I’ll amend the configure
script and hopefully avoid similar issues for others.
Option 1:
Open the configure
script in a text editor, and change line 630 from:
for entry in shlex.split (execute ([ 'pkg-config', '--cflags', 'eigen3' ], RuntimeError)[1]):
to:
flags = ''
for c in execute ([ 'pkg-config', '--cflags', 'eigen3' ], RuntimeError)[1]:
if c is not 0:
flags += c
for entry in shlex.split (flags):
Save the file, and try running it again…
Option 2:
Provide the path to Eigen3 manually, which bypasses the pkg-config
automatic detection step - and so hopefully will avoid the issue:
$ export EIGEN_CFLAGS="-isystem /opt/local/include/eigen3"
$ ./configure
Not ideal, but at least it might allow you to (finally) get MRtrix3 up and running…
And thanks for sticking through it, I appreciate this must be somewhat frustrating…