<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Dear All<br><br>I was hoping some one might have a bit of advise about installation of mrtrix3 on Max OSX 10.85.<br><br>Following the instructions on the wiki I get to the ./configure stage and then get the message below:<br><br><br><br>MRtrix build type requested: release<br><br>Checking C++ compiler [g++]: 4.2.1 - tested ok<br>Detecting OS: darwin<br>Detecting pointer size: 64 bit<br>Detecting byte order: little-endian<br>Checking for unordered_map: no<br><br><br>Checking for TR1 unordered_map: present<br>Checking for 64-bit integer type: yes<br>Checking for variable-length array support: yes<br>Checking for non-POD variable-length array support: no<br>Checking for zlib compression library: 1.2.5<br>Checking for POSIX threads: yes<br>Checking for GNU Scientific Library: Traceback (most recent call last):<br>&nbsp; File "./configure", line 664, in &lt;module&gt;<br>&nbsp;&nbsp;&nbsp; ''', cpp_flags + gsl_cflags, ld_flags + gsl_ldflags)<br>&nbsp; File "./configure", line 320, in compile<br>&nbsp;&nbsp;&nbsp; execute (cmd, CompileError)<br>&nbsp; File "./configure", line 287, in execute<br>&nbsp;&nbsp;&nbsp; process = subprocess.Popen (cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=cwd)<br>&nbsp; File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 679, in __init__<br>&nbsp;&nbsp;&nbsp; errread, errwrite)<br>&nbsp; File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1228, in _execute_child<br>&nbsp;&nbsp;&nbsp; raise child_exception<br>TypeError: execv() arg 2 must contain only strings<br><br><br><br>Can anywhere suggestion where it's going wrong? <br><br>The full configure.log reads:<br><br><br>REPORT: <br>MRtrix build type requested:<br><br>REPORT: release<br><br>REPORT: <br><br>REPORT: Checking C++ compiler [g++]:<br>EXEC &lt;&lt;<br>CMD: g++ -dumpversion<br>EXIT: 0<br>STDOUT:<br>4.2.1<br>&gt;&gt;<br><br><br>REPORT: 4.2.1<br><br>COMPILE /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmp3BM9Ed.cpp:<br>---<br>int main() { return (0); }<br>---<br>EXEC &lt;&lt;<br>CMD: g++ -c /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmp3BM9Ed.cpp -o /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmp3BM9Ed.o<br>EXIT: 0<br>&gt;&gt;<br><br>EXEC &lt;&lt;<br>CMD: g++ /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmp3BM9Ed.o -o ./a.out<br>EXIT: 0<br>&gt;&gt;<br><br>EXEC &lt;&lt;<br>CMD: ./a.out<br>EXIT: 0<br>&gt;&gt;<br><br><br>REPORT:&nbsp; - tested ok<br><br>REPORT: Detecting OS: darwin<br><br>REPORT: Detecting pointer size:<br><br>COMPILE /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmp0faCCk.cpp:<br>---<br><br>#include &lt;iostream&gt;<br>int main() { <br>&nbsp; std::cout &lt;&lt; sizeof(void*); <br>&nbsp; return (0);<br>}<br><br>---<br>EXEC &lt;&lt;<br>CMD: g++ -c -DMRTRIX_MACOSX -fPIC /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmp0faCCk.cpp -o /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmp0faCCk.o<br>EXIT: 0<br>&gt;&gt;<br><br>EXEC &lt;&lt;<br>CMD: g++ /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmp0faCCk.o -o ./a.out<br>EXIT: 0<br>&gt;&gt;<br><br>EXEC &lt;&lt;<br>CMD: ./a.out<br>EXIT: 0<br>STDOUT:<br>8<br>&gt;&gt;<br><br><br>REPORT: 64 bit<br><br>REPORT: Detecting byte order:<br><br>REPORT: little-endian<br><br>REPORT: Checking for unordered_map:<br><br>COMPILE /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpsepkJK.cpp:<br>---<br><br>#include &lt;unordered_map&gt;<br><br>int main() { <br>&nbsp; std::unordered_map&lt;int,int&gt; map; <br>&nbsp; return (map.size());<br>}<br><br>---<br>EXEC &lt;&lt;<br>CMD: g++ -c -DMRTRIX_MACOSX -fPIC -DMRTRIX_WORD64 /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpsepkJK.cpp -o /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpsepkJK.o<br>EXIT: 1<br>STDERR:<br>/var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpsepkJK.cpp:2:10: fatal error: 'unordered_map' file not found<br>#include &lt;unordered_map&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br>1 error generated.<br>&gt;&gt;<br><br>error deleting temporary file "/var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpsepkJK.o": No such file or directory<br>REPORT: no<br><br>REPORT: Checking for TR1 unordered_map:<br><br>COMPILE /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpmO11Nk.cpp:<br>---<br><br>#include &lt;tr1/unordered_map&gt;<br><br>int main() { <br>&nbsp; std::tr1::unordered_map&lt;int,int&gt; map; <br>&nbsp; return (map.size());<br>}<br><br>---<br>EXEC &lt;&lt;<br>CMD: g++ -c -DMRTRIX_MACOSX -fPIC -DMRTRIX_WORD64 /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpmO11Nk.cpp -o /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpmO11Nk.o<br>EXIT: 0<br>&gt;&gt;<br><br>EXEC &lt;&lt;<br>CMD: g++ /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpmO11Nk.o -o ./a.out<br>EXIT: 0<br>&gt;&gt;<br><br>EXEC &lt;&lt;<br>CMD: ./a.out<br>EXIT: 0<br>&gt;&gt;<br><br><br>REPORT: present<br><br>REPORT: Checking for 64-bit integer type:<br><br>COMPILE /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpBYDEbz.cpp:<br>---<br><br>#include &lt;stdint.h&gt;<br><br>int main() { <br>&nbsp; int64_t t = 0; <br>&nbsp; return (t); <br>}<br><br>---<br>EXEC &lt;&lt;<br>CMD: g++ -c -DMRTRIX_MACOSX -fPIC -DMRTRIX_WORD64 -DMRTRIX_USE_TR1 /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpBYDEbz.cpp -o /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpBYDEbz.o<br>EXIT: 0<br>&gt;&gt;<br><br>EXEC &lt;&lt;<br>CMD: g++ /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpBYDEbz.o -o ./a.out<br>EXIT: 0<br>&gt;&gt;<br><br>EXEC &lt;&lt;<br>CMD: ./a.out<br>EXIT: 0<br>&gt;&gt;<br><br><br>REPORT: yes<br><br>REPORT: Checking for variable-length array support:<br><br>COMPILE /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpBp048Z.cpp:<br>---<br><br><br>int main(int argc, char* argv[]) { <br>&nbsp; int x[argc];<br>&nbsp; return 0; <br>}<br><br>---<br>EXEC &lt;&lt;<br>CMD: g++ -c -DMRTRIX_MACOSX -fPIC -DMRTRIX_WORD64 -DMRTRIX_USE_TR1 /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpBp048Z.cpp -o /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpBp048Z.o<br>EXIT: 0<br>&gt;&gt;<br><br>EXEC &lt;&lt;<br>CMD: g++ /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpBp048Z.o -o ./a.out<br>EXIT: 0<br>&gt;&gt;<br><br>EXEC &lt;&lt;<br>CMD: ./a.out<br>EXIT: 0<br>&gt;&gt;<br><br><br>REPORT: yes<br><br>REPORT: Checking for non-POD variable-length array support:<br><br>COMPILE /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpyT8mR_.cpp:<br>---<br><br>#include &lt;string&gt;<br><br>class X {<br>&nbsp; int x;<br>&nbsp; double y;<br>&nbsp; std::string s;<br>};<br><br>int main(int argc, char* argv[]) { <br>&nbsp; X x[argc];<br>&nbsp; return 0; <br>}<br><br>---<br>EXEC &lt;&lt;<br>CMD: g++ -c -DMRTRIX_MACOSX -fPIC -DMRTRIX_WORD64 -DMRTRIX_USE_TR1 /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpyT8mR_.cpp -o /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpyT8mR_.o<br>EXIT: 1<br>STDERR:<br>/var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpyT8mR_.cpp:11:6: error: variable length array of non-POD element type 'X'<br>&nbsp; X x[argc];<br>&nbsp;&nbsp;&nbsp;&nbsp; ^<br>1 error generated.<br>&gt;&gt;<br><br>error deleting temporary file "/var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpyT8mR_.o": No such file or directory<br>REPORT: no<br><br>REPORT: Checking for zlib compression library:<br><br>COMPILE /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpZp0WEo.cpp:<br>---<br><br>#include &lt;iostream&gt;<br>#include &lt;zlib.h&gt;<br><br>int main() { <br>&nbsp; std::cout &lt;&lt; zlibVersion(); <br>&nbsp; return (0);<br>}<br><br>---<br>EXEC &lt;&lt;<br>CMD: g++ -c -DMRTRIX_MACOSX -fPIC -DMRTRIX_WORD64 -DMRTRIX_USE_TR1 -DMRTRIX_NO_NON_POD_VLA /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpZp0WEo.cpp -o /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpZp0WEo.o<br>EXIT: 0<br>&gt;&gt;<br><br>EXEC &lt;&lt;<br>CMD: g++ /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpZp0WEo.o -lz -o ./a.out<br>EXIT: 0<br>&gt;&gt;<br><br>EXEC &lt;&lt;<br>CMD: ./a.out<br>EXIT: 0<br>STDOUT:<br>1.2.5<br>&gt;&gt;<br><br><br>REPORT: 1.2.5<br><br>REPORT: Checking for POSIX threads:<br><br>COMPILE /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpVgCVmZ.cpp:<br>---<br><br>#include &lt;pthread.h&gt;<br><br>void* func (void*) { return (NULL); } <br><br>int main() { <br>&nbsp; pthread_t t; <br>&nbsp; if (pthread_create(&amp;t, NULL, func, NULL)) return (1);<br>&nbsp; pthread_exit (NULL); <br>&nbsp; return (0); <br>}<br><br>---<br>EXEC &lt;&lt;<br>CMD: g++ -c -DMRTRIX_MACOSX -fPIC -DMRTRIX_WORD64 -DMRTRIX_USE_TR1 -DMRTRIX_NO_NON_POD_VLA /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpVgCVmZ.cpp -o /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpVgCVmZ.o<br>EXIT: 0<br>&gt;&gt;<br><br>EXEC &lt;&lt;<br>CMD: g++ /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpVgCVmZ.o -lz -lpthread -o ./a.out<br>EXIT: 0<br>&gt;&gt;<br><br>EXEC &lt;&lt;<br>CMD: ./a.out<br>EXIT: 0<br>&gt;&gt;<br><br><br>REPORT: yes<br><br>REPORT: Checking for GNU Scientific Library:<br>EXEC &lt;&lt;<br>CMD: gsl-config --cflags<br>EXIT: 0<br>STDOUT:<br>-I/opt/local/include<br>&gt;&gt;<br><br>EXEC &lt;&lt;<br>CMD: gsl-config --libs<br>EXIT: 0<br>STDOUT:<br>-L/opt/local/lib -lgsl -lgslcblas<br>&gt;&gt;<br><br><br>COMPILE /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpb6eI_g.cpp:<br>---<br><br>#include &lt;iostream&gt;<br>#include &lt;gsl/gsl_version.h&gt;<br>#include &lt;gsl/gsl_matrix.h&gt;<br><br>int main() { <br>&nbsp; std::cout &lt;&lt; gsl_version; <br>&nbsp; gsl_matrix* M = gsl_matrix_alloc (3,3); <br>&nbsp; return (M-&gt;size1 != 3);<br>}<br><br>---<br>EXEC &lt;&lt;<br>CMD: g++ -c -DMRTRIX_MACOSX -fPIC -DMRTRIX_WORD64 -DMRTRIX_USE_TR1 -DMRTRIX_NO_NON_POD_VLA -I/opt/local/include /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpb6eI_g.cpp -o /var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpb6eI_g.o<br>error deleting temporary file "/var/folders/s3/4fmdnjr133j55ws3y7pl7c_h0000gn/T/tmpb6eI_g.o": No such file or directory <br><br><br>Many thanks in advance and apologies for the long post<br><br>Dan<br>                                               </div></body>
</html>